Class ProductTerm
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ProductTerm
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
date="2022-10-21T20:34:47.671Z")
public class ProductTerm
extends Object
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
-