Class OrderTerm


  • @Validated
    @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
               date="2020-06-25T12:53:59.275Z")
    public class OrderTerm
    extends java.lang.Object
    Description of a productTerm linked to this orderItem. This represent a commitment with a duration. Duration or name must be provided.
    • Constructor Detail

      • OrderTerm

        public OrderTerm()
    • Method Detail

      • name

        public OrderTerm name​(java.lang.String name)
      • getName

        public java.lang.String getName()
        Name of the productOrderTerm.
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
      • description

        public OrderTerm description​(java.lang.String description)
      • getDescription

        public java.lang.String getDescription()
        Description of the productOrderTerm.
        Returns:
        description
      • setDescription

        public void setDescription​(java.lang.String description)
      • getDuration

        @Valid
        public @Valid Quantity getDuration()
        Get duration
        Returns:
        duration
      • setDuration

        public void setDuration​(Quantity duration)
      • attype

        public OrderTerm attype​(java.lang.String attype)
      • getAttype

        public java.lang.String getAttype()
        Indicated the type of Term.
        Returns:
        attype
      • setAttype

        public void setAttype​(java.lang.String attype)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object