Class PriceAlteration
java.lang.Object
de.hybris.platform.tuawebservicesresources.v3.dto.PriceAlteration
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 priceCould be month, week...@Valid ProductOfferingPriceRefGet productOfferingPriceCould 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) voidsetRecurringChargePeriod(String recurringChargePeriod) voidsetTmaProductOfferingPrice(ProductOfferingPriceRef productOfferingPrice) 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
-
getTmaProductOfferingPrice
Get productOfferingPrice- Returns:
- productOfferingPrice
-
setTmaProductOfferingPrice
-
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
-