Class Applepay.ApplepayBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessions.requests.Applepay.ApplepayBuilder
-
- Enclosing class:
- Applepay
public static class Applepay.ApplepayBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Applepay.ApplepayBuilderaccountHolder(AbstractAccountHolder accountHolder)The account holder's details.Applepaybuild()Applepay.ApplepayBuilderstorePaymentDetails(StorePaymentDetailsType storePaymentDetails)Default: "disabled" Specifies whether you intend to store the cardholder's payment details.java.lang.StringtoString()
-
-
-
Method Detail
-
storePaymentDetails
public Applepay.ApplepayBuilder storePaymentDetails(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- Returns:
this.
-
accountHolder
public Applepay.ApplepayBuilder accountHolder(AbstractAccountHolder accountHolder)
The account holder's details.- Returns:
this.
-
build
public Applepay build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-