Package com.stripe.param.checkout
Class SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder
- Enclosing class:
- SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions
public static class SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDefaultFor
(List<SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor> elements) Add all elements to `defaultFor` list.Add an element to `defaultFor` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setCustomMandateUrl
(EmptyParam customMandateUrl) A URL for custom mandate text to render during confirmation step.setCustomMandateUrl
(String customMandateUrl) A URL for custom mandate text to render during confirmation step.setIntervalDescription
(String intervalDescription) Description of the mandate interval.setPaymentSchedule
(SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule paymentSchedule) Payment schedule for the mandate.setTransactionType
(SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType transactionType) Transaction type of the mandate.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCustomMandateUrl
public SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setCustomMandateUrl(String customMandateUrl) A URL for custom mandate text to render during confirmation step. The URL will be rendered with additional GET parameterspayment_intent
andpayment_intent_client_secret
when confirming a Payment Intent, orsetup_intent
andsetup_intent_client_secret
when confirming a Setup Intent. -
setCustomMandateUrl
public SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setCustomMandateUrl(EmptyParam customMandateUrl) A URL for custom mandate text to render during confirmation step. The URL will be rendered with additional GET parameterspayment_intent
andpayment_intent_client_secret
when confirming a Payment Intent, orsetup_intent
andsetup_intent_client_secret
when confirming a Setup Intent. -
addDefaultFor
public SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder addDefaultFor(SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor element) Add an element to `defaultFor` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.defaultFor
for the field documentation. -
addAllDefaultFor
public SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder addAllDefaultFor(List<SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor> elements) Add all elements to `defaultFor` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.defaultFor
for the field documentation. -
putExtraParam
public SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.extraParams
for the field documentation. -
setIntervalDescription
public SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setIntervalDescription(String intervalDescription) Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. -
setPaymentSchedule
public SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setPaymentSchedule(SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule paymentSchedule) Payment schedule for the mandate. -
setTransactionType
public SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setTransactionType(SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType transactionType) Transaction type of the mandate.
-