Class SubscriptionActionPriceDetail
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanReference to the subscriptionCartItem.Name of the item identified bygetItemRefType()&getItemRef().Reference to the id of the item represented by this object.Type of item that this object represents.Reference of the parent subscription item's backing item if this is a child subscription item.Type of the parent subscription item's backing item if this is a child subscription item.javax.money.MonetaryAmountThe subscription item subtotal after to the action being taken, reflecting the typical recurring price for the item.javax.money.MonetaryAmountThe subscription item subtotal prior to the action being taken, reflecting the typical recurring price for the item.inthashCode()voidsetCartItemId(String cartItemId) Reference to the subscriptionCartItem.voidsetItemName(String itemName) Name of the item identified bygetItemRefType()&getItemRef().voidsetItemRef(String itemRef) Reference to the id of the item represented by this object.voidsetItemRefType(String itemRefType) Type of item that this object represents.voidsetParentItemRef(String parentItemRef) Reference of the parent subscription item's backing item if this is a child subscription item.voidsetParentItemRefType(String parentItemRefType) Type of the parent subscription item's backing item if this is a child subscription item.voidsetPostActionSubtotal(javax.money.MonetaryAmount postActionSubtotal) The subscription item subtotal after to the action being taken, reflecting the typical recurring price for the item.voidsetPreActionSubtotal(javax.money.MonetaryAmount preActionSubtotal) The subscription item subtotal prior to the action being taken, reflecting the typical recurring price for the item.toString()
-
Constructor Details
-
SubscriptionActionPriceDetail
public SubscriptionActionPriceDetail()
-
-
Method Details
-
getCartItemId
Reference to the subscriptionCartItem. If the subscription item has been removed as part of the action, then this value will be null. -
getItemRefType
Type of item that this object represents. For example, BLC_PRODUCT. -
getItemRef
Reference to the id of the item represented by this object. For example, the product id. -
getItemName
Name of the item identified bygetItemRefType()&getItemRef(). -
getParentItemRefType
Type of the parent subscription item's backing item if this is a child subscription item. -
getParentItemRef
Reference of the parent subscription item's backing item if this is a child subscription item. -
getPreActionSubtotal
public javax.money.MonetaryAmount getPreActionSubtotal()The subscription item subtotal prior to the action being taken, reflecting the typical recurring price for the item. For aDefaultSubscriptionActionFlow.CREATEaction, this value will be null since there was no prior subscription.This subtotal does include the recurring discounts, however it only includes the discounts applicable to the current period. For example, if you have a discountA that is applicable from period 1-3 and a discountB that is applicable from period 4-6 (although rare), then only discountA will be included in this subtotal if you are modifying the subscription in period 2.
-
getPostActionSubtotal
public javax.money.MonetaryAmount getPostActionSubtotal()The subscription item subtotal after to the action being taken, reflecting the typical recurring price for the item. If the subscription item has been removed as part of the action, then this value will be null.This subtotal does include the recurring discounts, however it only includes the discounts applicable to the current period. For example, if you have a discountA that is applicable from period 1-3 and a discountB that is applicable from period 4-6 (although rare), then only discountA will be included in this subtotal if you are modifying the subscription in period 2.
-
setCartItemId
Reference to the subscriptionCartItem. If the subscription item has been removed as part of the action, then this value will be null. -
setItemRefType
Type of item that this object represents. For example, BLC_PRODUCT. -
setItemRef
Reference to the id of the item represented by this object. For example, the product id. -
setItemName
Name of the item identified bygetItemRefType()&getItemRef(). -
setParentItemRefType
Type of the parent subscription item's backing item if this is a child subscription item. -
setParentItemRef
Reference of the parent subscription item's backing item if this is a child subscription item. -
setPreActionSubtotal
public void setPreActionSubtotal(javax.money.MonetaryAmount preActionSubtotal) The subscription item subtotal prior to the action being taken, reflecting the typical recurring price for the item. For aDefaultSubscriptionActionFlow.CREATEaction, this value will be null since there was no prior subscription.This subtotal does include the recurring discounts, however it only includes the discounts applicable to the current period. For example, if you have a discountA that is applicable from period 1-3 and a discountB that is applicable from period 4-6 (although rare), then only discountA will be included in this subtotal if you are modifying the subscription in period 2.
-
setPostActionSubtotal
public void setPostActionSubtotal(javax.money.MonetaryAmount postActionSubtotal) The subscription item subtotal after to the action being taken, reflecting the typical recurring price for the item. If the subscription item has been removed as part of the action, then this value will be null.This subtotal does include the recurring discounts, however it only includes the discounts applicable to the current period. For example, if you have a discountA that is applicable from period 1-3 and a discountB that is applicable from period 4-6 (although rare), then only discountA will be included in this subtotal if you are modifying the subscription in period 2.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-