Class ProductTerm
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.ProductTerm
@Validated
@Generated(value="de.hybris.platform.tuawebservicesresources.swagger.TmaCodegen",
date="2022-10-21T20:35:04.698Z")
public class ProductTerm
extends Object
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 QuantityDuration of the productTermgetName()Name of the productTerm@Valid TimePeriodproductTerm validity periodinthashCode()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
Duration of the productTerm- Returns:
- duration
-
setDuration
-
validFor
-
getValidFor
productTerm validity period- 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
-