Class Item
- java.lang.Object
-
- software.amazon.spapi.models.fulfillment.inbound.v2024_03_20.Item
-
public class Item extends java.lang.Object
Information associated with a single SKU in the seller's catalog.
-
-
Constructor Summary
Constructors Constructor Description Item()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Item
addPrepInstructionsItem(PrepInstruction prepInstructionsItem)
Item
asin(java.lang.String asin)
boolean
equals(java.lang.Object o)
Item
expiration(java.lang.String expiration)
Item
fnsku(java.lang.String fnsku)
java.lang.String
getAsin()
The Amazon Standard Identification Number (ASIN) of the item.java.lang.String
getExpiration()
The expiration date of the MSKU.java.lang.String
getFnsku()
A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.java.lang.String
getLabelOwner()
Specifies who will label the items.java.lang.String
getManufacturingLotCode()
The manufacturing lot code.java.lang.String
getMsku()
The merchant SKU, a merchant-supplied identifier of a specific SKU.java.util.List<PrepInstruction>
getPrepInstructions()
Special preparations that are required for an item.java.lang.Integer
getQuantity()
The number of the specified MSKU.int
hashCode()
Item
labelOwner(java.lang.String labelOwner)
Item
manufacturingLotCode(java.lang.String manufacturingLotCode)
Item
msku(java.lang.String msku)
Item
prepInstructions(java.util.List<PrepInstruction> prepInstructions)
Item
quantity(java.lang.Integer quantity)
void
setAsin(java.lang.String asin)
void
setExpiration(java.lang.String expiration)
void
setFnsku(java.lang.String fnsku)
void
setLabelOwner(java.lang.String labelOwner)
void
setManufacturingLotCode(java.lang.String manufacturingLotCode)
void
setMsku(java.lang.String msku)
void
setPrepInstructions(java.util.List<PrepInstruction> prepInstructions)
void
setQuantity(java.lang.Integer quantity)
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-