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 booleanbooleanAmount to be charged for future payments.One offixedormaximum.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.inthashCode()voidAmount to be charged for future payments.voidsetAmountType(String amountType) One offixedormaximum.voidsetDescription(String description) A description of the mandate or subscription that is meant to be displayed to the customer.voidsetEndDate(Long endDate) End date of the mandate or subscription.voidsetInterval(String interval) Specifies payment frequency.voidsetIntervalCount(Long intervalCount) The number of intervals between payments.voidsetReference(String reference) Unique identifier for the mandate or subscription.voidsetStartDate(Long startDate) Start date of the mandate or subscription.voidsetSupportedTypes(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 offixedormaximum. Iffixed, theamountparam refers to the exact amount to be charged in future payments. Ifmaximum, the amount charged can be up to the value passed for theamountparam. -
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=monthandinterval_count=3indicates 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 offixedormaximum. Iffixed, theamountparam refers to the exact amount to be charged in future payments. Ifmaximum, the amount charged can be up to the value passed for theamountparam. -
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=monthandinterval_count=3indicates 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()
-