Class SellerSKU

  • All Implemented Interfaces:
    java.io.Serializable

    @CompoundIndex(def="{\'name\':1, \'searchTerms\':1, \'keywords\':1}",name="search_terms_idx") @CompoundIndex(def="{\'logicalTypeFilters\':1, \'listTypeFilters\':1, \'simpleTypeFilters\':1, \'rangeFilters\':1}",name="filters_idx")
    @TypeAlias("SellerSKU")
    public class SellerSKU
    extends Auditable<java.lang.String>
    An object of sale.
    See Also:
    Serialized Form
    • Field Detail

      • id

        private java.lang.String id
      • name

        @TextIndexed
        private java.lang.String name
      • inventory

        @DBRef
        private Inventory inventory
      • description

        private java.lang.String description
      • additionalTextInfo

        private java.lang.String additionalTextInfo
      • price

        @NumberFormat(pattern="#.##")
        private java.math.BigDecimal price
      • countryOfOrigin

        private Country countryOfOrigin
      • countryOfSeller

        private Country countryOfSeller
      • productsRef

        private java.util.HashSet<EmbeddedBean> productsRef
      • expireDate

        @DateTimeFormat(pattern="yyyy-MM-dd")
        private java.time.LocalDate expireDate
      • durabilityDate1

        @DateTimeFormat(pattern="yyyy-MM-dd")
        private java.time.LocalDate durabilityDate1
      • durabilityDate2

        @DateTimeFormat(pattern="yyyy-MM-dd")
        private java.time.LocalDate durabilityDate2
      • unit

        @DBRef
        private Unit unit
      • imageURLs

        private java.util.List<java.lang.String> imageURLs
      • keywords

        @TextIndexed
        private java.lang.String keywords
      • searchTerms

        @TextIndexed
        private java.lang.String searchTerms
      • orderedItems

        @DBRef(lazy=true)
        private java.util.HashSet<CommerceItem> orderedItems
      • packagedItems

        @DBRef(lazy=true)
        private java.util.HashSet<Inventory> packagedItems
      • attributeValues

        @DBRef(lazy=true)
        private java.util.List<AttributeValue> attributeValues
      • logicalTypeFilters

        private java.lang.String logicalTypeFilters
      • listTypeFilters

        private java.lang.String listTypeFilters
      • simpleTypeFilters

        private java.lang.String simpleTypeFilters
      • rangeFilters

        private java.util.List<Range> rangeFilters
      • documentURLs

        private java.util.List<Attachment> documentURLs
      • isRandomGenerated

        private boolean isRandomGenerated
      • isPublishedForSale

        private boolean isPublishedForSale
      • GENERATE_SEQUENCE_NAME

        public static final java.lang.String GENERATE_SEQUENCE_NAME
        See Also:
        Constant Field Values
      • score

        @TextScore
        private java.lang.Float score
    • Constructor Detail

      • SellerSKU

        public SellerSKU()