java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.AgreementItem

public class AgreementItem extends Object
A part of the agreement expressed in terms of a product offering and possibly including specific terms and conditions.
  • Constructor Details

    • AgreementItem

      public AgreementItem()
  • Method Details

    • product

      public AgreementItem product(List<ProductRef> product)
    • addProductItem

      public AgreementItem addProductItem(ProductRef productItem)
    • getProduct

      @Valid public @Valid List<ProductRef> getProduct()
      The list of products indirectly referred by this agreement item (since an agreement item refers primarily to product offerings)
      Returns:
      product
    • setProduct

      public void setProduct(List<ProductRef> product)
    • productOffering

      public AgreementItem productOffering(List<ProductOfferingRef> productOffering)
    • addProductOfferingItem

      public AgreementItem addProductOfferingItem(ProductOfferingRef productOfferingItem)
    • getProductOffering

      @Valid public @Valid List<ProductOfferingRef> getProductOffering()
      The list of product offerings referred by this agreement item
      Returns:
      productOffering
    • setProductOffering

      public void setProductOffering(List<ProductOfferingRef> productOffering)
    • termOrCondition

      public AgreementItem termOrCondition(List<AgreementTermOrCondition> termOrCondition)
    • addTermOrConditionItem

      public AgreementItem addTermOrConditionItem(AgreementTermOrCondition termOrConditionItem)
    • getTermOrCondition

      @Valid public @Valid List<AgreementTermOrCondition> getTermOrCondition()
      Get termOrCondition
      Returns:
      termOrCondition
    • setTermOrCondition

      public void setTermOrCondition(List<AgreementTermOrCondition> termOrCondition)
    • atBaseType

      public AgreementItem atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public AgreementItem atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public AgreementItem atType(String atType)
    • getAtType

      public String getAtType()
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object