Package com.stripe.model
Class PaymentIntent.PaymentMethodOptions.Card.MandateOptions
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentMethodOptions.Card.MandateOptions
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent.PaymentMethodOptions.Card
For more details about MandateOptions, please refer to the API Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Amount to be charged for future payments.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.Specifies payment frequency.The number of intervals between payments.Unique identifier for the mandate or subscription.Start date of the mandate or subscription.Specifies the type of mandates supported.int
hashCode()
void
Amount to be charged for future payments.void
setAmountType
(String amountType) One offixed
ormaximum
.void
setDescription
(String description) A description of the mandate or subscription that is meant to be displayed to the customer.void
setEndDate
(Long endDate) End date of the mandate or subscription.void
setInterval
(String interval) Specifies payment frequency.void
setIntervalCount
(Long intervalCount) The number of intervals between payments.void
setReference
(String reference) Unique identifier for the mandate or subscription.void
setStartDate
(Long startDate) Start date of the mandate or subscription.void
setSupportedTypes
(List<String> supportedTypes) Specifies the type of mandates supported.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
MandateOptions
public MandateOptions()
-
-
Method Details
-
getAmount
Amount to be charged for future payments. -
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. -
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. -
getInterval
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
Unique identifier for the mandate or subscription. -
getStartDate
Start date of the mandate or subscription. Start date should not be lesser than yesterday. -
getSupportedTypes
Specifies the type of mandates supported. Possible values areindia
. -
setAmount
Amount to be charged for future payments. -
setAmountType
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
A description of the mandate or subscription that is meant to be displayed to the customer. -
setEndDate
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. -
setInterval
Specifies payment frequency. One ofday
,week
,month
,year
, orsporadic
. -
setIntervalCount
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
. -
setReference
Unique identifier for the mandate or subscription. -
setStartDate
Start date of the mandate or subscription. Start date should not be lesser than yesterday. -
setSupportedTypes
Specifies the type of mandates supported. Possible values areindia
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-