Class Product
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.Product
A product offering procured by a customer or other interested party playing a party role. A product is realized as one or more service(s) and / or resource(s).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAgreementItem(AgreementItemRef agreementItem) addPlaceItem(RelatedPlaceRefOrValue placeItem) addProductCharacteristicItem(Characteristic productCharacteristicItem) addProductItem(ProductRefOrValue productItem) addProductOrderItemItem(RelatedProductOrderItem productOrderItemItem) addProductPriceItem(ProductPrice productPriceItem) addProductRelationshipItem(ProductRelationship productRelationshipItem) addProductTermItem(ProductTerm productTermItem) addRealizingResourceItem(ResourceRef realizingResourceItem) addRealizingServiceItem(ServiceRef realizingServiceItem) addRelatedPartyItem(RelatedParty relatedPartyItem) agreement(List<AgreementItemRef> agreement) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) billingAccount(BillingAccountRef billingAccount) description(String description) boolean@Valid List<AgreementItemRef>Get agreementWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@Valid BillingAccountRefGet billingAccountIs the description of the product.getHref()Reference of the productgetId()Unique identifier of the productgetName()Name of the product.@Valid DateIs the date when the product was ordered@Valid List<RelatedPlaceRefOrValue>getPlace()Get place@Valid List<ProductRefOrValue>Get product@Valid List<Characteristic>Get productCharacteristic@Valid ProductOfferingRefGet productOffering@Valid List<RelatedProductOrderItem>Get productOrderItem@Valid List<ProductPrice>Get productPrice@Valid List<ProductRelationship>Get productRelationshipIs the serial number for the product.@Valid ProductSpecificationRefGet productSpecification@Valid List<ProductTerm>Get productTerm@Valid List<ResourceRef>Get realizingResource@Valid List<ServiceRef>Get realizingService@Valid List<RelatedParty>Get relatedParty@Valid DateIs the date from which the product starts@Valid ProductStatusTypeGet status@Valid DateIs the date when the product was terminatedinthashCode()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 customer.place(List<RelatedPlaceRefOrValue> place) product(List<ProductRefOrValue> product) productCharacteristic(List<Characteristic> productCharacteristic) productOffering(ProductOfferingRef productOffering) productOrderItem(List<RelatedProductOrderItem> productOrderItem) productPrice(List<ProductPrice> productPrice) productRelationship(List<ProductRelationship> productRelationship) productSerialNumber(String productSerialNumber) productSpecification(ProductSpecificationRef productSpecification) productTerm(List<ProductTerm> productTerm) realizingResource(List<ResourceRef> realizingResource) realizingService(List<ServiceRef> realizingService) relatedParty(List<RelatedParty> relatedParty) voidsetAgreement(List<AgreementItemRef> agreement) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetBillingAccount(BillingAccountRef billingAccount) voidsetDescription(String description) voidvoidvoidsetIsBundle(Boolean isBundle) voidsetIsCustomerVisible(Boolean isCustomerVisible) voidvoidsetOrderDate(Date orderDate) voidsetPlace(List<RelatedPlaceRefOrValue> place) voidsetProduct(List<ProductRefOrValue> product) voidsetProductCharacteristic(List<Characteristic> productCharacteristic) voidsetProductOffering(ProductOfferingRef productOffering) voidsetProductOrderItem(List<RelatedProductOrderItem> productOrderItem) voidsetProductPrice(List<ProductPrice> productPrice) voidsetProductRelationship(List<ProductRelationship> productRelationship) voidsetProductSerialNumber(String productSerialNumber) voidsetProductSpecification(ProductSpecificationRef productSpecification) voidsetProductTerm(List<ProductTerm> productTerm) voidsetRealizingResource(List<ResourceRef> realizingResource) voidsetRealizingService(List<ServiceRef> realizingService) voidsetRelatedParty(List<RelatedParty> relatedParty) voidsetStartDate(Date startDate) voidsetStatus(ProductStatusType status) voidsetTerminationDate(Date terminationDate) status(ProductStatusType 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
Is 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
Name of the product. It could be the same as the name of the product offering- Returns:
- name
-
setName
-
orderDate
-
getOrderDate
Is the date when the product was ordered- Returns:
- orderDate
-
setOrderDate
-
productSerialNumber
-
getProductSerialNumber
Is the serial number for the product. This is typically applicable to tangible products e.g. Broadband Router.- Returns:
- productSerialNumber
-
setProductSerialNumber
-
startDate
-
getStartDate
Is the date from which the product starts- Returns:
- startDate
-
setStartDate
-
terminationDate
-
getTerminationDate
Is the date when the product was terminated- 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
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-