Class PaymentMethodDetails


  • public class PaymentMethodDetails
    extends java.lang.Object
    The details of a payment method.
    • Constructor Detail

      • PaymentMethodDetails

        public PaymentMethodDetails()
    • Method Detail

      • accountHolderName

        public PaymentMethodDetails accountHolderName​(java.lang.String accountHolderName)
      • getAccountHolderName

        public java.lang.String getAccountHolderName()
        The name of the account holder who is registered for the payment method.
        Returns:
        accountHolderName
      • setAccountHolderName

        public void setAccountHolderName​(java.lang.String accountHolderName)
      • paymentMethodId

        public PaymentMethodDetails paymentMethodId​(java.lang.String paymentMethodId)
      • getPaymentMethodId

        public java.lang.String getPaymentMethodId()
        The payment method identifier.
        Returns:
        paymentMethodId
      • setPaymentMethodId

        public void setPaymentMethodId​(java.lang.String paymentMethodId)
      • getTail

        public java.lang.String getTail()
        The last three or four digits of the payment method.
        Returns:
        tail
      • setTail

        public void setTail​(java.lang.String tail)
      • getExpiryDate

        public ExpiryDate getExpiryDate()
        Get expiryDate
        Returns:
        expiryDate
      • setExpiryDate

        public void setExpiryDate​(ExpiryDate expiryDate)
      • getCountryCode

        public java.lang.String getCountryCode()
        The two-letter country code in ISO 3166-1 alpha-2 format. For payment methods in the `card` category, the code is for the country where the card was issued. For payment methods in the `bank account` category, the code is for the country where the account is located.
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(java.lang.String countryCode)
      • getPaymentMethodType

        public PaymentMethodType getPaymentMethodType()
        Get paymentMethodType
        Returns:
        paymentMethodType
      • setPaymentMethodType

        public void setPaymentMethodType​(PaymentMethodType paymentMethodType)
      • getAssignmentType

        public AssignmentType getAssignmentType()
        Get assignmentType
        Returns:
        assignmentType
      • setAssignmentType

        public void setAssignmentType​(AssignmentType assignmentType)
      • 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