Class OrderTerm
- java.lang.Object
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.dto.OrderTerm
-
@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2020-06-25T12:53:59.275Z") public class OrderTerm extends java.lang.ObjectDescription of a productTerm linked to this orderItem. This represent a commitment with a duration. Duration or name must be provided.
-
-
Constructor Summary
Constructors Constructor Description OrderTerm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderTermattype(java.lang.String attype)OrderTermdescription(java.lang.String description)OrderTermduration(Quantity duration)booleanequals(java.lang.Object o)java.lang.StringgetAttype()Indicated the type of Term.java.lang.StringgetDescription()Description of the productOrderTerm.@Valid QuantitygetDuration()Get durationjava.lang.StringgetName()Name of the productOrderTerm.inthashCode()OrderTermname(java.lang.String name)voidsetAttype(java.lang.String attype)voidsetDescription(java.lang.String description)voidsetDuration(Quantity duration)voidsetName(java.lang.String name)java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-