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