Class PriceAlteration
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.PriceAlteration
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
date="2022-10-21T20:34:47.671Z")
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)Generic attribute indicating the base class type of the extension class of the current object.Generic attribute containing the link to the schema that defines the structure of the class type of the current object.Generic attribute containing the name of the resource class type@Valid CyclegetCycle()Get cycleA narrative that explains in detail the semantics of this order item price alterationgetName()A short descriptive name such as \"Monthly discount\"@Valid PricegetPrice()Get priceA 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) voidvoidvoidsetDescription(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
-
atbaseType
-
getAtbaseType
Generic attribute indicating the base class type of the extension class of the current object. Useful only when the class type of the current object is unknown to the implementation.- Returns:
- atbaseType
-
setAtbaseType
-
atschemaLocation
-
getAtschemaLocation
Generic attribute containing the link to the schema that defines the structure of the class type of the current object.- Returns:
- atschemaLocation
-
setAtschemaLocation
-
attype
-
getAttype
Generic attribute containing the name of the resource class type- Returns:
- attype
-
setAttype
-
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
A short descriptive name such as \"Monthly discount\"- 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
-
cycle
-
getCycle
Get cycle- Returns:
- cycle
-
setCycle
-
productOfferingPrice
-
getProductOfferingPrice
Get productOfferingPrice- Returns:
- productOfferingPrice
-
setProductOfferingPrice
-
equals
-
hashCode
public int hashCode() -
toString
-