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 Object
  • Method Details

    • builder

    • getAmount

      public Long getAmount()
      Required. Amount to be charged for future payments.
    • getAmountType

      Required. One of fixed or maximum. If fixed, the amount param refers to the exact amount to be charged in future payments. If maximum, the amount charged can be up to the value passed for the amount param.
    • getCurrency

      public String getCurrency()
      Required. Currency in which future payments will be charged. Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getDescription

      public String getDescription()
      A description of the mandate or subscription that is meant to be displayed to the customer.
    • getEndDate

      public 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 Map<String,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

      Required. Specifies payment frequency. One of day, week, month, year, or sporadic.
    • getIntervalCount

      public Long getIntervalCount()
      The number of intervals between payments. For example, interval=month and interval_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 when interval=sporadic.
    • getReference

      public String getReference()
      Required. Unique identifier for the mandate or subscription.
    • getStartDate

      public Long getStartDate()
      Required. Start date of the mandate or subscription. Start date should not be lesser than yesterday.
    • getSupportedTypes

      Specifies the type of mandates supported. Possible values are india.