Class DirectPayment
- java.lang.Object
-
- software.amazon.spapi.models.finances.v0.DirectPayment
-
public class DirectPayment extends java.lang.Object
A payment made directly to a seller.
-
-
Constructor Summary
Constructors Constructor Description DirectPayment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectPayment
directPaymentAmount(Currency directPaymentAmount)
DirectPayment
directPaymentType(java.lang.String directPaymentType)
boolean
equals(java.lang.Object o)
Currency
getDirectPaymentAmount()
Get directPaymentAmountjava.lang.String
getDirectPaymentType()
The type of payment.int
hashCode()
void
setDirectPaymentAmount(Currency directPaymentAmount)
void
setDirectPaymentType(java.lang.String directPaymentType)
java.lang.String
toString()
-
-
-
Method Detail
-
directPaymentType
public DirectPayment directPaymentType(java.lang.String directPaymentType)
-
getDirectPaymentType
public java.lang.String getDirectPaymentType()
The type of payment. Possible values: * StoredValueCardRevenue - The amount that is deducted from the seller's account because the seller received money through a stored value card. * StoredValueCardRefund - The amount that Amazon returns to the seller if the order that is bought using a stored value card is refunded. * PrivateLabelCreditCardRevenue - The amount that is deducted from the seller's account because the seller received money through a private label credit card offered by Amazon. * PrivateLabelCreditCardRefund - The amount that Amazon returns to the seller if the order that is bought using a private label credit card offered by Amazon is refunded. * CollectOnDeliveryRevenue - The COD amount that the seller collected directly from the buyer. * CollectOnDeliveryRefund - The amount that Amazon refunds to the buyer if an order paid for by COD is refunded.- Returns:
- directPaymentType
-
setDirectPaymentType
public void setDirectPaymentType(java.lang.String directPaymentType)
-
directPaymentAmount
public DirectPayment directPaymentAmount(Currency directPaymentAmount)
-
getDirectPaymentAmount
public Currency getDirectPaymentAmount()
Get directPaymentAmount- Returns:
- directPaymentAmount
-
setDirectPaymentAmount
public void setDirectPaymentAmount(Currency directPaymentAmount)
-
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
-
-