Class Applepay
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessions.requests.Applepay
-
public final class Applepay extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplepay.ApplepayBuilder
-
Constructor Summary
Constructors Constructor Description Applepay()Applepay(StorePaymentDetailsType storePaymentDetails, AbstractAccountHolder accountHolder)Creates a newApplepayinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Applepay.ApplepayBuilderbuilder()booleanequals(java.lang.Object o)AbstractAccountHoldergetAccountHolder()The account holder's details.StorePaymentDetailsTypegetStorePaymentDetails()Default: "disabled" Specifies whether you intend to store the cardholder's payment details.inthashCode()voidsetAccountHolder(AbstractAccountHolder accountHolder)The account holder's details.voidsetStorePaymentDetails(StorePaymentDetailsType storePaymentDetails)Default: "disabled" Specifies whether you intend to store the cardholder's payment details.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Applepay
public Applepay()
-
Applepay
public Applepay(StorePaymentDetailsType storePaymentDetails, AbstractAccountHolder accountHolder)
Creates a newApplepayinstance.- Parameters:
storePaymentDetails- Default: "disabled" Specifies whether you intend to store the cardholder's payment details. If you set this fieldto enabled, you must: have obtained consent from the cardholder to store their payment details provide a customer ID or email address in the request If the request's payment_type is set to one of the following values, you do not need to provide this field: Installment Recurring UnscheduledaccountHolder- The account holder's details.
-
-
Method Detail
-
builder
public static Applepay.ApplepayBuilder builder()
-
getStorePaymentDetails
public StorePaymentDetailsType getStorePaymentDetails()
Default: "disabled" Specifies whether you intend to store the cardholder's payment details. If you set this fieldto enabled, you must: have obtained consent from the cardholder to store their payment details provide a customer ID or email address in the request If the request's payment_type is set to one of the following values, you do not need to provide this field: Installment Recurring Unscheduled
-
getAccountHolder
public AbstractAccountHolder getAccountHolder()
The account holder's details.
-
setStorePaymentDetails
public void setStorePaymentDetails(StorePaymentDetailsType storePaymentDetails)
Default: "disabled" Specifies whether you intend to store the cardholder's payment details. If you set this fieldto enabled, you must: have obtained consent from the cardholder to store their payment details provide a customer ID or email address in the request If the request's payment_type is set to one of the following values, you do not need to provide this field: Installment Recurring Unscheduled
-
setAccountHolder
public void setAccountHolder(AbstractAccountHolder accountHolder)
The account holder's details.
-
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
-
-