Class TmaProductWsDto
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.dto.subscription.TmaProductWsDto
- All Implemented Interfaces:
Serializable
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.
- Since:
- 1810
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBillingAccountItem(TmaBillingAccountRefWsDto billingAccountItem) addCharacteristicItem(TmaProductCharacteristicWsDto characteristicItem) addPlaceItem(TmaPlaceWsDto placeItem) addProductOrderItem(TmaProductOrderRefWsDto productOrderItem) addProductPriceItem(TmaProductPriceWsDto productPriceItem) addProductRelationshipItem(TmaProductRelationshipWsDto productRelationshipItem) addProductTermItem(TmaProductTermWsDto productTermItem) addRealizingResourceItem(TmaRealizingResourceWsDto realizingResourceItem) addRealizingServiceItem(TmaRealizingServiceWsDto realizingServiceItem) addRelatedPartyItem(TmaRelatedPartyWsDto relatedPartyItem) billingAccount(List<TmaBillingAccountRefWsDto> billingAccount) characteristic(List<TmaProductCharacteristicWsDto> characteristic) description(String description) booleanIndicates the base type of the resource.@Valid List<TmaBillingAccountRefWsDto>Get billingAccount@Valid List<TmaProductCharacteristicWsDto>Get characteristicThe description of the product.getHref()Reference of the product@NotNull StringgetId()Unique identifier of the productgetName()The name of the product.@Valid List<TmaPlaceWsDto>getPlace()Get place@Valid TmaProductOfferingRefWsDtoGet productOffering@Valid List<TmaProductOrderRefWsDto>Get productOrder@Valid List<TmaProductPriceWsDto>Get productPrice@Valid List<TmaProductRelationshipWsDto>Get productRelationshipSerial number for the product.@Valid TmaProductSpecificationWsDtoGet productSpecification@Valid List<TmaProductTermWsDto>Get productTermPublic number associated to the product (msisdn number for mobile line for example)@Valid List<TmaRealizingResourceWsDto>Get realizingResource@Valid List<TmaRealizingServiceWsDto>Get realizingService@Valid List<TmaRelatedPartyWsDto>Get relatedPartyA link to the schema describing this REST resource.The date from which the product starts@Valid TmaStatusTypeWsDtoGet statusThe date when the product was terminated.getType()Indicated the type of resource.@Valid TmaRelatedPartyWsDtogetUser()Get userinthashCode()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 customerplace(List<TmaPlaceWsDto> place) productOffering(TmaProductOfferingRefWsDto productOffering) productOrder(List<TmaProductOrderRefWsDto> productOrder) productPrice(List<TmaProductPriceWsDto> productPrice) productRelationship(List<TmaProductRelationshipWsDto> productRelationship) productSerialNumber(String productSerialNumber) productSpecification(TmaProductSpecificationWsDto productSpecification) productTerm(List<TmaProductTermWsDto> productTerm) publicIdentifier(String publicIdentifier) realizingResource(List<TmaRealizingResourceWsDto> realizingResource) realizingService(List<TmaRealizingServiceWsDto> realizingService) relatedParty(List<TmaRelatedPartyWsDto> relatedParty) schemaLocation(String schemaLocation) voidsetBaseType(String baseType) voidsetBillingAccount(List<TmaBillingAccountRefWsDto> billingAccount) voidsetCharacteristic(List<TmaProductCharacteristicWsDto> characteristic) voidsetDescription(String description) voidvoidvoidsetIsBundle(Boolean isBundle) voidsetIsCustomerVisible(Boolean isCustomerVisible) voidvoidsetPlace(List<TmaPlaceWsDto> place) voidsetProductOffering(TmaProductOfferingRefWsDto productOffering) voidsetProductOrder(List<TmaProductOrderRefWsDto> productOrder) voidsetProductPrice(List<TmaProductPriceWsDto> productPrice) voidsetProductRelationship(List<TmaProductRelationshipWsDto> productRelationship) voidsetProductSerialNumber(String productSerialNumber) voidsetProductSpecification(TmaProductSpecificationWsDto productSpecification) voidsetProductTerm(List<TmaProductTermWsDto> productTerm) voidsetPublicIdentifier(String publicIdentifier) voidsetRealizingResource(List<TmaRealizingResourceWsDto> realizingResource) voidsetRealizingService(List<TmaRealizingServiceWsDto> realizingService) voidsetRelatedParty(List<TmaRelatedPartyWsDto> relatedParty) voidsetSchemaLocation(String schemaLocation) voidsetStartDate(Date startDate) voidsetStatus(TmaStatusTypeWsDto status) voidsetTerminationDate(Date terminationDate) voidvoidsetUser(TmaRelatedPartyWsDto user) status(TmaStatusTypeWsDto status) terminationDate(Date terminationDate) toString()user(TmaRelatedPartyWsDto user)
-
Constructor Details
-
TmaProductWsDto
public TmaProductWsDto()
-
-
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
-
publicIdentifier
-
getPublicIdentifier
Public number associated to the product (msisdn number for mobile line for example)- Returns:
- publicIdentifier
-
setPublicIdentifier
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
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
-
baseType
-
getBaseType
Indicates the base type of the resource. Here can be 'Product'- Returns:
- baseType
-
setBaseType
-
type
-
getType
Indicated the type of resource.- Returns:
- type
-
setType
-
schemaLocation
-
getSchemaLocation
A link to the schema describing this REST resource.- Returns:
- schemaLocation
-
setSchemaLocation
-
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
public TmaProductWsDto addProductRelationshipItem(TmaProductRelationshipWsDto productRelationshipItem) -
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
-