Class LinkApplePay


  • public class LinkApplePay
    extends java.lang.Object
    LinkApplePay

    The JSON structure returned from Apple Pay when authorizing a payment session.

    Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypayment) for more information.

    • Method Detail

      • token

        public LinkApplePayToken token()
        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.

      • billingContact

        public java.util.Optional<AppleBillingContact> billingContact()
        Billing contact information as returned from Apple Pay.

        Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentcontact) for more information.

      • withToken

        public LinkApplePay withToken​(LinkApplePayToken token)
        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.

      • withBillingContact

        public LinkApplePay withBillingContact​(AppleBillingContact billingContact)
        Billing contact information as returned from Apple Pay.

        Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentcontact) for more information.

      • withBillingContact

        public LinkApplePay withBillingContact​(java.util.Optional<? extends AppleBillingContact> billingContact)
        Billing contact information as returned from Apple Pay.

        Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentcontact) for more information.

      • 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