Class CadenceCreateParams.BillingCycle.Month

java.lang.Object
com.stripe.param.v2.billing.CadenceCreateParams.BillingCycle.Month
Enclosing class:
CadenceCreateParams.BillingCycle

public static class CadenceCreateParams.BillingCycle.Month extends Object
Required. The second at which the billing cycle ends. Must be an integer between 0 and 59, inclusive.
  • Method Details

    • builder

    • getDayOfMonth

      public Integer getDayOfMonth()
      Required. The day to anchor the billing on for a type="month" billing cycle from 1-31. If this number is greater than the number of days in the month being billed, this will anchor to the last day of the month. If not provided, this will default to the day the cadence was created.
    • 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.
    • getTime

      The time at which the billing cycle ends. This field is optional, and if not provided, it will default to the time at which the cadence was created in UTC timezone.
    • 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