Class Mandate.PaymentMethodDetails.Payto

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Mandate.PaymentMethodDetails.Payto
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Mandate.PaymentMethodDetails

public static class Mandate.PaymentMethodDetails.Payto extends StripeObject
For more details about Payto, please refer to the API Reference.
  • Constructor Details

    • Payto

      public Payto()
  • Method Details

    • getAmount

      public Long getAmount()
      Amount that will be collected. It is required when amount_type is fixed.
    • getAmountType

      public String getAmountType()
      The type of amount that will be collected. The amount charged must be exact or up to the value of amount param for fixed or maximum type respectively.

      One of fixed, or maximum.

    • getEndDate

      public String getEndDate()
      Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
    • getPaymentSchedule

      public String getPaymentSchedule()
      The periodicity at which payments will be collected.

      One of adhoc, annual, daily, fortnightly, monthly, quarterly, semi_annual, or weekly.

    • getPaymentsPerPeriod

      public Long getPaymentsPerPeriod()
      The number of payments that will be made during a payment period. Defaults to 1 except for when payment_schedule is adhoc. In that case, it defaults to no limit.
    • getPurpose

      public String getPurpose()
      The purpose for which payments are made. Defaults to retail.

      One of dependant_support, government, loan, mortgage, other, pension, personal, retail, salary, tax, or utility.

    • getStartDate

      public String getStartDate()
      Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
    • setAmount

      public void setAmount(Long amount)
      Amount that will be collected. It is required when amount_type is fixed.
    • setAmountType

      public void setAmountType(String amountType)
      The type of amount that will be collected. The amount charged must be exact or up to the value of amount param for fixed or maximum type respectively.

      One of fixed, or maximum.

    • setEndDate

      public void setEndDate(String endDate)
      Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
    • setPaymentSchedule

      public void setPaymentSchedule(String paymentSchedule)
      The periodicity at which payments will be collected.

      One of adhoc, annual, daily, fortnightly, monthly, quarterly, semi_annual, or weekly.

    • setPaymentsPerPeriod

      public void setPaymentsPerPeriod(Long paymentsPerPeriod)
      The number of payments that will be made during a payment period. Defaults to 1 except for when payment_schedule is adhoc. In that case, it defaults to no limit.
    • setPurpose

      public void setPurpose(String purpose)
      The purpose for which payments are made. Defaults to retail.

      One of dependant_support, government, loan, mortgage, other, pension, personal, retail, salary, tax, or utility.

    • setStartDate

      public void setStartDate(String startDate)
      Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
    • 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