Class AdjustmentItem
- java.lang.Object
-
- software.amazon.spapi.models.finances.v0.AdjustmentItem
-
public class AdjustmentItem extends java.lang.Object
An item in an adjustment to the seller's account.
-
-
Constructor Summary
Constructors Constructor Description AdjustmentItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdjustmentItem
ASIN(java.lang.String ASIN)
boolean
equals(java.lang.Object o)
AdjustmentItem
fnSKU(java.lang.String fnSKU)
java.lang.String
getASIN()
The Amazon Standard Identification Number (ASIN) of the item.java.lang.String
getFnSKU()
A unique identifier assigned to products stored in and fulfilled from a fulfillment center.Currency
getPerUnitAmount()
Get perUnitAmountjava.lang.String
getProductDescription()
A short description of the item.java.lang.String
getQuantity()
Represents the number of units in the seller's inventory when the AdustmentType is FBAInventoryReimbursement.java.lang.String
getSellerSKU()
The seller SKU of the item.Currency
getTotalAmount()
Get totalAmountjava.lang.String
getTransactionNumber()
The transaction number that is related to the adjustment.int
hashCode()
AdjustmentItem
perUnitAmount(Currency perUnitAmount)
AdjustmentItem
productDescription(java.lang.String productDescription)
AdjustmentItem
quantity(java.lang.String quantity)
AdjustmentItem
sellerSKU(java.lang.String sellerSKU)
void
setASIN(java.lang.String ASIN)
void
setFnSKU(java.lang.String fnSKU)
void
setPerUnitAmount(Currency perUnitAmount)
void
setProductDescription(java.lang.String productDescription)
void
setQuantity(java.lang.String quantity)
void
setSellerSKU(java.lang.String sellerSKU)
void
setTotalAmount(Currency totalAmount)
void
setTransactionNumber(java.lang.String transactionNumber)
java.lang.String
toString()
AdjustmentItem
totalAmount(Currency totalAmount)
AdjustmentItem
transactionNumber(java.lang.String transactionNumber)
-
-
-
Method Detail
-
quantity
public AdjustmentItem quantity(java.lang.String quantity)
-
getQuantity
public java.lang.String getQuantity()
Represents the number of units in the seller's inventory when the AdustmentType is FBAInventoryReimbursement.- Returns:
- quantity
-
setQuantity
public void setQuantity(java.lang.String quantity)
-
perUnitAmount
public AdjustmentItem perUnitAmount(Currency perUnitAmount)
-
getPerUnitAmount
public Currency getPerUnitAmount()
Get perUnitAmount- Returns:
- perUnitAmount
-
setPerUnitAmount
public void setPerUnitAmount(Currency perUnitAmount)
-
totalAmount
public AdjustmentItem totalAmount(Currency totalAmount)
-
getTotalAmount
public Currency getTotalAmount()
Get totalAmount- Returns:
- totalAmount
-
setTotalAmount
public void setTotalAmount(Currency totalAmount)
-
sellerSKU
public AdjustmentItem sellerSKU(java.lang.String sellerSKU)
-
getSellerSKU
public java.lang.String getSellerSKU()
The seller SKU of the item. The seller SKU is qualified by the seller's seller ID, which is included with every call to the Selling Partner API.- Returns:
- sellerSKU
-
setSellerSKU
public void setSellerSKU(java.lang.String sellerSKU)
-
fnSKU
public AdjustmentItem fnSKU(java.lang.String fnSKU)
-
getFnSKU
public java.lang.String getFnSKU()
A unique identifier assigned to products stored in and fulfilled from a fulfillment center.- Returns:
- fnSKU
-
setFnSKU
public void setFnSKU(java.lang.String fnSKU)
-
productDescription
public AdjustmentItem productDescription(java.lang.String productDescription)
-
getProductDescription
public java.lang.String getProductDescription()
A short description of the item.- Returns:
- productDescription
-
setProductDescription
public void setProductDescription(java.lang.String productDescription)
-
ASIN
public AdjustmentItem 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)
-
transactionNumber
public AdjustmentItem transactionNumber(java.lang.String transactionNumber)
-
getTransactionNumber
public java.lang.String getTransactionNumber()
The transaction number that is related to the adjustment.- Returns:
- transactionNumber
-
setTransactionNumber
public void setTransactionNumber(java.lang.String transactionNumber)
-
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
-
-