Package io.moov.sdk.models.components
Class PaymentMethodsCard.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.PaymentMethodsCard.Builder
-
- Enclosing class:
- PaymentMethodsCard
public static final class PaymentMethodsCard.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentMethodsCard.BuilderbillingAddress(CardAddress billingAddress)PaymentMethodsCard.Builderbin(java.lang.String bin)The first six to eight digits of the card number, which identifies the financial institution that issued the card.PaymentMethodsCard.Builderbrand(CardBrand brand)The card brand.PaymentMethodsCardbuild()PaymentMethodsCard.BuildercardAccountUpdater(CardAccountUpdater cardAccountUpdater)The results of the most recent card update request.PaymentMethodsCard.BuildercardAccountUpdater(java.util.Optional<? extends CardAccountUpdater> cardAccountUpdater)The results of the most recent card update request.PaymentMethodsCard.BuildercardID(java.lang.String cardID)ID of the card.PaymentMethodsCard.BuildercardOnFile(boolean cardOnFile)Indicates cardholder has authorized card to be stored for future payments.PaymentMethodsCard.BuildercardOnFile(java.util.Optional<java.lang.Boolean> cardOnFile)Indicates cardholder has authorized card to be stored for future payments.PaymentMethodsCard.BuildercardType(CardType cardType)The type of the card.PaymentMethodsCard.BuildercardVerification(CardVerification cardVerification)The results of submitting cardholder data to a card network for verification.PaymentMethodsCard.BuilderdomesticPullFromCard(DomesticPullFromCard domesticPullFromCard)Indicates if the card supports domestic pull-from-card transfer.PaymentMethodsCard.BuilderdomesticPullFromCard(java.util.Optional<? extends DomesticPullFromCard> domesticPullFromCard)Indicates if the card supports domestic pull-from-card transfer.PaymentMethodsCard.BuilderdomesticPushToCard(DomesticPushToCard domesticPushToCard)Indicates which level of domestic push-to-card transfer is supported by the card, if any.PaymentMethodsCard.BuilderdomesticPushToCard(java.util.Optional<? extends DomesticPushToCard> domesticPushToCard)Indicates which level of domestic push-to-card transfer is supported by the card, if any.PaymentMethodsCard.Builderexpiration(CardExpiration expiration)The expiration date of the card or token.PaymentMethodsCard.Builderfingerprint(java.lang.String fingerprint)Uniquely identifies a linked payment card or token.PaymentMethodsCard.BuilderholderName(java.lang.String holderName)The name of the cardholder as it appears on the card.PaymentMethodsCard.BuilderholderName(java.util.Optional<java.lang.String> holderName)The name of the cardholder as it appears on the card.PaymentMethodsCard.Builderissuer(java.lang.String issuer)Financial institution that issued the card.PaymentMethodsCard.Builderissuer(java.util.Optional<java.lang.String> issuer)Financial institution that issued the card.PaymentMethodsCard.BuilderissuerCountry(java.lang.String issuerCountry)Country where the card was issued.PaymentMethodsCard.BuilderissuerCountry(java.util.Optional<java.lang.String> issuerCountry)Country where the card was issued.PaymentMethodsCard.BuilderlastFourCardNumber(java.lang.String lastFourCardNumber)Last four digits of the card numberPaymentMethodsCard.BuildermerchantAccountID(java.lang.String merchantAccountID)PaymentMethodsCard.BuildermerchantAccountID(java.util.Optional<java.lang.String> merchantAccountID)
-
-
-
Method Detail
-
cardID
public PaymentMethodsCard.Builder cardID(java.lang.String cardID)
ID of the card.
-
fingerprint
public PaymentMethodsCard.Builder fingerprint(java.lang.String fingerprint)
Uniquely identifies a linked payment card or token. For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device. This field can be used to identify specific payment methods across multiple accounts on your platform.
-
brand
public PaymentMethodsCard.Builder brand(CardBrand brand)
The card brand.
-
cardType
public PaymentMethodsCard.Builder cardType(CardType cardType)
The type of the card.
-
lastFourCardNumber
public PaymentMethodsCard.Builder lastFourCardNumber(java.lang.String lastFourCardNumber)
Last four digits of the card number
-
bin
public PaymentMethodsCard.Builder bin(java.lang.String bin)
The first six to eight digits of the card number, which identifies the financial institution that issued the card.
-
expiration
public PaymentMethodsCard.Builder expiration(CardExpiration expiration)
The expiration date of the card or token.
-
holderName
public PaymentMethodsCard.Builder holderName(java.lang.String holderName)
The name of the cardholder as it appears on the card.
-
holderName
public PaymentMethodsCard.Builder holderName(java.util.Optional<java.lang.String> holderName)
The name of the cardholder as it appears on the card.
-
billingAddress
public PaymentMethodsCard.Builder billingAddress(CardAddress billingAddress)
-
cardVerification
public PaymentMethodsCard.Builder cardVerification(CardVerification cardVerification)
The results of submitting cardholder data to a card network for verification.
-
issuer
public PaymentMethodsCard.Builder issuer(java.lang.String issuer)
Financial institution that issued the card.
-
issuer
public PaymentMethodsCard.Builder issuer(java.util.Optional<java.lang.String> issuer)
Financial institution that issued the card.
-
issuerCountry
public PaymentMethodsCard.Builder issuerCountry(java.lang.String issuerCountry)
Country where the card was issued.
-
issuerCountry
public PaymentMethodsCard.Builder issuerCountry(java.util.Optional<java.lang.String> issuerCountry)
Country where the card was issued.
-
cardOnFile
public PaymentMethodsCard.Builder cardOnFile(boolean cardOnFile)
Indicates cardholder has authorized card to be stored for future payments.
-
cardOnFile
public PaymentMethodsCard.Builder cardOnFile(java.util.Optional<java.lang.Boolean> cardOnFile)
Indicates cardholder has authorized card to be stored for future payments.
-
merchantAccountID
public PaymentMethodsCard.Builder merchantAccountID(java.lang.String merchantAccountID)
-
merchantAccountID
public PaymentMethodsCard.Builder merchantAccountID(java.util.Optional<java.lang.String> merchantAccountID)
-
cardAccountUpdater
public PaymentMethodsCard.Builder cardAccountUpdater(CardAccountUpdater cardAccountUpdater)
The results of the most recent card update request.
-
cardAccountUpdater
public PaymentMethodsCard.Builder cardAccountUpdater(java.util.Optional<? extends CardAccountUpdater> cardAccountUpdater)
The results of the most recent card update request.
-
domesticPushToCard
public PaymentMethodsCard.Builder domesticPushToCard(DomesticPushToCard domesticPushToCard)
Indicates which level of domestic push-to-card transfer is supported by the card, if any.
-
domesticPushToCard
public PaymentMethodsCard.Builder domesticPushToCard(java.util.Optional<? extends DomesticPushToCard> domesticPushToCard)
Indicates which level of domestic push-to-card transfer is supported by the card, if any.
-
domesticPullFromCard
public PaymentMethodsCard.Builder domesticPullFromCard(DomesticPullFromCard domesticPullFromCard)
Indicates if the card supports domestic pull-from-card transfer.
-
domesticPullFromCard
public PaymentMethodsCard.Builder domesticPullFromCard(java.util.Optional<? extends DomesticPullFromCard> domesticPullFromCard)
Indicates if the card supports domestic pull-from-card transfer.
-
build
public PaymentMethodsCard build()
-
-