Class CadenceCreateParams.BillingCycle.Week.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setDayOfWeek

      public CadenceCreateParams.BillingCycle.Week.Builder setDayOfWeek(Integer dayOfWeek)
      Required. The day of the week to bill the type=week billing cycle on. Numbered from 1-7 for Monday to Sunday respectively, based on the ISO-8601 week day numbering. If not provided, this will default to the day the cadence was created.
    • putExtraParam

      public CadenceCreateParams.BillingCycle.Week.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.Week.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.Week.extraParams for the field documentation.
    • 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.