Package io.moov.sdk.models.components
Class ApplePayResponse.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.ApplePayResponse.Builder
-
- Enclosing class:
- ApplePayResponse
public static final class ApplePayResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplePayResponse.Builderbrand(CardBrand brand)The card brand.ApplePayResponsebuild()ApplePayResponse.BuildercardDisplayName(java.lang.String cardDisplayName)User-friendly name of the tokenized card returned by Apple.ApplePayResponse.BuildercardType(CardType cardType)The type of the card.ApplePayResponse.BuilderdynamicLastFour(java.lang.String dynamicLastFour)The last four digits of the Apple Pay token, which may differ from the tokenized card's last four digits.ApplePayResponse.Builderexpiration(CardExpiration expiration)The expiration date of the card or token.ApplePayResponse.Builderfingerprint(java.lang.String fingerprint)Uniquely identifies a linked payment card or token.ApplePayResponse.BuilderissuerCountry(java.lang.String issuerCountry)Country where the underlying card was issued.ApplePayResponse.BuilderissuerCountry(java.util.Optional<java.lang.String> issuerCountry)Country where the underlying card was issued.
-
-
-
Method Detail
-
brand
public ApplePayResponse.Builder brand(CardBrand brand)
The card brand.
-
cardType
public ApplePayResponse.Builder cardType(CardType cardType)
The type of the card.
-
cardDisplayName
public ApplePayResponse.Builder cardDisplayName(java.lang.String cardDisplayName)
User-friendly name of the tokenized card returned by Apple.It usually contains the brand and the last four digits of the underlying card. There is no standard format.
-
fingerprint
public ApplePayResponse.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.
-
expiration
public ApplePayResponse.Builder expiration(CardExpiration expiration)
The expiration date of the card or token.
-
dynamicLastFour
public ApplePayResponse.Builder dynamicLastFour(java.lang.String dynamicLastFour)
The last four digits of the Apple Pay token, which may differ from the tokenized card's last four digits.
-
issuerCountry
public ApplePayResponse.Builder issuerCountry(java.lang.String issuerCountry)
Country where the underlying card was issued.
-
issuerCountry
public ApplePayResponse.Builder issuerCountry(java.util.Optional<java.lang.String> issuerCountry)
Country where the underlying card was issued.
-
build
public ApplePayResponse build()
-
-