Class CadenceCreateParams.BillingCycle.Year.Builder

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

public static class CadenceCreateParams.BillingCycle.Year.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setDayOfMonth

      public CadenceCreateParams.BillingCycle.Year.Builder setDayOfMonth(Integer dayOfMonth)
      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.
    • putExtraParam

      public CadenceCreateParams.BillingCycle.Year.Builder putExtraParam(String key, Object value)
      Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See CadenceCreateParams.BillingCycle.Year.extraParams for the field documentation.
    • putAllExtraParam

      Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See CadenceCreateParams.BillingCycle.Year.extraParams for the field documentation.
    • setMonthOfYear

      public CadenceCreateParams.BillingCycle.Year.Builder setMonthOfYear(Integer monthOfYear)
      The month to bill on from 1-12. If not provided, this will default to the month the cadence was created.
    • setTime

      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.