Class Item
- java.lang.Object
-
- software.amazon.spapi.models.merchantfulfillment.v0.Item
-
public class Item extends java.lang.Object
An Amazon order item identifier and a quantity.
-
-
Constructor Summary
Constructors Constructor Description Item()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Item
dangerousGoodsDetails(DangerousGoodsDetails dangerousGoodsDetails)
boolean
equals(java.lang.Object o)
DangerousGoodsDetails
getDangerousGoodsDetails()
Get dangerousGoodsDetailsjava.lang.String
getItemDescription()
Get itemDescriptionAdditionalSellerInputsList
getItemLevelSellerInputsList()
Get itemLevelSellerInputsListWeight
getItemWeight()
Get itemWeightLiquidVolume
getLiquidVolume()
Get liquidVolumejava.lang.String
getOrderItemId()
Get orderItemIdjava.lang.Integer
getQuantity()
Get quantityTransparencyCodeList
getTransparencyCodeList()
Get transparencyCodeListint
hashCode()
Item
isHazmat(java.lang.Boolean isHazmat)
java.lang.Boolean
isIsHazmat()
When true, the item qualifies as hazardous materials (hazmat).Item
itemDescription(java.lang.String itemDescription)
Item
itemLevelSellerInputsList(AdditionalSellerInputsList itemLevelSellerInputsList)
Item
itemWeight(Weight itemWeight)
Item
liquidVolume(LiquidVolume liquidVolume)
Item
orderItemId(java.lang.String orderItemId)
Item
quantity(java.lang.Integer quantity)
void
setDangerousGoodsDetails(DangerousGoodsDetails dangerousGoodsDetails)
void
setIsHazmat(java.lang.Boolean isHazmat)
void
setItemDescription(java.lang.String itemDescription)
void
setItemLevelSellerInputsList(AdditionalSellerInputsList itemLevelSellerInputsList)
void
setItemWeight(Weight itemWeight)
void
setLiquidVolume(LiquidVolume liquidVolume)
void
setOrderItemId(java.lang.String orderItemId)
void
setQuantity(java.lang.Integer quantity)
void
setTransparencyCodeList(TransparencyCodeList transparencyCodeList)
java.lang.String
toString()
Item
transparencyCodeList(TransparencyCodeList transparencyCodeList)
-
-
-
Method Detail
-
orderItemId
public Item orderItemId(java.lang.String orderItemId)
-
getOrderItemId
public java.lang.String getOrderItemId()
Get orderItemId- Returns:
- orderItemId
-
setOrderItemId
public void setOrderItemId(java.lang.String orderItemId)
-
quantity
public Item quantity(java.lang.Integer quantity)
-
getQuantity
public java.lang.Integer getQuantity()
Get quantity- Returns:
- quantity
-
setQuantity
public void setQuantity(java.lang.Integer quantity)
-
getItemWeight
public Weight getItemWeight()
Get itemWeight- Returns:
- itemWeight
-
setItemWeight
public void setItemWeight(Weight itemWeight)
-
itemDescription
public Item itemDescription(java.lang.String itemDescription)
-
getItemDescription
public java.lang.String getItemDescription()
Get itemDescription- Returns:
- itemDescription
-
setItemDescription
public void setItemDescription(java.lang.String itemDescription)
-
transparencyCodeList
public Item transparencyCodeList(TransparencyCodeList transparencyCodeList)
-
getTransparencyCodeList
public TransparencyCodeList getTransparencyCodeList()
Get transparencyCodeList- Returns:
- transparencyCodeList
-
setTransparencyCodeList
public void setTransparencyCodeList(TransparencyCodeList transparencyCodeList)
-
itemLevelSellerInputsList
public Item itemLevelSellerInputsList(AdditionalSellerInputsList itemLevelSellerInputsList)
-
getItemLevelSellerInputsList
public AdditionalSellerInputsList getItemLevelSellerInputsList()
Get itemLevelSellerInputsList- Returns:
- itemLevelSellerInputsList
-
setItemLevelSellerInputsList
public void setItemLevelSellerInputsList(AdditionalSellerInputsList itemLevelSellerInputsList)
-
liquidVolume
public Item liquidVolume(LiquidVolume liquidVolume)
-
getLiquidVolume
public LiquidVolume getLiquidVolume()
Get liquidVolume- Returns:
- liquidVolume
-
setLiquidVolume
public void setLiquidVolume(LiquidVolume liquidVolume)
-
isHazmat
public Item isHazmat(java.lang.Boolean isHazmat)
-
isIsHazmat
public java.lang.Boolean isIsHazmat()
When true, the item qualifies as hazardous materials (hazmat). Defaults to false.- Returns:
- isHazmat
-
setIsHazmat
public void setIsHazmat(java.lang.Boolean isHazmat)
-
dangerousGoodsDetails
public Item dangerousGoodsDetails(DangerousGoodsDetails dangerousGoodsDetails)
-
getDangerousGoodsDetails
public DangerousGoodsDetails getDangerousGoodsDetails()
Get dangerousGoodsDetails- Returns:
- dangerousGoodsDetails
-
setDangerousGoodsDetails
public void setDangerousGoodsDetails(DangerousGoodsDetails dangerousGoodsDetails)
-
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
-
-