Class AgreementItem
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.AgreementItem
A part of the agreement expressed in terms of a product offering and possibly including specific terms and conditions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProductItem(ProductRef productItem) addProductOfferingItem(ProductOfferingRef productOfferingItem) addTermOrConditionItem(AgreementTermOrCondition termOrConditionItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) booleanWhen 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 List<ProductRef>The list of products indirectly referred by this agreement item (since an agreement item refers primarily to product offerings)@Valid List<ProductOfferingRef>The list of product offerings referred by this agreement item@Valid List<AgreementTermOrCondition>Get termOrConditioninthashCode()product(List<ProductRef> product) productOffering(List<ProductOfferingRef> productOffering) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetProduct(List<ProductRef> product) voidsetProductOffering(List<ProductOfferingRef> productOffering) voidsetTermOrCondition(List<AgreementTermOrCondition> termOrCondition) termOrCondition(List<AgreementTermOrCondition> termOrCondition) toString()
-
Constructor Details
-
AgreementItem
public AgreementItem()
-
-
Method Details
-
product
-
addProductItem
-
getProduct
The list of products indirectly referred by this agreement item (since an agreement item refers primarily to product offerings)- Returns:
- product
-
setProduct
-
productOffering
-
addProductOfferingItem
-
getProductOffering
The list of product offerings referred by this agreement item- Returns:
- productOffering
-
setProductOffering
-
termOrCondition
-
addTermOrConditionItem
-
getTermOrCondition
Get termOrCondition- Returns:
- termOrCondition
-
setTermOrCondition
-
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
-