Class Product
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.dto.Product
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
date="2022-10-21T20:34:51.201Z")
public class Product
extends Object
A Product represents the subscription of a ProductOffering by a Party playing a PartyRole, such as a Customer. For example, Jean has subscribed to company ABC�s internet ProductOffering. The association between ProductSpecification and Product allows ProductSpecification, to be instantiated as Product and related to customers or other involved parties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAgreementItem(AgreementItemRef agreementItem) addPlaceItem(Place placeItem) addProductCharacteristicItem(ProductCharacteristic productCharacteristicItem) addProductItem(ProductRef productItem) addProductOrderItemItem(RelatedProductOrderItem productOrderItemItem) addProductPriceItem(ProductPrice productPriceItem) addProductRelationshipItem(ProductRelationship productRelationshipItem) addProductTermItem(ProductTerm productTermItem) addRealizingResourceItem(ResourceRef realizingResourceItem) addRealizingServiceItem(ServiceRef realizingServiceItem) addRelatedPartyItem(RelatedPartyRef relatedPartyItem) agreement(List<AgreementItemRef> agreement) atbaseType(String atbaseType) atschemaLocation(String atschemaLocation) billingAccount(Object billingAccount) description(String description) boolean@Valid List<AgreementItemRef>Get agreementIndicates the base type of the resource.A link to the schema describing this REST resource.Indicated the type of resource.Get billingAccountThe description of the product.getHref()Reference of the productgetId()Unique identifier of the productgetName()The name of the product.@Valid DateThe date from which the product startsgetPlace()Get place@Valid List<ProductRef>Get product@Valid List<ProductCharacteristic>Get productCharacteristicGet productOffering@Valid List<RelatedProductOrderItem>Get productOrderItem@Valid List<ProductPrice>Get productPrice@Valid List<ProductRelationship>Get productRelationshipSerial number for the product.Get productSpecification@Valid List<ProductTerm>Get productTerm@Valid List<ResourceRef>Get realizingResource@Valid List<ServiceRef>Get realizingService@Valid List<RelatedPartyRef>Get relatedParty@Valid DateThe date from which the product startsGet status@Valid DateThe date when the product was terminated.inthashCode()isCustomerVisible(Boolean isCustomerVisible) If true, the product is a ProductBundle which is an instantiation of a BundledProductOffering.If true, the product is visible by the customerproduct(List<ProductRef> product) productCharacteristic(List<ProductCharacteristic> productCharacteristic) productOffering(ProductOfferingRef productOffering) productOrderItem(List<RelatedProductOrderItem> productOrderItem) productPrice(List<ProductPrice> productPrice) productRelationship(List<ProductRelationship> productRelationship) productSerialNumber(String productSerialNumber) productSpecification(ProductSpecification productSpecification) productTerm(List<ProductTerm> productTerm) realizingResource(List<ResourceRef> realizingResource) realizingService(List<ServiceRef> realizingService) relatedParty(List<RelatedPartyRef> relatedParty) voidsetAgreement(List<AgreementItemRef> agreement) voidsetAtbaseType(String atbaseType) voidsetAtschemaLocation(String atschemaLocation) voidvoidsetBillingAccount(Object billingAccount) voidsetDescription(String description) voidvoidvoidsetIsBundle(Boolean isBundle) voidsetIsCustomerVisible(Boolean isCustomerVisible) voidvoidsetOrderDate(Date orderDate) voidvoidsetProduct(List<ProductRef> product) voidsetProductCharacteristic(List<ProductCharacteristic> productCharacteristic) voidsetProductOffering(ProductOfferingRef productOffering) voidsetProductOrderItem(List<RelatedProductOrderItem> productOrderItem) voidsetProductPrice(List<ProductPrice> productPrice) voidsetProductRelationship(List<ProductRelationship> productRelationship) voidsetProductSerialNumber(String productSerialNumber) voidsetProductSpecification(ProductSpecification productSpecification) voidsetProductTerm(List<ProductTerm> productTerm) voidsetRealizingResource(List<ResourceRef> realizingResource) voidsetRealizingService(List<ServiceRef> realizingService) voidsetRelatedParty(List<RelatedPartyRef> relatedParty) voidsetStartDate(Date startDate) voidsetStatus(StatusType status) voidsetTerminationDate(Date terminationDate) status(StatusType status) terminationDate(Date terminationDate) toString()
-
Constructor Details
-
Product
public Product()
-
-
Method Details
-
id
-
getId
Unique identifier of the product- Returns:
- id
-
setId
-
href
-
getHref
Reference of the product- Returns:
- href
-
setHref
-
description
-
getDescription
The description of the product. It could be copied from the description of the Product Offering.- Returns:
- description
-
setDescription
-
isBundle
-
isIsBundle
If true, the product is a ProductBundle which is an instantiation of a BundledProductOffering. If false, the product is a ProductComponent which is an instantiation of a SimpleProductOffering- Returns:
- isBundle
-
setIsBundle
-
isCustomerVisible
-
isIsCustomerVisible
If true, the product is visible by the customer- Returns:
- isCustomerVisible
-
setIsCustomerVisible
-
name
-
getName
The name of the product. It could be the same as the name of the Product Offering- Returns:
- name
-
setName
-
orderDate
-
getOrderDate
The date from which the product starts- Returns:
- orderDate
-
setOrderDate
-
productSerialNumber
-
getProductSerialNumber
Serial number for the product. This is typically applicable to tangible products e.g. Broadband Router.- Returns:
- productSerialNumber
-
setProductSerialNumber
-
startDate
-
getStartDate
The date from which the product starts- Returns:
- startDate
-
setStartDate
-
terminationDate
-
getTerminationDate
The date when the product was terminated. Not applicable to active products- Returns:
- terminationDate
-
setTerminationDate
-
agreement
-
addAgreementItem
-
getAgreement
Get agreement- Returns:
- agreement
-
setAgreement
-
billingAccount
-
getBillingAccount
Get billingAccount- Returns:
- billingAccount
-
setBillingAccount
-
place
-
addPlaceItem
-
getPlace
Get place- Returns:
- place
-
setPlace
-
product
-
addProductItem
-
getProduct
Get product- Returns:
- product
-
setProduct
-
productCharacteristic
-
addProductCharacteristicItem
-
getProductCharacteristic
Get productCharacteristic- Returns:
- productCharacteristic
-
setProductCharacteristic
-
productOffering
-
getProductOffering
Get productOffering- Returns:
- productOffering
-
setProductOffering
-
productOrderItem
-
addProductOrderItemItem
-
getProductOrderItem
Get productOrderItem- Returns:
- productOrderItem
-
setProductOrderItem
-
productPrice
-
addProductPriceItem
-
getProductPrice
Get productPrice- Returns:
- productPrice
-
setProductPrice
-
productRelationship
-
addProductRelationshipItem
-
getProductRelationship
Get productRelationship- Returns:
- productRelationship
-
setProductRelationship
-
productSpecification
-
getProductSpecification
Get productSpecification- Returns:
- productSpecification
-
setProductSpecification
-
productTerm
-
addProductTermItem
-
getProductTerm
Get productTerm- Returns:
- productTerm
-
setProductTerm
-
realizingResource
-
addRealizingResourceItem
-
getRealizingResource
Get realizingResource- Returns:
- realizingResource
-
setRealizingResource
-
realizingService
-
addRealizingServiceItem
-
getRealizingService
Get realizingService- Returns:
- realizingService
-
setRealizingService
-
addRelatedPartyItem
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
atbaseType
-
getAtbaseType
Indicates the base type of the resource. Here can be 'Product'- Returns:
- atbaseType
-
setAtbaseType
-
attype
-
getAttype
Indicated the type of resource.- Returns:
- attype
-
setAttype
-
atschemaLocation
-
getAtschemaLocation
A link to the schema describing this REST resource.- Returns:
- atschemaLocation
-
setAtschemaLocation
-
equals
-
hashCode
public int hashCode() -
toString
-