Class PaymentSetupSource.PaymentSetupSourceBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.setups.responses.PaymentSetupSource.PaymentSetupSourceBuilder
-
- Enclosing class:
- PaymentSetupSource
public static class PaymentSetupSource.PaymentSetupSourceBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentSetupSource.PaymentSetupSourceBuilderaccountHolder(AbstractAccountHolder accountHolder)Information about the account holder of the cardPaymentSetupSource.PaymentSetupSourceBuilderaccountUpdateFailureCode(java.lang.String accountUpdateFailureCode)Provides the failure code if the Real-Time Account Updater fails to update the card information.PaymentSetupSource.PaymentSetupSourceBuilderaccountUpdateStatus(AccountUpdateStatusType accountUpdateStatus)Specifies what card information was updated by the Real-Time Account Updater.PaymentSetupSource.PaymentSetupSourceBuilderavsCheck(java.lang.String avsCheck)The Address Verification System check resultPaymentSetupSource.PaymentSetupSourceBuilderbillingAddress(Address billingAddress)The payment source owner's billing addressPaymentSetupSource.PaymentSetupSourceBuilderbin(java.lang.String bin)The card issuer's Bank Identification Number (BIN)PaymentSetupSourcebuild()PaymentSetupSource.PaymentSetupSourceBuildercardCategory(CardCategoryType cardCategory)The card categoryPaymentSetupSource.PaymentSetupSourceBuildercardType(CardType cardType)The card typePaymentSetupSource.PaymentSetupSourceBuildercardWalletType(CardWalletType cardWalletType)The card wallet typePaymentSetupSource.PaymentSetupSourceBuildercvvCheck(java.lang.String cvvCheck)The card verification value (CVV) check resultPaymentSetupSource.PaymentSetupSourceBuilderencryptedCardNumber(java.lang.String encryptedCardNumber)The JWE encrypted full card number that has been updated by real-time account updater.PaymentSetupSource.PaymentSetupSourceBuilderexpiryMonth(java.lang.Integer expiryMonth)The expiry monthPaymentSetupSource.PaymentSetupSourceBuilderexpiryYear(java.lang.Integer expiryYear)The expiry yearPaymentSetupSource.PaymentSetupSourceBuilderfingerprint(java.lang.String fingerprint)Uniquely identifies this particular card number.PaymentSetupSource.PaymentSetupSourceBuilderid(java.lang.String id)The payment source identifier that can be used for subsequent payments.PaymentSetupSource.PaymentSetupSourceBuilderissuer(java.lang.String issuer)The name of the card issuerPaymentSetupSource.PaymentSetupSourceBuilderissuerCountry(java.lang.String issuerCountry)The card issuer's country (two-letter ISO code)PaymentSetupSource.PaymentSetupSourceBuilderlast4(java.lang.String last4)The last four digits of the card numberPaymentSetupSource.PaymentSetupSourceBuilderlocalSchemes(java.util.List<java.lang.String> localSchemes)The local co-branded card schemes.PaymentSetupSource.PaymentSetupSourceBuildername(java.lang.String name)The cardholder's namePaymentSetupSource.PaymentSetupSourceBuilderpaymentAccountReference(java.lang.String paymentAccountReference)A unique reference to the underlying card for network tokens (e.g., Apple Pay, Google Pay)PaymentSetupSource.PaymentSetupSourceBuilderphone(Phone phone)The payment source owner's phone numberPaymentSetupSource.PaymentSetupSourceBuilderproductId(java.lang.String productId)The issuer/card scheme product identifierPaymentSetupSource.PaymentSetupSourceBuilderproductType(java.lang.String productType)The issuer/card scheme product typePaymentSetupSource.PaymentSetupSourceBuilderscheme(java.lang.String scheme)The card schemePaymentSetupSource.PaymentSetupSourceBuilderschemeLocal(java.lang.String schemeLocal)Deprecated Replaced by local_schemes The local co-branded card scheme.java.lang.StringtoString()PaymentSetupSource.PaymentSetupSourceBuildertype(PaymentSourceType type)The payment source type.
-
-
-
Method Detail
-
type
public PaymentSetupSource.PaymentSetupSourceBuilder type(PaymentSourceType type)
The payment source type. sepabank_accountalipay_cnachcardcard- Returns:
this.
-
expiryMonth
public PaymentSetupSource.PaymentSetupSourceBuilder expiryMonth(java.lang.Integer expiryMonth)
The expiry month- Returns:
this.
-
expiryYear
public PaymentSetupSource.PaymentSetupSourceBuilder expiryYear(java.lang.Integer expiryYear)
The expiry year- Returns:
this.
-
last4
public PaymentSetupSource.PaymentSetupSourceBuilder last4(java.lang.String last4)
The last four digits of the card number- Returns:
this.
-
fingerprint
public PaymentSetupSource.PaymentSetupSourceBuilder fingerprint(java.lang.String fingerprint)
Uniquely identifies this particular card number. You can use this to compare cards across customers.- Returns:
this.
-
bin
public PaymentSetupSource.PaymentSetupSourceBuilder bin(java.lang.String bin)
The card issuer's Bank Identification Number (BIN)- Returns:
this.
-
id
public PaymentSetupSource.PaymentSetupSourceBuilder id(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- Returns:
this.
-
billingAddress
public PaymentSetupSource.PaymentSetupSourceBuilder billingAddress(Address billingAddress)
The payment source owner's billing address- Returns:
this.
-
phone
public PaymentSetupSource.PaymentSetupSourceBuilder phone(Phone phone)
The payment source owner's phone number- Returns:
this.
-
name
public PaymentSetupSource.PaymentSetupSourceBuilder name(java.lang.String name)
The cardholder's name- Returns:
this.
-
scheme
public PaymentSetupSource.PaymentSetupSourceBuilder scheme(java.lang.String scheme)
The card scheme- Returns:
this.
-
schemeLocal
public PaymentSetupSource.PaymentSetupSourceBuilder schemeLocal(java.lang.String schemeLocal)
Deprecated Replaced by local_schemes The local co-branded card scheme.- Returns:
this.
-
localSchemes
public PaymentSetupSource.PaymentSetupSourceBuilder localSchemes(java.util.List<java.lang.String> localSchemes)
The local co-branded card schemes.- Returns:
this.
-
cardType
public PaymentSetupSource.PaymentSetupSourceBuilder cardType(CardType cardType)
The card type- Returns:
this.
-
cardCategory
public PaymentSetupSource.PaymentSetupSourceBuilder cardCategory(CardCategoryType cardCategory)
The card category- Returns:
this.
-
cardWalletType
public PaymentSetupSource.PaymentSetupSourceBuilder cardWalletType(CardWalletType cardWalletType)
The card wallet type- Returns:
this.
-
issuer
public PaymentSetupSource.PaymentSetupSourceBuilder issuer(java.lang.String issuer)
The name of the card issuer- Returns:
this.
-
issuerCountry
public PaymentSetupSource.PaymentSetupSourceBuilder issuerCountry(java.lang.String issuerCountry)
The card issuer's country (two-letter ISO code)- Returns:
this.
-
productId
public PaymentSetupSource.PaymentSetupSourceBuilder productId(java.lang.String productId)
The issuer/card scheme product identifier- Returns:
this.
-
productType
public PaymentSetupSource.PaymentSetupSourceBuilder productType(java.lang.String productType)
The issuer/card scheme product type- Returns:
this.
-
avsCheck
public PaymentSetupSource.PaymentSetupSourceBuilder avsCheck(java.lang.String avsCheck)
The Address Verification System check result- Returns:
this.
-
cvvCheck
public PaymentSetupSource.PaymentSetupSourceBuilder cvvCheck(java.lang.String cvvCheck)
The card verification value (CVV) check result- Returns:
this.
-
paymentAccountReference
public PaymentSetupSource.PaymentSetupSourceBuilder paymentAccountReference(java.lang.String paymentAccountReference)
A unique reference to the underlying card for network tokens (e.g., Apple Pay, Google Pay)- Returns:
this.
-
encryptedCardNumber
public PaymentSetupSource.PaymentSetupSourceBuilder encryptedCardNumber(java.lang.String encryptedCardNumber)
The JWE encrypted full card number that has been updated by real-time account updater.- Returns:
this.
-
accountUpdateStatus
public PaymentSetupSource.PaymentSetupSourceBuilder accountUpdateStatus(AccountUpdateStatusType accountUpdateStatus)
Specifies what card information was updated by the Real-Time Account Updater.- Returns:
this.
-
accountUpdateFailureCode
public PaymentSetupSource.PaymentSetupSourceBuilder accountUpdateFailureCode(java.lang.String accountUpdateFailureCode)
Provides the failure code if the Real-Time Account Updater fails to update the card information.- Returns:
this.
-
accountHolder
public PaymentSetupSource.PaymentSetupSourceBuilder accountHolder(AbstractAccountHolder accountHolder)
Information about the account holder of the card- Returns:
this.
-
build
public PaymentSetupSource build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-