Package com.stripe.param
Class SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder
java.lang.Object
com.stripe.param.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder
- Enclosing class:
- SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions
public static class SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder
extends Object
-
Constructor Summary
Constructors -
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.Amount to be charged for future payments.setAmountIncludesIof
(SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof amountIncludesIof) Determines if the amount includes the IOF tax.setAmountType
(SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType amountType) Type of amount.setCurrency
(String currency) Three-letter ISO currency code, in lowercase.setEndDate
(String endDate) Date when the mandate expires and no further payments will be charged, inYYYY-MM-DD
.setPaymentSchedule
(SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule paymentSchedule) Schedule at which the future payments will be charged.setReference
(String reference) Subscription name displayed to buyers in their bank app.setStartDate
(String startDate)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder setAmount(Long amount) Amount to be charged for future payments. Required whenamount_type=fixed
. If not provided foramount_type=maximum
, defaults to 40000. -
setAmountIncludesIof
public SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder setAmountIncludesIof(SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof amountIncludesIof) Determines if the amount includes the IOF tax. Defaults tonever
. -
setAmountType
public SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder setAmountType(SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType amountType) Type of amount. Defaults tomaximum
. -
setCurrency
public SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder setCurrency(String currency) Three-letter ISO currency code, in lowercase. Onlybrl
is supported currently. -
setEndDate
public SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder setEndDate(String endDate) Date when the mandate expires and no further payments will be charged, inYYYY-MM-DD
. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. -
putExtraParam
public SetupIntentCreateParams.PaymentMethodOptions.Pix.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.Pix.MandateOptions.extraParams
for the field documentation. -
putAllExtraParam
public SetupIntentCreateParams.PaymentMethodOptions.Pix.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.Pix.MandateOptions.extraParams
for the field documentation. -
setPaymentSchedule
public SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder setPaymentSchedule(SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule paymentSchedule) Schedule at which the future payments will be charged. Defaults toweekly
. -
setReference
public SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder setReference(String reference) Subscription name displayed to buyers in their bank app. Defaults to the displayable business name. -
setStartDate
public SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.Builder setStartDate(String startDate)
-