Class PaymentSetupSource


  • public class PaymentSetupSource
    extends java.lang.Object
    Source information for payment setup confirm response
    • Constructor Detail

      • PaymentSetupSource

        public PaymentSetupSource()
      • PaymentSetupSource

        public PaymentSetupSource​(PaymentSourceType type,
                                  java.lang.Integer expiryMonth,
                                  java.lang.Integer expiryYear,
                                  java.lang.String last4,
                                  java.lang.String fingerprint,
                                  java.lang.String bin,
                                  java.lang.String id,
                                  Address billingAddress,
                                  Phone phone,
                                  java.lang.String name,
                                  java.lang.String scheme,
                                  java.lang.String schemeLocal,
                                  java.util.List<java.lang.String> localSchemes,
                                  CardType cardType,
                                  CardCategoryType cardCategory,
                                  CardWalletType cardWalletType,
                                  java.lang.String issuer,
                                  java.lang.String issuerCountry,
                                  java.lang.String productId,
                                  java.lang.String productType,
                                  java.lang.String avsCheck,
                                  java.lang.String cvvCheck,
                                  java.lang.String paymentAccountReference,
                                  java.lang.String encryptedCardNumber,
                                  AccountUpdateStatusType accountUpdateStatus,
                                  java.lang.String accountUpdateFailureCode,
                                  AbstractAccountHolder accountHolder)
        Creates a new PaymentSetupSource instance.
        Parameters:
        type - The payment source type. sepabank_accountalipay_cnachcardcard
        expiryMonth - The expiry month
        expiryYear - The expiry year
        last4 - The last four digits of the card number
        fingerprint - Uniquely identifies this particular card number. You can use this to compare cards across customers.
        bin - The card issuer's Bank Identification Number (BIN)
        id - The payment source identifier that can be used for subsequent payments. For new sources, this will only be returned if the payment was approved
        billingAddress - The payment source owner's billing address
        phone - The payment source owner's phone number
        name - The cardholder's name
        scheme - The card scheme
        schemeLocal - Deprecated Replaced by local_schemes The local co-branded card scheme.
        localSchemes - The local co-branded card schemes.
        cardType - The card type
        cardCategory - The card category
        cardWalletType - The card wallet type
        issuer - The name of the card issuer
        issuerCountry - The card issuer's country (two-letter ISO code)
        productId - The issuer/card scheme product identifier
        productType - The issuer/card scheme product type
        avsCheck - The Address Verification System check result
        cvvCheck - The card verification value (CVV) check result
        paymentAccountReference - A unique reference to the underlying card for network tokens (e.g., Apple Pay, Google Pay)
        encryptedCardNumber - The JWE encrypted full card number that has been updated by real-time account updater.
        accountUpdateStatus - Specifies what card information was updated by the Real-Time Account Updater.
        accountUpdateFailureCode - Provides the failure code if the Real-Time Account Updater fails to update the card information.
        accountHolder - Information about the account holder of the card
    • Method Detail

      • getType

        public PaymentSourceType getType()
        The payment source type. sepabank_accountalipay_cnachcardcard
      • getExpiryMonth

        public java.lang.Integer getExpiryMonth()
        The expiry month
      • getExpiryYear

        public java.lang.Integer getExpiryYear()
        The expiry year
      • getLast4

        public java.lang.String getLast4()
        The last four digits of the card number
      • getFingerprint

        public java.lang.String getFingerprint()
        Uniquely identifies this particular card number. You can use this to compare cards across customers.
      • getBin

        public java.lang.String getBin()
        The card issuer's Bank Identification Number (BIN)
      • getId

        public java.lang.String getId()
        The payment source identifier that can be used for subsequent payments. For new sources, this will only be returned if the payment was approved
      • getBillingAddress

        public Address getBillingAddress()
        The payment source owner's billing address
      • getPhone

        public Phone getPhone()
        The payment source owner's phone number
      • getName

        public java.lang.String getName()
        The cardholder's name
      • getScheme

        public java.lang.String getScheme()
        The card scheme
      • getSchemeLocal

        public java.lang.String getSchemeLocal()
        Deprecated Replaced by local_schemes The local co-branded card scheme.
      • getLocalSchemes

        public java.util.List<java.lang.String> getLocalSchemes()
        The local co-branded card schemes.
      • getCardType

        public CardType getCardType()
        The card type
      • getCardWalletType

        public CardWalletType getCardWalletType()
        The card wallet type
      • getIssuer

        public java.lang.String getIssuer()
        The name of the card issuer
      • getIssuerCountry

        public java.lang.String getIssuerCountry()
        The card issuer's country (two-letter ISO code)
      • getProductId

        public java.lang.String getProductId()
        The issuer/card scheme product identifier
      • getProductType

        public java.lang.String getProductType()
        The issuer/card scheme product type
      • getAvsCheck

        public java.lang.String getAvsCheck()
        The Address Verification System check result
      • getCvvCheck

        public java.lang.String getCvvCheck()
        The card verification value (CVV) check result
      • getPaymentAccountReference

        public java.lang.String getPaymentAccountReference()
        A unique reference to the underlying card for network tokens (e.g., Apple Pay, Google Pay)
      • getEncryptedCardNumber

        public java.lang.String getEncryptedCardNumber()
        The JWE encrypted full card number that has been updated by real-time account updater.
      • getAccountUpdateStatus

        public AccountUpdateStatusType getAccountUpdateStatus()
        Specifies what card information was updated by the Real-Time Account Updater.
      • getAccountUpdateFailureCode

        public java.lang.String getAccountUpdateFailureCode()
        Provides the failure code if the Real-Time Account Updater fails to update the card information.
      • getAccountHolder

        public AbstractAccountHolder getAccountHolder()
        Information about the account holder of the card
      • setType

        public void setType​(PaymentSourceType type)
        The payment source type. sepabank_accountalipay_cnachcardcard
      • setExpiryMonth

        public void setExpiryMonth​(java.lang.Integer expiryMonth)
        The expiry month
      • setExpiryYear

        public void setExpiryYear​(java.lang.Integer expiryYear)
        The expiry year
      • setLast4

        public void setLast4​(java.lang.String last4)
        The last four digits of the card number
      • setFingerprint

        public void setFingerprint​(java.lang.String fingerprint)
        Uniquely identifies this particular card number. You can use this to compare cards across customers.
      • setBin

        public void setBin​(java.lang.String bin)
        The card issuer's Bank Identification Number (BIN)
      • setId

        public void setId​(java.lang.String id)
        The payment source identifier that can be used for subsequent payments. For new sources, this will only be returned if the payment was approved
      • setBillingAddress

        public void setBillingAddress​(Address billingAddress)
        The payment source owner's billing address
      • setPhone

        public void setPhone​(Phone phone)
        The payment source owner's phone number
      • setName

        public void setName​(java.lang.String name)
        The cardholder's name
      • setScheme

        public void setScheme​(java.lang.String scheme)
        The card scheme
      • setSchemeLocal

        public void setSchemeLocal​(java.lang.String schemeLocal)
        Deprecated Replaced by local_schemes The local co-branded card scheme.
      • setLocalSchemes

        public void setLocalSchemes​(java.util.List<java.lang.String> localSchemes)
        The local co-branded card schemes.
      • setCardType

        public void setCardType​(CardType cardType)
        The card type
      • setCardCategory

        public void setCardCategory​(CardCategoryType cardCategory)
        The card category
      • setCardWalletType

        public void setCardWalletType​(CardWalletType cardWalletType)
        The card wallet type
      • setIssuer

        public void setIssuer​(java.lang.String issuer)
        The name of the card issuer
      • setIssuerCountry

        public void setIssuerCountry​(java.lang.String issuerCountry)
        The card issuer's country (two-letter ISO code)
      • setProductId

        public void setProductId​(java.lang.String productId)
        The issuer/card scheme product identifier
      • setProductType

        public void setProductType​(java.lang.String productType)
        The issuer/card scheme product type
      • setAvsCheck

        public void setAvsCheck​(java.lang.String avsCheck)
        The Address Verification System check result
      • setCvvCheck

        public void setCvvCheck​(java.lang.String cvvCheck)
        The card verification value (CVV) check result
      • setPaymentAccountReference

        public void setPaymentAccountReference​(java.lang.String paymentAccountReference)
        A unique reference to the underlying card for network tokens (e.g., Apple Pay, Google Pay)
      • setEncryptedCardNumber

        public void setEncryptedCardNumber​(java.lang.String encryptedCardNumber)
        The JWE encrypted full card number that has been updated by real-time account updater.
      • setAccountUpdateStatus

        public void setAccountUpdateStatus​(AccountUpdateStatusType accountUpdateStatus)
        Specifies what card information was updated by the Real-Time Account Updater.
      • setAccountUpdateFailureCode

        public void setAccountUpdateFailureCode​(java.lang.String accountUpdateFailureCode)
        Provides the failure code if the Real-Time Account Updater fails to update the card information.
      • setAccountHolder

        public void setAccountHolder​(AbstractAccountHolder accountHolder)
        Information about the account holder of the card
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

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