Class OneTimeChargeCartPrice
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.CartPrice
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.OneTimeChargeCartPrice
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
date="2022-10-21T20:34:47.671Z")
public class OneTimeChargeCartPrice
extends CartPrice
A cart price charge paid only once.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCartPriceItem(CartPrice cartPriceItem) addPriceAlterationItem(PriceAlteration priceAlterationItem) atbaseType(String atbaseType) atschemaLocation(String atschemaLocation) description(String description) booleanGeneric 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 typeGet cartPriceA narrative that explains in detail the semantics of this order item price.getId()The id of the price.getName()A short descriptive name such as \"Subscription price\".@Valid PricegetPrice()Get price@Valid List<PriceAlteration>Get priceAlterationType of price, such as: OneTime, Recurring, Usage.Could be month, week...Could be minutes, GB...The type of the usage chargeinthashCode()priceAlteration(List<PriceAlteration> priceAlteration) recurringChargePeriod(String recurringChargePeriod) voidsetAtbaseType(String atbaseType) voidsetAtschemaLocation(String atschemaLocation) voidvoidsetCartPrice(List<CartPrice> cartPrice) voidsetDescription(String description) voidvoidvoidvoidsetPriceAlteration(List<PriceAlteration> priceAlteration) voidsetPriceType(String priceType) voidsetRecurringChargePeriod(String recurringChargePeriod) voidsetUnitOfMeasure(String unitOfMeasure) voidsetUsageChargeType(String usageChargeType) toString()unitOfMeasure(String unitOfMeasure) usageChargeType(String usageChargeType)
-
Constructor Details
-
OneTimeChargeCartPrice
public OneTimeChargeCartPrice()
-
-
Method Details
-
atbaseType
- Overrides:
atbaseTypein classCartPrice
-
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.- Overrides:
getAtbaseTypein classCartPrice- Returns:
- atbaseType
-
setAtbaseType
- Overrides:
setAtbaseTypein classCartPrice
-
atschemaLocation
- Overrides:
atschemaLocationin classCartPrice
-
getAtschemaLocation
Generic attribute containing the link to the schema that defines the structure of the class type of the current object.- Overrides:
getAtschemaLocationin classCartPrice- Returns:
- atschemaLocation
-
setAtschemaLocation
- Overrides:
setAtschemaLocationin classCartPrice
-
attype
-
getAttype
Generic attribute containing the name of the resource class type -
setAttype
-
description
- Overrides:
descriptionin classCartPrice
-
getDescription
A narrative that explains in detail the semantics of this order item price.- Overrides:
getDescriptionin classCartPrice- Returns:
- description
-
setDescription
- Overrides:
setDescriptionin classCartPrice
-
name
-
getName
A short descriptive name such as \"Subscription price\". -
setName
-
id
-
getId
The id of the price. -
setId
-
priceType
-
getPriceType
Type of price, such as: OneTime, Recurring, Usage.- Overrides:
getPriceTypein classCartPrice- Returns:
- priceType
-
setPriceType
- Overrides:
setPriceTypein classCartPrice
-
recurringChargePeriod
- Overrides:
recurringChargePeriodin classCartPrice
-
getRecurringChargePeriod
Could be month, week...- Overrides:
getRecurringChargePeriodin classCartPrice- Returns:
- recurringChargePeriod
-
setRecurringChargePeriod
- Overrides:
setRecurringChargePeriodin classCartPrice
-
unitOfMeasure
- Overrides:
unitOfMeasurein classCartPrice
-
getUnitOfMeasure
Could be minutes, GB...- Overrides:
getUnitOfMeasurein classCartPrice- Returns:
- unitOfMeasure
-
setUnitOfMeasure
- Overrides:
setUnitOfMeasurein classCartPrice
-
usageChargeType
- Overrides:
usageChargeTypein classCartPrice
-
getUsageChargeType
The type of the usage charge- Overrides:
getUsageChargeTypein classCartPrice- Returns:
- usageChargeType
-
setUsageChargeType
- Overrides:
setUsageChargeTypein classCartPrice
-
price
-
getPrice
Get price -
setPrice
-
cartPrice
-
addCartPriceItem
- Overrides:
addCartPriceItemin classCartPrice
-
getCartPrice
Get cartPrice- Overrides:
getCartPricein classCartPrice- Returns:
- cartPrice
-
setCartPrice
- Overrides:
setCartPricein classCartPrice
-
priceAlteration
- Overrides:
priceAlterationin classCartPrice
-
addPriceAlterationItem
- Overrides:
addPriceAlterationItemin classCartPrice
-
getPriceAlteration
Get priceAlteration- Overrides:
getPriceAlterationin classCartPrice- Returns:
- priceAlteration
-
setPriceAlteration
- Overrides:
setPriceAlterationin classCartPrice
-
equals
-
hashCode
public int hashCode() -
toString
-