Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions
- Enclosing class:
- PaymentIntentUpdateParams.PaymentMethodOptions.Card
public static class PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions
extends Object
Required. Type of installment plan, one of
fixed_count
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Required. Amount to be charged for future payments.Required. One offixed
ormaximum
.A description of the mandate or subscription that is meant to be displayed to the customer.End date of the mandate or subscription.Map of extra parameters for custom features not available in this client library.Required. Specifies payment frequency.The number of intervals between payments.Required. Unique identifier for the mandate or subscription.Required. Start date of the mandate or subscription.Specifies the type of mandates supported.
-
Method Details
-
builder
-
getAmount
Required. Amount to be charged for future payments. -
getAmountType
public PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.AmountType getAmountType()Required. 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. -
getDescription
A description of the mandate or subscription that is meant to be displayed to the customer. -
getEndDate
End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getInterval
Required. Specifies payment frequency. One ofday
,week
,month
,year
, orsporadic
. -
getIntervalCount
The number of intervals between payments. For example,interval=month
andinterval_count=3
indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional wheninterval=sporadic
. -
getReference
Required. Unique identifier for the mandate or subscription. -
getStartDate
Required. Start date of the mandate or subscription. Start date should not be lesser than yesterday. -
getSupportedTypes
public List<PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.SupportedType> getSupportedTypes()Specifies the type of mandates supported. Possible values areindia
.
-