Class LinkApplePaymentData.Builder

  • Enclosing class:
    LinkApplePaymentData

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

      • version

        public LinkApplePaymentData.Builder version​(java.lang.String version)
        Specifies the encryption used for the payment token ("EC_v1" or "RSA_v1").
      • signature

        public LinkApplePaymentData.Builder signature​(java.lang.String signature)
        A base64 encoded signature of the payment and header data.
      • header

        public LinkApplePaymentData.Builder header​(ApplePayHeader header)
        Information needed to decrypt Apple Pay payment data.

        Refer to [Apple's documentation](https://developer.apple.com/documentation/passkit/payment-token-format-reference#Header-keys-and-values) for more information.