java.lang.Object
com.broadleafcommerce.recommendationengine.provider.jpa.domain.JpaPurchaseItem
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, Serializable

@Entity public class JpaPurchaseItem extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
See Also:
  • Constructor Details

    • JpaPurchaseItem

      public JpaPurchaseItem()
  • Method Details

    • setUnitPrice

      public void setUnitPrice(javax.money.MonetaryAmount unitPrice)
    • getUnitPrice

      public javax.money.MonetaryAmount getUnitPrice()
    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • getContextId

      public String getContextId()
      The jpa primary key.
      Returns:
      The jpa primary key
    • getPurchase

      public JpaPurchase getPurchase()
    • getName

      public String getName()
    • getUri

      public String getUri()
    • getQuantity

      public int getQuantity()
    • getCurrency

      public javax.money.CurrencyUnit getCurrency()
    • getPriceListId

      public String getPriceListId()
    • getVariantId

      public String getVariantId()
    • getProductId

      public String getProductId()
    • getCategoryIds

      public Set<String> getCategoryIds()
    • getProductTags

      public List<String> getProductTags()
    • getSku

      public String getSku()
    • getVendorRef

      public String getVendorRef()
    • getMerchandisingContext

      public String getMerchandisingContext()
    • getBrandId

      public String getBrandId()
    • getMerchandisingTypeId

      public String getMerchandisingTypeId()
    • getTargetDemographicId

      public String getTargetDemographicId()
    • getAttributes

      public Map<String,Object> getAttributes()
    • setContextId

      public void setContextId(String contextId)
      The jpa primary key.
      Parameters:
      _id - The jpa primary key
    • setPurchase

      public void setPurchase(JpaPurchase purchase)
    • setName

      public void setName(String name)
    • setUri

      public void setUri(String uri)
    • setQuantity

      public void setQuantity(int quantity)
    • setCurrency

      public void setCurrency(javax.money.CurrencyUnit currency)
    • setPriceListId

      public void setPriceListId(String priceListId)
    • setVariantId

      public void setVariantId(String variantId)
    • setProductId

      public void setProductId(String productId)
    • setCategoryIds

      public void setCategoryIds(Set<String> categoryIds)
    • setProductTags

      public void setProductTags(List<String> productTags)
    • setSku

      public void setSku(String sku)
    • setVendorRef

      public void setVendorRef(String vendorRef)
    • setMerchandisingContext

      public void setMerchandisingContext(String merchandisingContext)
    • setBrandId

      public void setBrandId(String brandId)
    • setMerchandisingTypeId

      public void setMerchandisingTypeId(String merchandisingTypeId)
    • setTargetDemographicId

      public void setTargetDemographicId(String targetDemographicId)
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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