Class ProductBundle

java.lang.Object
dev.getelements.elements.sdk.model.application.ProductBundle
All Implemented Interfaces:
Serializable

public class ProductBundle extends Object implements Serializable
Represents the set of items to issue to a user when they purchase a product id, defined at the ApplicationConfiguration level. This allows multiple items with varying quantities to be issued upon purchase.
See Also:
  • Constructor Details

    • ProductBundle

      public ProductBundle()
  • Method Details

    • getProductId

      public String getProductId()
    • setProductId

      public void setProductId(String productId)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getProductBundleRewards

      public List<ProductBundleReward> getProductBundleRewards()
    • setProductBundleRewards

      public void setProductBundleRewards(List<ProductBundleReward> productBundleRewards)
    • getMetadata

      public Map<String,Object> getMetadata()
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)
    • getDisplay

      public Boolean getDisplay()
    • setDisplay

      public void setDisplay(Boolean display)
    • getProductBundleReward

      public ProductBundleReward getProductBundleReward(String itemId)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object