Class PayWithAmazonEvent
- java.lang.Object
-
- software.amazon.spapi.models.finances.v0.PayWithAmazonEvent
-
public class PayWithAmazonEvent extends java.lang.Object
An event related to the seller's Pay with Amazon account.
-
-
Constructor Summary
Constructors Constructor Description PayWithAmazonEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PayWithAmazonEvent
amountDescription(java.lang.String amountDescription)
PayWithAmazonEvent
businessObjectType(java.lang.String businessObjectType)
PayWithAmazonEvent
charge(ChargeComponent charge)
boolean
equals(java.lang.Object o)
PayWithAmazonEvent
feeList(FeeComponentList feeList)
PayWithAmazonEvent
fulfillmentChannel(java.lang.String fulfillmentChannel)
java.lang.String
getAmountDescription()
A short description of this payment event.java.lang.String
getBusinessObjectType()
The type of business object.ChargeComponent
getCharge()
Get chargeFeeComponentList
getFeeList()
Get feeListjava.lang.String
getFulfillmentChannel()
The fulfillment channel.java.lang.String
getPaymentAmountType()
The type of payment.java.lang.String
getSalesChannel()
The sales channel for the transaction.java.lang.String
getSellerOrderId()
An order identifier that is specified by the seller.java.lang.String
getStoreName()
The store name where the event occurred.org.threeten.bp.OffsetDateTime
getTransactionPostedDate()
Get transactionPostedDateint
hashCode()
PayWithAmazonEvent
paymentAmountType(java.lang.String paymentAmountType)
PayWithAmazonEvent
salesChannel(java.lang.String salesChannel)
PayWithAmazonEvent
sellerOrderId(java.lang.String sellerOrderId)
void
setAmountDescription(java.lang.String amountDescription)
void
setBusinessObjectType(java.lang.String businessObjectType)
void
setCharge(ChargeComponent charge)
void
setFeeList(FeeComponentList feeList)
void
setFulfillmentChannel(java.lang.String fulfillmentChannel)
void
setPaymentAmountType(java.lang.String paymentAmountType)
void
setSalesChannel(java.lang.String salesChannel)
void
setSellerOrderId(java.lang.String sellerOrderId)
void
setStoreName(java.lang.String storeName)
void
setTransactionPostedDate(org.threeten.bp.OffsetDateTime transactionPostedDate)
PayWithAmazonEvent
storeName(java.lang.String storeName)
java.lang.String
toString()
PayWithAmazonEvent
transactionPostedDate(org.threeten.bp.OffsetDateTime transactionPostedDate)
-
-
-
Method Detail
-
sellerOrderId
public PayWithAmazonEvent sellerOrderId(java.lang.String sellerOrderId)
-
getSellerOrderId
public java.lang.String getSellerOrderId()
An order identifier that is specified by the seller.- Returns:
- sellerOrderId
-
setSellerOrderId
public void setSellerOrderId(java.lang.String sellerOrderId)
-
transactionPostedDate
public PayWithAmazonEvent transactionPostedDate(org.threeten.bp.OffsetDateTime transactionPostedDate)
-
getTransactionPostedDate
public org.threeten.bp.OffsetDateTime getTransactionPostedDate()
Get transactionPostedDate- Returns:
- transactionPostedDate
-
setTransactionPostedDate
public void setTransactionPostedDate(org.threeten.bp.OffsetDateTime transactionPostedDate)
-
businessObjectType
public PayWithAmazonEvent businessObjectType(java.lang.String businessObjectType)
-
getBusinessObjectType
public java.lang.String getBusinessObjectType()
The type of business object.- Returns:
- businessObjectType
-
setBusinessObjectType
public void setBusinessObjectType(java.lang.String businessObjectType)
-
salesChannel
public PayWithAmazonEvent salesChannel(java.lang.String salesChannel)
-
getSalesChannel
public java.lang.String getSalesChannel()
The sales channel for the transaction.- Returns:
- salesChannel
-
setSalesChannel
public void setSalesChannel(java.lang.String salesChannel)
-
charge
public PayWithAmazonEvent charge(ChargeComponent charge)
-
getCharge
public ChargeComponent getCharge()
Get charge- Returns:
- charge
-
setCharge
public void setCharge(ChargeComponent charge)
-
feeList
public PayWithAmazonEvent feeList(FeeComponentList feeList)
-
getFeeList
public FeeComponentList getFeeList()
Get feeList- Returns:
- feeList
-
setFeeList
public void setFeeList(FeeComponentList feeList)
-
paymentAmountType
public PayWithAmazonEvent paymentAmountType(java.lang.String paymentAmountType)
-
getPaymentAmountType
public java.lang.String getPaymentAmountType()
The type of payment. Possible values: * Sales- Returns:
- paymentAmountType
-
setPaymentAmountType
public void setPaymentAmountType(java.lang.String paymentAmountType)
-
amountDescription
public PayWithAmazonEvent amountDescription(java.lang.String amountDescription)
-
getAmountDescription
public java.lang.String getAmountDescription()
A short description of this payment event.- Returns:
- amountDescription
-
setAmountDescription
public void setAmountDescription(java.lang.String amountDescription)
-
fulfillmentChannel
public PayWithAmazonEvent fulfillmentChannel(java.lang.String fulfillmentChannel)
-
getFulfillmentChannel
public java.lang.String getFulfillmentChannel()
The fulfillment channel. Possible values: * AFN - Amazon Fulfillment Network (Fulfillment by Amazon) * MFN - Merchant Fulfillment Network (self-fulfilled)- Returns:
- fulfillmentChannel
-
setFulfillmentChannel
public void setFulfillmentChannel(java.lang.String fulfillmentChannel)
-
storeName
public PayWithAmazonEvent storeName(java.lang.String storeName)
-
getStoreName
public java.lang.String getStoreName()
The store name where the event occurred.- Returns:
- storeName
-
setStoreName
public void setStoreName(java.lang.String storeName)
-
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
-
-