Class AffordabilityExpenseEvent
- java.lang.Object
-
- software.amazon.spapi.models.finances.v0.AffordabilityExpenseEvent
-
public class AffordabilityExpenseEvent extends java.lang.Object
An expense related to an affordability promotion.
-
-
Constructor Summary
Constructors Constructor Description AffordabilityExpenseEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AffordabilityExpenseEvent
amazonOrderId(java.lang.String amazonOrderId)
AffordabilityExpenseEvent
baseExpense(Currency baseExpense)
boolean
equals(java.lang.Object o)
java.lang.String
getAmazonOrderId()
An Amazon-defined identifier for an order.Currency
getBaseExpense()
Get baseExpensejava.lang.String
getMarketplaceId()
An encrypted, Amazon-defined marketplace identifier.org.threeten.bp.OffsetDateTime
getPostedDate()
Get postedDateCurrency
getTaxTypeCGST()
Get taxTypeCGSTCurrency
getTaxTypeIGST()
Get taxTypeIGSTCurrency
getTaxTypeSGST()
Get taxTypeSGSTCurrency
getTotalExpense()
Get totalExpensejava.lang.String
getTransactionType()
Indicates the type of transaction.int
hashCode()
AffordabilityExpenseEvent
marketplaceId(java.lang.String marketplaceId)
AffordabilityExpenseEvent
postedDate(org.threeten.bp.OffsetDateTime postedDate)
void
setAmazonOrderId(java.lang.String amazonOrderId)
void
setBaseExpense(Currency baseExpense)
void
setMarketplaceId(java.lang.String marketplaceId)
void
setPostedDate(org.threeten.bp.OffsetDateTime postedDate)
void
setTaxTypeCGST(Currency taxTypeCGST)
void
setTaxTypeIGST(Currency taxTypeIGST)
void
setTaxTypeSGST(Currency taxTypeSGST)
void
setTotalExpense(Currency totalExpense)
void
setTransactionType(java.lang.String transactionType)
AffordabilityExpenseEvent
taxTypeCGST(Currency taxTypeCGST)
AffordabilityExpenseEvent
taxTypeIGST(Currency taxTypeIGST)
AffordabilityExpenseEvent
taxTypeSGST(Currency taxTypeSGST)
java.lang.String
toString()
AffordabilityExpenseEvent
totalExpense(Currency totalExpense)
AffordabilityExpenseEvent
transactionType(java.lang.String transactionType)
-
-
-
Method Detail
-
amazonOrderId
public AffordabilityExpenseEvent 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 AffordabilityExpenseEvent 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)
-
marketplaceId
public AffordabilityExpenseEvent marketplaceId(java.lang.String marketplaceId)
-
getMarketplaceId
public java.lang.String getMarketplaceId()
An encrypted, Amazon-defined marketplace identifier.- Returns:
- marketplaceId
-
setMarketplaceId
public void setMarketplaceId(java.lang.String marketplaceId)
-
transactionType
public AffordabilityExpenseEvent transactionType(java.lang.String transactionType)
-
getTransactionType
public java.lang.String getTransactionType()
Indicates the type of transaction. Possible values: * Charge - For an affordability promotion expense. * Refund - For an affordability promotion expense reversal.- Returns:
- transactionType
-
setTransactionType
public void setTransactionType(java.lang.String transactionType)
-
baseExpense
public AffordabilityExpenseEvent baseExpense(Currency baseExpense)
-
getBaseExpense
public Currency getBaseExpense()
Get baseExpense- Returns:
- baseExpense
-
setBaseExpense
public void setBaseExpense(Currency baseExpense)
-
taxTypeCGST
public AffordabilityExpenseEvent taxTypeCGST(Currency taxTypeCGST)
-
getTaxTypeCGST
public Currency getTaxTypeCGST()
Get taxTypeCGST- Returns:
- taxTypeCGST
-
setTaxTypeCGST
public void setTaxTypeCGST(Currency taxTypeCGST)
-
taxTypeSGST
public AffordabilityExpenseEvent taxTypeSGST(Currency taxTypeSGST)
-
getTaxTypeSGST
public Currency getTaxTypeSGST()
Get taxTypeSGST- Returns:
- taxTypeSGST
-
setTaxTypeSGST
public void setTaxTypeSGST(Currency taxTypeSGST)
-
taxTypeIGST
public AffordabilityExpenseEvent taxTypeIGST(Currency taxTypeIGST)
-
getTaxTypeIGST
public Currency getTaxTypeIGST()
Get taxTypeIGST- Returns:
- taxTypeIGST
-
setTaxTypeIGST
public void setTaxTypeIGST(Currency taxTypeIGST)
-
totalExpense
public AffordabilityExpenseEvent totalExpense(Currency totalExpense)
-
getTotalExpense
public Currency getTotalExpense()
Get totalExpense- Returns:
- totalExpense
-
setTotalExpense
public void setTotalExpense(Currency totalExpense)
-
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
-
-