Package com.stripe.param
Class SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder
public static class SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.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.Amount to be charged for future payments.setAmountType
(SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType amountType) One offixed
ormaximum
.setDescription
(EmptyParam description) A description of the mandate or subscription that is meant to be displayed to the customer.setDescription
(String description) A description of the mandate or subscription that is meant to be displayed to the customer.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder setAmount(Long amount) Amount to be charged for future payments. -
setAmountType
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder setAmountType(SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType amountType) One offixed
ormaximum
. Iffixed
, theamount
param refers to the exact amount to be charged in future payments. Ifmaximum
, the amount charged can be up to the value passed for theamount
param. -
setDescription
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder setDescription(String description) A description of the mandate or subscription that is meant to be displayed to the customer. -
setDescription
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder setDescription(EmptyParam description) A description of the mandate or subscription that is meant to be displayed to the customer. -
putExtraParam
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.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.Card.MandateOptions.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.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.Card.MandateOptions.extraParams
for the field documentation.
-