Class ProductAdsPaymentEvent
- java.lang.Object
-
- software.amazon.spapi.models.finances.v0.ProductAdsPaymentEvent
-
public class ProductAdsPaymentEvent extends java.lang.Object
A Sponsored Products payment event.
-
-
Constructor Summary
Constructors Constructor Description ProductAdsPaymentEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductAdsPaymentEvent
baseValue(Currency baseValue)
boolean
equals(java.lang.Object o)
Currency
getBaseValue()
Get baseValuejava.lang.String
getInvoiceId()
Identifier for the invoice that the transaction appears in.org.threeten.bp.OffsetDateTime
getPostedDate()
Get postedDateCurrency
getTaxValue()
Get taxValuejava.lang.String
getTransactionType()
Indicates if the transaction is for a charge or a refund.Currency
getTransactionValue()
Get transactionValueint
hashCode()
ProductAdsPaymentEvent
invoiceId(java.lang.String invoiceId)
ProductAdsPaymentEvent
postedDate(org.threeten.bp.OffsetDateTime postedDate)
void
setBaseValue(Currency baseValue)
void
setInvoiceId(java.lang.String invoiceId)
void
setPostedDate(org.threeten.bp.OffsetDateTime postedDate)
void
setTaxValue(Currency taxValue)
void
setTransactionType(java.lang.String transactionType)
void
setTransactionValue(Currency transactionValue)
ProductAdsPaymentEvent
taxValue(Currency taxValue)
java.lang.String
toString()
ProductAdsPaymentEvent
transactionType(java.lang.String transactionType)
ProductAdsPaymentEvent
transactionValue(Currency transactionValue)
-
-
-
Method Detail
-
postedDate
public ProductAdsPaymentEvent 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)
-
transactionType
public ProductAdsPaymentEvent transactionType(java.lang.String transactionType)
-
getTransactionType
public java.lang.String getTransactionType()
Indicates if the transaction is for a charge or a refund. Possible values: * charge - Charge * refund - Refund- Returns:
- transactionType
-
setTransactionType
public void setTransactionType(java.lang.String transactionType)
-
invoiceId
public ProductAdsPaymentEvent invoiceId(java.lang.String invoiceId)
-
getInvoiceId
public java.lang.String getInvoiceId()
Identifier for the invoice that the transaction appears in.- Returns:
- invoiceId
-
setInvoiceId
public void setInvoiceId(java.lang.String invoiceId)
-
baseValue
public ProductAdsPaymentEvent baseValue(Currency baseValue)
-
getBaseValue
public Currency getBaseValue()
Get baseValue- Returns:
- baseValue
-
setBaseValue
public void setBaseValue(Currency baseValue)
-
taxValue
public ProductAdsPaymentEvent taxValue(Currency taxValue)
-
getTaxValue
public Currency getTaxValue()
Get taxValue- Returns:
- taxValue
-
setTaxValue
public void setTaxValue(Currency taxValue)
-
transactionValue
public ProductAdsPaymentEvent transactionValue(Currency transactionValue)
-
getTransactionValue
public Currency getTransactionValue()
Get transactionValue- Returns:
- transactionValue
-
setTransactionValue
public void setTransactionValue(Currency transactionValue)
-
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
-
-