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

@Validated @Generated(value="de.hybris.platform.tuawebservicesresources.swagger.TmaCodegen", date="2022-10-21T20:35:04.698Z") public class ProductTerm extends Object
Description of a productTerm linked to this product. This represent a commitment with a duration
  • Constructor Details

    • ProductTerm

      public ProductTerm()
  • Method Details

    • description

      public ProductTerm description(String description)
    • getDescription

      public String getDescription()
      Description of the productTerm
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • name

      public ProductTerm name(String name)
    • getName

      public String getName()
      Name of the productTerm
      Returns:
      name
    • setName

      public void setName(String name)
    • duration

      public ProductTerm duration(Quantity duration)
    • getDuration

      @Valid public @Valid Quantity getDuration()
      Duration of the productTerm
      Returns:
      duration
    • setDuration

      public void setDuration(Quantity duration)
    • validFor

      public ProductTerm validFor(TimePeriod validFor)
    • getValidFor

      @Valid public @Valid TimePeriod getValidFor()
      productTerm validity period
      Returns:
      validFor
    • setValidFor

      public void setValidFor(TimePeriod validFor)
    • atbaseType

      public ProductTerm 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 ProductTerm 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 ProductTerm 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