Class LinkApplePayToken


  • public class LinkApplePayToken
    extends java.lang.Object
    LinkApplePayToken

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

    • 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.
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object