Class DirectPayment


  • public class DirectPayment
    extends java.lang.Object
    A payment made directly to a seller.
    • Constructor Detail

      • DirectPayment

        public DirectPayment()
    • 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)
      • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object