Class PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions

Enclosing class:

public static class PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions extends Object
Required. Type of installment plan, one of fixed_count.
  • 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.
    • getDescription

      public Object 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 Object 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.