Class Cadence.BillingCycle

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.Cadence.BillingCycle
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Cadence

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

    • BillingCycle

      public BillingCycle()
  • Method Details

    • getDay

      public Cadence.BillingCycle.Day getDay()
      Specific configuration for determining billing dates when type=day.
    • getIntervalCount

      public Integer getIntervalCount()
      The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months.
    • getMonth

      public Cadence.BillingCycle.Month getMonth()
      Specific configuration for determining billing dates when type=month.
    • getType

      public String getType()
      The frequency at which a cadence bills.

      One of day, month, week, or year.

    • getWeek

      public Cadence.BillingCycle.Week getWeek()
      Specific configuration for determining billing dates when type=week.
    • getYear

      public Cadence.BillingCycle.Year getYear()
      Specific configuration for determining billing dates when type=year.
    • setDay

      public void setDay(Cadence.BillingCycle.Day day)
      Specific configuration for determining billing dates when type=day.
    • setIntervalCount

      public void setIntervalCount(Integer intervalCount)
      The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months.
    • setMonth

      public void setMonth(Cadence.BillingCycle.Month month)
      Specific configuration for determining billing dates when type=month.
    • setType

      public void setType(String type)
      The frequency at which a cadence bills.

      One of day, month, week, or year.

    • setWeek

      public void setWeek(Cadence.BillingCycle.Week week)
      Specific configuration for determining billing dates when type=week.
    • setYear

      public void setYear(Cadence.BillingCycle.Year year)
      Specific configuration for determining billing dates when type=year.
    • 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