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

public static class PaymentIntent.PaymentMethodOptions.Card.MandateOptions extends StripeObject
For more details about MandateOptions, please refer to the API Reference.
  • Constructor Details

    • MandateOptions

      public MandateOptions()
  • Method Details

    • getAmount

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

      public String getAmountType()
      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 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.
    • getInterval

      public String getInterval()
      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()
      Unique identifier for the mandate or subscription.
    • getStartDate

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

      public List<String> getSupportedTypes()
      Specifies the type of mandates supported. Possible values are india.
    • setAmount

      public void setAmount(Long amount)
      Amount to be charged for future payments.
    • setAmountType

      public void setAmountType(String amountType)
      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.
    • setDescription

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

      public void setEndDate(Long endDate)
      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

      public void setInterval(String interval)
      Specifies payment frequency. One of day, week, month, year, or sporadic.
    • setIntervalCount

      public void setIntervalCount(Long intervalCount)
      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.
    • setReference

      public void setReference(String reference)
      Unique identifier for the mandate or subscription.
    • setStartDate

      public void setStartDate(Long startDate)
      Start date of the mandate or subscription. Start date should not be lesser than yesterday.
    • setSupportedTypes

      public void setSupportedTypes(List<String> supportedTypes)
      Specifies the type of mandates supported. Possible values are india.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object