java.lang.Object
com.broadleafcommerce.promotion.offer.client.web.context.SubscriptionItemDto
All Implemented Interfaces:
Serializable

public class SubscriptionItemDto extends Object implements Serializable
Holds the information related to a subscription item.
Since:
2.0.4
Author:
karanjariwala
See Also:
  • Constructor Details

    • SubscriptionItemDto

      public SubscriptionItemDto()
  • Method Details

    • getSku

      public String getSku()
      The SKU of the item that is purchased in a subscription.
    • getProductId

      public String getProductId()
      The productId of the item that is purchased in a subscription.
    • getAttributes

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

      public void setSku(String sku)
      The SKU of the item that is purchased in a subscription.
    • setProductId

      public void setProductId(String productId)
      The productId of the item that is purchased in a subscription.
    • 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