Class LinkApplePayToken
- java.lang.Object
-
- io.moov.sdk.models.components.LinkApplePayToken
-
public class LinkApplePayToken extends java.lang.ObjectLinkApplePayTokenContains the user's payment information as returned from Apple Pay.
Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken) for more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinkApplePayToken.Builder
-
Constructor Summary
Constructors Constructor Description LinkApplePayToken(LinkApplePaymentData paymentData, LinkApplePaymentMethod paymentMethod, java.lang.String transactionIdentifier)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkApplePayToken.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()LinkApplePaymentDatapaymentData()Contains the encrypted payment data.LinkApplePaymentMethodpaymentMethod()Provides information about the underlying card.java.lang.StringtoString()java.lang.StringtransactionIdentifier()A unique identifier provided by Apple Pay for this payment.LinkApplePayTokenwithPaymentData(LinkApplePaymentData paymentData)Contains the encrypted payment data.LinkApplePayTokenwithPaymentMethod(LinkApplePaymentMethod paymentMethod)Provides information about the underlying card.LinkApplePayTokenwithTransactionIdentifier(java.lang.String transactionIdentifier)A unique identifier provided by Apple Pay for this payment.
-
-
-
Constructor Detail
-
LinkApplePayToken
public LinkApplePayToken(LinkApplePaymentData paymentData, LinkApplePaymentMethod paymentMethod, java.lang.String transactionIdentifier)
-
-
Method Detail
-
paymentData
public LinkApplePaymentData paymentData()
Contains the encrypted payment data.Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916115-paymentdata) for more information.
-
paymentMethod
public LinkApplePaymentMethod paymentMethod()
Provides information about the underlying card.Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916113-paymentmethod) for more information.
-
transactionIdentifier
public java.lang.String transactionIdentifier()
A unique identifier provided by Apple Pay for this payment.
-
builder
public static final LinkApplePayToken.Builder builder()
-
withPaymentData
public LinkApplePayToken withPaymentData(LinkApplePaymentData paymentData)
Contains the encrypted payment data.Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916115-paymentdata) for more information.
-
withPaymentMethod
public LinkApplePayToken withPaymentMethod(LinkApplePaymentMethod paymentMethod)
Provides information about the underlying card.Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916113-paymentmethod) for more information.
-
withTransactionIdentifier
public LinkApplePayToken withTransactionIdentifier(java.lang.String transactionIdentifier)
A unique identifier provided by Apple Pay for this payment.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-