Package com.stripe.param
Class SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder
java.lang.Object
com.stripe.param.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder
public static class SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDefaultFor
(List<SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor> elements) Add all elements to `defaultFor` list.addDefaultFor
(SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor element) 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
(SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule paymentSchedule) Payment schedule for the mandate.setTransactionType
(SetupIntentCreateParams.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 SetupIntentCreateParams.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 SetupIntentCreateParams.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 SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder addDefaultFor(SetupIntentCreateParams.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. SeeSetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.defaultFor
for the field documentation. -
addAllDefaultFor
public SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder addAllDefaultFor(List<SetupIntentCreateParams.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. SeeSetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.defaultFor
for the field documentation. -
putExtraParam
public SetupIntentCreateParams.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. SeeSetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.extraParams
for the field documentation. -
putAllExtraParam
public SetupIntentCreateParams.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. SeeSetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.extraParams
for the field documentation. -
setIntervalDescription
public SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setIntervalDescription(String intervalDescription) Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. -
setPaymentSchedule
public SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setPaymentSchedule(SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule paymentSchedule) Payment schedule for the mandate. -
setTransactionType
public SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setTransactionType(SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType transactionType) Transaction type of the mandate.
-