Class RetrochargeEvent
- java.lang.Object
-
- software.amazon.spapi.models.finances.v0.RetrochargeEvent
-
public class RetrochargeEvent extends java.lang.Object
A retrocharge or retrocharge reversal.
-
-
Constructor Summary
Constructors Constructor Description RetrochargeEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RetrochargeEvent
amazonOrderId(java.lang.String amazonOrderId)
RetrochargeEvent
baseTax(Currency baseTax)
boolean
equals(java.lang.Object o)
java.lang.String
getAmazonOrderId()
An Amazon-defined identifier for an order.Currency
getBaseTax()
Get baseTaxjava.lang.String
getMarketplaceName()
The name of the marketplace where the retrocharge event occurred.org.threeten.bp.OffsetDateTime
getPostedDate()
Get postedDatejava.lang.String
getRetrochargeEventType()
The type of event.TaxWithheldComponentList
getRetrochargeTaxWithheldList()
Get retrochargeTaxWithheldListCurrency
getShippingTax()
Get shippingTaxint
hashCode()
RetrochargeEvent
marketplaceName(java.lang.String marketplaceName)
RetrochargeEvent
postedDate(org.threeten.bp.OffsetDateTime postedDate)
RetrochargeEvent
retrochargeEventType(java.lang.String retrochargeEventType)
RetrochargeEvent
retrochargeTaxWithheldList(TaxWithheldComponentList retrochargeTaxWithheldList)
void
setAmazonOrderId(java.lang.String amazonOrderId)
void
setBaseTax(Currency baseTax)
void
setMarketplaceName(java.lang.String marketplaceName)
void
setPostedDate(org.threeten.bp.OffsetDateTime postedDate)
void
setRetrochargeEventType(java.lang.String retrochargeEventType)
void
setRetrochargeTaxWithheldList(TaxWithheldComponentList retrochargeTaxWithheldList)
void
setShippingTax(Currency shippingTax)
RetrochargeEvent
shippingTax(Currency shippingTax)
java.lang.String
toString()
-
-
-
Method Detail
-
retrochargeEventType
public RetrochargeEvent retrochargeEventType(java.lang.String retrochargeEventType)
-
getRetrochargeEventType
public java.lang.String getRetrochargeEventType()
The type of event. Possible values: * Retrocharge * RetrochargeReversal- Returns:
- retrochargeEventType
-
setRetrochargeEventType
public void setRetrochargeEventType(java.lang.String retrochargeEventType)
-
amazonOrderId
public RetrochargeEvent amazonOrderId(java.lang.String amazonOrderId)
-
getAmazonOrderId
public java.lang.String getAmazonOrderId()
An Amazon-defined identifier for an order.- Returns:
- amazonOrderId
-
setAmazonOrderId
public void setAmazonOrderId(java.lang.String amazonOrderId)
-
postedDate
public RetrochargeEvent postedDate(org.threeten.bp.OffsetDateTime postedDate)
-
getPostedDate
public org.threeten.bp.OffsetDateTime getPostedDate()
Get postedDate- Returns:
- postedDate
-
setPostedDate
public void setPostedDate(org.threeten.bp.OffsetDateTime postedDate)
-
baseTax
public RetrochargeEvent baseTax(Currency baseTax)
-
getBaseTax
public Currency getBaseTax()
Get baseTax- Returns:
- baseTax
-
setBaseTax
public void setBaseTax(Currency baseTax)
-
shippingTax
public RetrochargeEvent shippingTax(Currency shippingTax)
-
getShippingTax
public Currency getShippingTax()
Get shippingTax- Returns:
- shippingTax
-
setShippingTax
public void setShippingTax(Currency shippingTax)
-
marketplaceName
public RetrochargeEvent marketplaceName(java.lang.String marketplaceName)
-
getMarketplaceName
public java.lang.String getMarketplaceName()
The name of the marketplace where the retrocharge event occurred.- Returns:
- marketplaceName
-
setMarketplaceName
public void setMarketplaceName(java.lang.String marketplaceName)
-
retrochargeTaxWithheldList
public RetrochargeEvent retrochargeTaxWithheldList(TaxWithheldComponentList retrochargeTaxWithheldList)
-
getRetrochargeTaxWithheldList
public TaxWithheldComponentList getRetrochargeTaxWithheldList()
Get retrochargeTaxWithheldList- Returns:
- retrochargeTaxWithheldList
-
setRetrochargeTaxWithheldList
public void setRetrochargeTaxWithheldList(TaxWithheldComponentList retrochargeTaxWithheldList)
-
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
-
-