Class Item


  • public class Item
    extends java.lang.Object
    Information associated with a single SKU in the seller's catalog.
    • Constructor Detail

      • Item

        public Item()
    • Method Detail

      • asin

        public Item asin​(java.lang.String asin)
      • getAsin

        public java.lang.String getAsin()
        The Amazon Standard Identification Number (ASIN) of the item.
        Returns:
        asin
      • setAsin

        public void setAsin​(java.lang.String asin)
      • expiration

        public Item expiration​(java.lang.String expiration)
      • getExpiration

        public java.lang.String getExpiration()
        The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern`YYYY-MM-DD`. The same MSKU with different expiration dates cannot go into the same box.
        Returns:
        expiration
      • setExpiration

        public void setExpiration​(java.lang.String expiration)
      • fnsku

        public Item fnsku​(java.lang.String fnsku)
      • getFnsku

        public java.lang.String getFnsku()
        A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.
        Returns:
        fnsku
      • setFnsku

        public void setFnsku​(java.lang.String fnsku)
      • labelOwner

        public Item labelOwner​(java.lang.String labelOwner)
      • getLabelOwner

        public java.lang.String getLabelOwner()
        Specifies who will label the items. Options include `AMAZON`, `SELLER`, and `NONE`.
        Returns:
        labelOwner
      • setLabelOwner

        public void setLabelOwner​(java.lang.String labelOwner)
      • manufacturingLotCode

        public Item manufacturingLotCode​(java.lang.String manufacturingLotCode)
      • getManufacturingLotCode

        public java.lang.String getManufacturingLotCode()
        The manufacturing lot code.
        Returns:
        manufacturingLotCode
      • setManufacturingLotCode

        public void setManufacturingLotCode​(java.lang.String manufacturingLotCode)
      • msku

        public Item msku​(java.lang.String msku)
      • getMsku

        public java.lang.String getMsku()
        The merchant SKU, a merchant-supplied identifier of a specific SKU.
        Returns:
        msku
      • setMsku

        public void setMsku​(java.lang.String msku)
      • prepInstructions

        public Item prepInstructions​(java.util.List<PrepInstruction> prepInstructions)
      • addPrepInstructionsItem

        public Item addPrepInstructionsItem​(PrepInstruction prepInstructionsItem)
      • getPrepInstructions

        public java.util.List<PrepInstruction> getPrepInstructions()
        Special preparations that are required for an item.
        Returns:
        prepInstructions
      • setPrepInstructions

        public void setPrepInstructions​(java.util.List<PrepInstruction> prepInstructions)
      • quantity

        public Item quantity​(java.lang.Integer quantity)
      • getQuantity

        public java.lang.Integer getQuantity()
        The number of the specified MSKU. minimum: 1 maximum: 10000
        Returns:
        quantity
      • setQuantity

        public void setQuantity​(java.lang.Integer quantity)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object