Package io.moov.sdk.models.components
Class LinkApplePaymentData.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.LinkApplePaymentData.Builder
-
- Enclosing class:
- LinkApplePaymentData
public static final class LinkApplePaymentData.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkApplePaymentDatabuild()LinkApplePaymentData.Builderdata(java.lang.String data)The encrypted, base64-encoded payment data.LinkApplePaymentData.Builderheader(ApplePayHeader header)Information needed to decrypt Apple Pay payment data.LinkApplePaymentData.Buildersignature(java.lang.String signature)A base64 encoded signature of the payment and header data.LinkApplePaymentData.Builderversion(java.lang.String version)Specifies the encryption used for the payment token ("EC_v1" or "RSA_v1").
-
-
-
Method Detail
-
version
public LinkApplePaymentData.Builder version(java.lang.String version)
Specifies the encryption used for the payment token ("EC_v1" or "RSA_v1").
-
data
public LinkApplePaymentData.Builder data(java.lang.String data)
The encrypted, base64-encoded payment data.
-
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.
-
build
public LinkApplePaymentData build()
-
-