Package com.stripe.param
Class SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.Builder
public static class SubscriptionUpdateParams.PaymentSettings.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
(SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof amountIncludesIof) Determines if the amount includes the IOF tax.setEndDate
(EmptyParam endDate) Date when the mandate expires and no further payments will be charged, inYYYY-MM-DD
.setEndDate
(String endDate) Date when the mandate expires and no further payments will be charged, inYYYY-MM-DD
.setPaymentSchedule
(SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule paymentSchedule)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.Builder setAmount(Long amount) Amount to be charged for future payments. If not provided, defaults to 40000. -
setAmountIncludesIof
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.Builder setAmountIncludesIof(SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof amountIncludesIof) Determines if the amount includes the IOF tax. Defaults tonever
. -
setEndDate
public SubscriptionUpdateParams.PaymentSettings.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. -
setEndDate
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.Builder setEndDate(EmptyParam 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. -
putExtraParam
public SubscriptionUpdateParams.PaymentSettings.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. SeeSubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionUpdateParams.PaymentSettings.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. SeeSubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.extraParams
for the field documentation. -
setPaymentSchedule
-