Class ExistingSubscriptionItemDetail

java.lang.Object
com.broadleafcommerce.cartoperation.domain.subscription.ExistingSubscriptionItemDetail
All Implemented Interfaces:
Serializable

public class ExistingSubscriptionItemDetail extends Object implements Serializable
Contains details describing an existing subscription item when entering a modify-subscription flow such as for edit, upgrade, or downgrade.
Since:
Cart Operation Service 2.3.0, Release Train 2.3.0
See Also:
  • Constructor Details

    • ExistingSubscriptionItemDetail

      public ExistingSubscriptionItemDetail()
  • Method Details

    • getSubscriptionItemId

      public String getSubscriptionItemId()
      The id of the subscription item
    • getItemRefType

      public String getItemRefType()
      The type of the item reference
    • getItemRef

      public String getItemRef()
      The reference of the item
    • getItemSku

      public String getItemSku()
      The sku of the item
    • getAddOnKey

      public String getAddOnKey()
      The add-on key
    • getItemQuantity

      public Integer getItemQuantity()
      The quantity of the item
    • getParentItemRefType

      public String getParentItemRefType()
      The reference type of the parentItem. Usually, it would be "BLC_PRODUCT".
    • getParentItemRef

      public String getParentItemRef()
      The unique identifier for the parentItem. In case of "BLC_PRODUCT", this field would point to the productId.
    • getExistingItemAdjustmentDetails

      public List<ExistingSubscriptionItemAdjustmentDetail> getExistingItemAdjustmentDetails()
      Details describing existing subscription item-level adjustments.
    • getAttributes

      public Map<String,Object> getAttributes()
      Additional attributes to include.
    • setSubscriptionItemId

      public void setSubscriptionItemId(String subscriptionItemId)
      The id of the subscription item
    • setItemRefType

      public void setItemRefType(String itemRefType)
      The type of the item reference
    • setItemRef

      public void setItemRef(String itemRef)
      The reference of the item
    • setItemSku

      public void setItemSku(String itemSku)
      The sku of the item
    • setAddOnKey

      public void setAddOnKey(String addOnKey)
      The add-on key
    • setItemQuantity

      public void setItemQuantity(Integer itemQuantity)
      The quantity of the item
    • setParentItemRefType

      public void setParentItemRefType(String parentItemRefType)
      The reference type of the parentItem. Usually, it would be "BLC_PRODUCT".
    • setParentItemRef

      public void setParentItemRef(String parentItemRef)
      The unique identifier for the parentItem. In case of "BLC_PRODUCT", this field would point to the productId.
    • setExistingItemAdjustmentDetails

      public void setExistingItemAdjustmentDetails(List<ExistingSubscriptionItemAdjustmentDetail> existingItemAdjustmentDetails)
      Details describing existing subscription item-level adjustments.
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Additional attributes to include.
    • 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