Package com.stripe.param
Class SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions
- java.lang.Object
-
- com.stripe.param.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions
-
- Enclosing class:
- SetupIntentCreateParams.PaymentMethodOptions.Card
public static class SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType
static class
SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Builder
static class
SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval
static class
SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.SupportedType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Builder
builder()
java.lang.Long
getAmount()
Amount to be charged for future payments.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType
getAmountType()
One offixed
ormaximum
.java.lang.String
getCurrency()
Currency in which future payments will be charged.java.lang.String
getDescription()
A description of the mandate or subscription that is meant to be displayed to the customer.java.lang.Long
getEndDate()
End date of the mandate or subscription.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval
getInterval()
Specifies payment frequency.java.lang.Long
getIntervalCount()
The number of intervals between payments.java.lang.String
getReference()
Unique identifier for the mandate or subscription.java.lang.Long
getStartDate()
Start date of the mandate or subscription.java.util.List<SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.SupportedType>
getSupportedTypes()
Specifies the type of mandates supported.
-
-
-
Method Detail
-
builder
public static SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Builder builder()
-
getAmount
public java.lang.Long getAmount()
Amount to be charged for future payments.
-
getAmountType
public SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType getAmountType()
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.
-
getCurrency
public java.lang.String getCurrency()
Currency in which future payments will be charged. Three-letter ISO currency code, in lowercase. Must be a supported currency.
-
getDescription
public java.lang.String getDescription()
A description of the mandate or subscription that is meant to be displayed to the customer.
-
getEndDate
public java.lang.Long 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
public java.util.Map<java.lang.String,java.lang.Object> 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
public SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval getInterval()
Specifies payment frequency. One ofday
,week
,month
,year
, orsporadic
.
-
getIntervalCount
public java.lang.Long 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
public java.lang.String getReference()
Unique identifier for the mandate or subscription.
-
getStartDate
public java.lang.Long getStartDate()
Start date of the mandate or subscription. Start date should not be lesser than yesterday.
-
getSupportedTypes
public java.util.List<SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.SupportedType> getSupportedTypes()
Specifies the type of mandates supported. Possible values areindia
.
-
-