Class ApplePayResponse.Builder

  • Enclosing class:
    ApplePayResponse

    public static final class ApplePayResponse.Builder
    extends java.lang.Object
    • Method Detail

      • 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.
      • 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.