Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder
public static class PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
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
(EmptyParam intervalDescription) Description of the mandate interval.setIntervalDescription
(String intervalDescription) Description of the mandate interval.setPaymentSchedule
(PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule paymentSchedule) Payment schedule for the mandate.setTransactionType
(PaymentIntentUpdateParams.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 PaymentIntentUpdateParams.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 PaymentIntentUpdateParams.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. -
putExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.extraParams
for the field documentation. -
setIntervalDescription
public PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setIntervalDescription(String intervalDescription) Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. -
setIntervalDescription
public PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setIntervalDescription(EmptyParam intervalDescription) Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. -
setPaymentSchedule
public PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setPaymentSchedule(PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule paymentSchedule) Payment schedule for the mandate. -
setTransactionType
public PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.Builder setTransactionType(PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType transactionType) Transaction type of the mandate.
-