Class LinkApplePay
- java.lang.Object
-
- io.moov.sdk.models.components.LinkApplePay
-
public class LinkApplePay extends java.lang.ObjectLinkApplePayThe 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinkApplePay.Builder
-
Constructor Summary
Constructors Constructor Description LinkApplePay(LinkApplePayToken token)LinkApplePay(LinkApplePayToken token, java.util.Optional<? extends AppleBillingContact> billingContact)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<AppleBillingContact>billingContact()Billing contact information as returned from Apple Pay.static LinkApplePay.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()LinkApplePayTokentoken()Contains the user's payment information as returned from Apple Pay.java.lang.StringtoString()LinkApplePaywithBillingContact(AppleBillingContact billingContact)Billing contact information as returned from Apple Pay.LinkApplePaywithBillingContact(java.util.Optional<? extends AppleBillingContact> billingContact)Billing contact information as returned from Apple Pay.LinkApplePaywithToken(LinkApplePayToken token)Contains the user's payment information as returned from Apple Pay.
-
-
-
Constructor Detail
-
LinkApplePay
public LinkApplePay(LinkApplePayToken token, java.util.Optional<? extends AppleBillingContact> billingContact)
-
LinkApplePay
public LinkApplePay(LinkApplePayToken token)
-
-
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.
-
builder
public static LinkApplePay.Builder builder()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-