Class PriceAlteration
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.PriceAlteration
@Validated
@Generated(value="de.hybris.platform.tuawebservicesresources.swagger.TmaCodegen",
date="2022-10-21T20:35:04.698Z")
public class PriceAlteration
extends Object
Is an amount, usually of money, that modifies the price charged for an order item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationDuration(Integer applicationDuration) atbaseType(String atbaseType) atschemaLocation(String atschemaLocation) description(String description) booleanDuration during which the alteration applies on the order item price (for instance 2 months free of charge for the recurring charge)When 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 nameA narrative that explains in detail the semantics of this order item price alterationgetName()Name of the order item price alteration@NotNull @Valid PricegetPrice()Get price@NotNull StringA category that describes the price such as recurring, one time and usage.Priority level for applying this alteration among all the defined alterations on the order item price@Valid ProductOfferingPriceRefGet productOfferingPriceCould be month, week...Could be minutes, GB...inthashCode()productOfferingPrice(ProductOfferingPriceRef productOfferingPrice) recurringChargePeriod(String recurringChargePeriod) voidsetApplicationDuration(Integer applicationDuration) voidsetAtbaseType(String atbaseType) voidsetAtschemaLocation(String atschemaLocation) voidvoidsetDescription(String description) voidvoidvoidsetPriceType(String priceType) voidsetPriority(Integer priority) voidsetProductOfferingPrice(ProductOfferingPriceRef productOfferingPrice) voidsetRecurringChargePeriod(String recurringChargePeriod) voidsetUnitOfMeasure(String unitOfMeasure) toString()unitOfMeasure(String unitOfMeasure)
-
Constructor Details
-
PriceAlteration
public PriceAlteration()
-
-
Method Details
-
applicationDuration
-
getApplicationDuration
Duration during which the alteration applies on the order item price (for instance 2 months free of charge for the recurring charge)- Returns:
- applicationDuration
-
setApplicationDuration
-
description
-
getDescription
A narrative that explains in detail the semantics of this order item price alteration- Returns:
- description
-
setDescription
-
name
-
getName
Name of the order item price alteration- Returns:
- name
-
setName
-
priceType
-
getPriceType
A category that describes the price such as recurring, one time and usage.- Returns:
- priceType
-
setPriceType
-
priority
-
getPriority
Priority level for applying this alteration among all the defined alterations on the order item price- Returns:
- priority
-
setPriority
-
recurringChargePeriod
-
getRecurringChargePeriod
Could be month, week...- Returns:
- recurringChargePeriod
-
setRecurringChargePeriod
-
unitOfMeasure
-
getUnitOfMeasure
Could be minutes, GB...- Returns:
- unitOfMeasure
-
setUnitOfMeasure
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
productOfferingPrice
-
getProductOfferingPrice
Get productOfferingPrice- Returns:
- productOfferingPrice
-
setProductOfferingPrice
-
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
-