Class SubscriptionActionPriceDetail

java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.domain.SubscriptionActionPriceDetail
All Implemented Interfaces:
Serializable

public class SubscriptionActionPriceDetail extends Object implements 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 Details

    • SubscriptionActionPriceDetail

      public SubscriptionActionPriceDetail()
  • Method Details

    • getCartItemId

      public String getCartItemId()
      Reference to the subscription CartItem
    • getItemRefType

      public String getItemRefType()
      Type of item that this object represents. For example, BLC_PRODUCT.
    • getItemRef

      public String getItemRef()
      Reference to the id of the item represented by this object. For example, the product id.
    • getItemName

      public String getItemName()
      Name of the item identified by getItemRefType() & getItemRef().
    • getParentItemRefType

      public String getParentItemRefType()
      Type of the parent subscription item's backing item if this is a child subscription item
    • getParentItemRef

      public String 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 a DefaultSubscriptionActionFlow.CREATE action, 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

      public void setCartItemId(String cartItemId)
      Reference to the subscription CartItem
    • setItemRefType

      public void setItemRefType(String itemRefType)
      Type of item that this object represents. For example, BLC_PRODUCT.
    • setItemRef

      public void setItemRef(String itemRef)
      Reference to the id of the item represented by this object. For example, the product id.
    • setItemName

      public void setItemName(String itemName)
      Name of the item identified by getItemRefType() & getItemRef().
    • setParentItemRefType

      public void setParentItemRefType(String parentItemRefType)
      Type of the parent subscription item's backing item if this is a child subscription item
    • setParentItemRef

      public void setParentItemRef(String parentItemRef)
      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 a DefaultSubscriptionActionFlow.CREATE action, 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object