Class CartPrice
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.CartPrice
- Direct Known Subclasses:
OneTimeChargeCartPrice,RecurringChargeCartPrice,UsageChargeCartPrice
An amount, usually of money, that represents the actual price paid by the customer for this item. May represent the total price of the shopping cart or the total of the cart item depending on the relation
-
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
-
CartPrice
public CartPrice()
-
-
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
-
description
-
getDescription
A narrative that explains in detail the semantics of this order item price.- Returns:
- description
-
setDescription
-
name
-
getName
A short descriptive name such as \"Subscription price\".- Returns:
- name
-
setName
-
id
-
getId
The id of the price.- Returns:
- id
-
setId
-
priceType
-
getPriceType
Type of price, such as: OneTime, Recurring, Usage.- Returns:
- priceType
-
setPriceType
-
recurringChargePeriod
-
getRecurringChargePeriod
Could be month, week...- Returns:
- recurringChargePeriod
-
setRecurringChargePeriod
-
unitOfMeasure
-
getUnitOfMeasure
Could be minutes, GB...- Returns:
- unitOfMeasure
-
setUnitOfMeasure
-
usageChargeType
-
getUsageChargeType
The type of the usage charge- Returns:
- usageChargeType
-
setUsageChargeType
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
cartPrice
-
addCartPriceItem
-
getCartPrice
Get cartPrice- Returns:
- cartPrice
-
setCartPrice
-
priceAlteration
-
addPriceAlterationItem
-
getPriceAlteration
Get priceAlteration- Returns:
- priceAlteration
-
setPriceAlteration
-
equals
-
hashCode
public int hashCode() -
toString
-