Class ProductTerm
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.ProductTerm
Description of a productTerm linked to this product. This represent a commitment with a duration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) description(String description) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity nameDescription of the productTerm@Valid QuantityGet durationgetName()Name of the productTerm@Valid TimePeriodGet validForinthashCode()voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetDescription(String description) voidsetDuration(Quantity duration) voidvoidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
ProductTerm
public ProductTerm()
-
-
Method Details
-
description
-
getDescription
Description of the productTerm- Returns:
- description
-
setDescription
-
name
-
getName
Name of the productTerm- Returns:
- name
-
setName
-
duration
-
getDuration
Get duration- Returns:
- duration
-
setDuration
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-