Class Product
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Product
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 TypeMethodDescriptionaddBillingAccountItem(BillingAccountRef billingAccountItem) addCharacteristicItem(ProductCharacteristic characteristicItem) addPlaceItem(Place placeItem) addProductOrderItem(ProductOrderRef productOrderItem) addProductPriceItem(ProductPrice productPriceItem) addProductRelationshipItem(ProductRelationship productRelationshipItem) addProductTermItem(ProductTerm productTermItem) addRealizingResourceItem(RealizingResource realizingResourceItem) addRealizingServiceItem(RealizingService realizingServiceItem) addRelatedPartyItem(RelatedParty relatedPartyItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) billingAccount(List<BillingAccountRef> billingAccount) characteristic(List<ProductCharacteristic> characteristic) description(String description) booleanIndicates the base type of the resource.A link to the schema describing this REST resource.Indicated the type of resource.@Valid List<BillingAccountRef>Get billingAccount@Valid List<ProductCharacteristic>Get characteristicThe description of the product.getHref()Reference of the productgetId()Unique identifier of the productgetName()The name of the product.getPlace()Get place@Valid ProductOfferingRefGet productOffering@Valid List<ProductOrderRef>Get productOrder@Valid List<ProductPrice>Get productPrice@Valid List<ProductRelationship>Get productRelationshipSerial number for the product.@Valid ProductSpecificationGet productSpecification@Valid List<ProductTerm>Get productTerm@Valid List<RealizingResource>Get realizingResource@Valid List<RealizingService>Get realizingService@Valid List<RelatedParty>Get relatedParty@Valid DateThe date from which the product starts@Valid StatusTypeGet 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 customerproductOffering(ProductOfferingRef productOffering) productOrder(List<ProductOrderRef> productOrder) productPrice(List<ProductPrice> productPrice) productRelationship(List<ProductRelationship> productRelationship) productSerialNumber(String productSerialNumber) productSpecification(ProductSpecification productSpecification) productTerm(List<ProductTerm> productTerm) realizingResource(List<RealizingResource> realizingResource) realizingService(List<RealizingService> realizingService) relatedParty(List<RelatedParty> relatedParty) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetBillingAccount(List<BillingAccountRef> billingAccount) voidsetCharacteristic(List<ProductCharacteristic> characteristic) voidsetDescription(String description) voidvoidvoidsetIsBundle(Boolean isBundle) voidsetIsCustomerVisible(Boolean isCustomerVisible) voidvoidvoidsetProductOffering(ProductOfferingRef productOffering) voidsetProductOrder(List<ProductOrderRef> productOrder) voidsetProductPrice(List<ProductPrice> productPrice) voidsetProductRelationship(List<ProductRelationship> productRelationship) voidsetProductSerialNumber(String productSerialNumber) voidsetProductSpecification(ProductSpecification productSpecification) voidsetProductTerm(List<ProductTerm> productTerm) voidsetRealizingResource(List<RealizingResource> realizingResource) voidsetRealizingService(List<RealizingService> realizingService) voidsetRelatedParty(List<RelatedParty> 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
-
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
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
terminationDate
-
getTerminationDate
The date when the product was terminated. Not applicable to active products- Returns:
- terminationDate
-
setTerminationDate
-
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
-
place
-
addPlaceItem
-
getPlace
Get place- Returns:
- place
-
setPlace
-
productOffering
-
getProductOffering
Get productOffering- Returns:
- productOffering
-
setProductOffering
-
productSpecification
-
getProductSpecification
Get productSpecification- Returns:
- productSpecification
-
setProductSpecification
-
characteristic
-
addCharacteristicItem
-
getCharacteristic
Get characteristic- Returns:
- characteristic
-
setCharacteristic
-
productRelationship
-
addProductRelationshipItem
-
getProductRelationship
Get productRelationship- Returns:
- productRelationship
-
setProductRelationship
-
billingAccount
-
addBillingAccountItem
-
getBillingAccount
Get billingAccount- Returns:
- billingAccount
-
setBillingAccount
-
addRelatedPartyItem
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
realizingResource
-
addRealizingResourceItem
-
getRealizingResource
Get realizingResource- Returns:
- realizingResource
-
setRealizingResource
-
realizingService
-
addRealizingServiceItem
-
getRealizingService
Get realizingService- Returns:
- realizingService
-
setRealizingService
-
productPrice
-
addProductPriceItem
-
getProductPrice
Get productPrice- Returns:
- productPrice
-
setProductPrice
-
productOrder
-
addProductOrderItem
-
getProductOrder
Get productOrder- Returns:
- productOrder
-
setProductOrder
-
productTerm
-
addProductTermItem
-
getProductTerm
Get productTerm- Returns:
- productTerm
-
setProductTerm
-
equals
-
hashCode
public int hashCode() -
toString
-