Class PaymentSetupSource
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.setups.responses.PaymentSetupSource
-
public class PaymentSetupSource extends java.lang.ObjectSource information for payment setup confirm response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentSetupSource.PaymentSetupSourceBuilder
-
Constructor Summary
Constructors Constructor Description PaymentSetupSource()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 newPaymentSetupSourceinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentSetupSource.PaymentSetupSourceBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AbstractAccountHoldergetAccountHolder()Information about the account holder of the cardjava.lang.StringgetAccountUpdateFailureCode()Provides the failure code if the Real-Time Account Updater fails to update the card information.AccountUpdateStatusTypegetAccountUpdateStatus()Specifies what card information was updated by the Real-Time Account Updater.java.lang.StringgetAvsCheck()The Address Verification System check resultAddressgetBillingAddress()The payment source owner's billing addressjava.lang.StringgetBin()The card issuer's Bank Identification Number (BIN)CardCategoryTypegetCardCategory()The card categoryCardTypegetCardType()The card typeCardWalletTypegetCardWalletType()The card wallet typejava.lang.StringgetCvvCheck()The card verification value (CVV) check resultjava.lang.StringgetEncryptedCardNumber()The JWE encrypted full card number that has been updated by real-time account updater.java.lang.IntegergetExpiryMonth()The expiry monthjava.lang.IntegergetExpiryYear()The expiry yearjava.lang.StringgetFingerprint()Uniquely identifies this particular card number.java.lang.StringgetId()The payment source identifier that can be used for subsequent payments.java.lang.StringgetIssuer()The name of the card issuerjava.lang.StringgetIssuerCountry()The card issuer's country (two-letter ISO code)java.lang.StringgetLast4()The last four digits of the card numberjava.util.List<java.lang.String>getLocalSchemes()The local co-branded card schemes.java.lang.StringgetName()The cardholder's namejava.lang.StringgetPaymentAccountReference()A unique reference to the underlying card for network tokens (e.g., Apple Pay, Google Pay)PhonegetPhone()The payment source owner's phone numberjava.lang.StringgetProductId()The issuer/card scheme product identifierjava.lang.StringgetProductType()The issuer/card scheme product typejava.lang.StringgetScheme()The card schemejava.lang.StringgetSchemeLocal()Deprecated Replaced by local_schemes The local co-branded card scheme.PaymentSourceTypegetType()The payment source type.inthashCode()voidsetAccountHolder(AbstractAccountHolder accountHolder)Information about the account holder of the cardvoidsetAccountUpdateFailureCode(java.lang.String accountUpdateFailureCode)Provides the failure code if the Real-Time Account Updater fails to update the card information.voidsetAccountUpdateStatus(AccountUpdateStatusType accountUpdateStatus)Specifies what card information was updated by the Real-Time Account Updater.voidsetAvsCheck(java.lang.String avsCheck)The Address Verification System check resultvoidsetBillingAddress(Address billingAddress)The payment source owner's billing addressvoidsetBin(java.lang.String bin)The card issuer's Bank Identification Number (BIN)voidsetCardCategory(CardCategoryType cardCategory)The card categoryvoidsetCardType(CardType cardType)The card typevoidsetCardWalletType(CardWalletType cardWalletType)The card wallet typevoidsetCvvCheck(java.lang.String cvvCheck)The card verification value (CVV) check resultvoidsetEncryptedCardNumber(java.lang.String encryptedCardNumber)The JWE encrypted full card number that has been updated by real-time account updater.voidsetExpiryMonth(java.lang.Integer expiryMonth)The expiry monthvoidsetExpiryYear(java.lang.Integer expiryYear)The expiry yearvoidsetFingerprint(java.lang.String fingerprint)Uniquely identifies this particular card number.voidsetId(java.lang.String id)The payment source identifier that can be used for subsequent payments.voidsetIssuer(java.lang.String issuer)The name of the card issuervoidsetIssuerCountry(java.lang.String issuerCountry)The card issuer's country (two-letter ISO code)voidsetLast4(java.lang.String last4)The last four digits of the card numbervoidsetLocalSchemes(java.util.List<java.lang.String> localSchemes)The local co-branded card schemes.voidsetName(java.lang.String name)The cardholder's namevoidsetPaymentAccountReference(java.lang.String paymentAccountReference)A unique reference to the underlying card for network tokens (e.g., Apple Pay, Google Pay)voidsetPhone(Phone phone)The payment source owner's phone numbervoidsetProductId(java.lang.String productId)The issuer/card scheme product identifiervoidsetProductType(java.lang.String productType)The issuer/card scheme product typevoidsetScheme(java.lang.String scheme)The card schemevoidsetSchemeLocal(java.lang.String schemeLocal)Deprecated Replaced by local_schemes The local co-branded card scheme.voidsetType(PaymentSourceType type)The payment source type.java.lang.StringtoString()
-
-
-
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 newPaymentSetupSourceinstance.- Parameters:
type- The payment source type. sepabank_accountalipay_cnachcardcardexpiryMonth- The expiry monthexpiryYear- The expiry yearlast4- The last four digits of the card numberfingerprint- 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 approvedbillingAddress- The payment source owner's billing addressphone- The payment source owner's phone numbername- The cardholder's namescheme- The card schemeschemeLocal- Deprecated Replaced by local_schemes The local co-branded card scheme.localSchemes- The local co-branded card schemes.cardType- The card typecardCategory- The card categorycardWalletType- The card wallet typeissuer- The name of the card issuerissuerCountry- The card issuer's country (two-letter ISO code)productId- The issuer/card scheme product identifierproductType- The issuer/card scheme product typeavsCheck- The Address Verification System check resultcvvCheck- The card verification value (CVV) check resultpaymentAccountReference- 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
-
builder
public static PaymentSetupSource.PaymentSetupSourceBuilder builder()
-
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
-
getCardCategory
public CardCategoryType getCardCategory()
The card category
-
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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-