Class ProductTerm
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ProductTerm
This represent a commitment with a duration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanIndicate the class (type) of the product termDescription of the commitment term@Valid QuantityGet durationgetName()Name of the commitment term@Valid TimePeriodGet validForinthashCode()voidvoidsetDescription(String description) voidsetDuration(Quantity duration) voidvoidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
ProductTerm
public ProductTerm()
-
-
Method Details
-
name
-
getName
Name of the commitment term- Returns:
- name
-
setName
-
description
-
getDescription
Description of the commitment term- Returns:
- description
-
setDescription
-
duration
-
getDuration
Get duration- Returns:
- duration
-
setDuration
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
atType
-
getAtType
Indicate the class (type) of the product term- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-