Class SubscriptionActionPriceDetail
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.domain.SubscriptionActionPriceDetail
- All Implemented Interfaces:
Serializable
Describes the amount being charged for this item. This may be an amount due now, or a future
payment.
- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanReference to the subscriptionCartItemName 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 itemType of the parent subscription item's backing item if this is a child subscription itemjavax.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 subscriptionCartItemvoidsetItemName(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 itemvoidsetParentItemRefType(String parentItemRefType) Type of the parent subscription item's backing item if this is a child subscription itemvoidsetPostActionSubtotal(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 -
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. -
getPostActionSubtotal
public javax.money.MonetaryAmount getPostActionSubtotal()The subscription item subtotal after to the action being taken, reflecting the typical recurring price for the item. -
setCartItemId
Reference to the subscriptionCartItem -
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. -
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-