Package com.stripe.param
Class SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder
- java.lang.Object
-
- com.stripe.param.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder
-
public static class SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions build()
Finalize and obtain parameter instance from this builder.
-
setAmount
public SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder setAmount(java.lang.Long amount)
Amount to be charged for future payments.
-
setAmountType
public SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder setAmountType(SubscriptionCreateParams.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 SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder setDescription(java.lang.String description)
A description of the mandate or subscription that is meant to be displayed to the customer.
-
putExtraParam
public SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder putExtraParam(java.lang.String key, java.lang.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. SeeSubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.extraParams
for the field documentation.
-
putAllExtraParam
public SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
-
-