Class CustomerGroupCommodity


  • public class CustomerGroupCommodity
    extends HibernateObject
    This class represents the link between customer groups and commodities. It helps identify which commodities are sold by which customer groups along with other information that can be stored alongside this data
    Author:
    SGSystems
    • Field Detail

      • customerGroup

        public CustomerGroup customerGroup
        The customer group
      • commodity

        public Commodity commodity
        The commodity
      • externalRef

        public java.lang.String externalRef
        The external reference number that this customer group uses for this commodity
      • price

        public java.lang.Double price
        The price that you see this item to this customer group for
      • upc

        public java.lang.String upc
        The UPC for this product provided by the customer group
      • deleted

        public java.util.Date deleted
        A deletion timestamp
    • Constructor Detail

      • CustomerGroupCommodity

        public CustomerGroupCommodity()
    • Method Detail

      • setCustomerGroup

        public void setCustomerGroup​(CustomerGroup customerGroup)
      • getCommodity

        public Commodity getCommodity()
      • setCommodity

        public void setCommodity​(Commodity commodity)
      • getExternalRef

        public java.lang.String getExternalRef()
      • setExternalRef

        public void setExternalRef​(java.lang.String externalRef)
      • getPrice

        public java.lang.Double getPrice()
      • setPrice

        public void setPrice​(java.lang.Double price)
      • getUpc

        public java.lang.String getUpc()
      • setUpc

        public void setUpc​(java.lang.String upc)
      • getDeleted

        public java.util.Date getDeleted()
      • setDeleted

        public void setDeleted​(java.util.Date deleted)