Class RateCardSubscriptionCreateParams.Builder

java.lang.Object
com.stripe.param.v2.billing.RateCardSubscriptionCreateParams.Builder
Enclosing class:
RateCardSubscriptionCreateParams

public static class RateCardSubscriptionCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setBillingCadence

      public RateCardSubscriptionCreateParams.Builder setBillingCadence(String billingCadence)
      Required. The ID of the Billing Cadence.
    • putExtraParam

      public RateCardSubscriptionCreateParams.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 RateCardSubscriptionCreateParams.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 RateCardSubscriptionCreateParams.extraParams for the field documentation.
    • putMetadata

      public RateCardSubscriptionCreateParams.Builder putMetadata(String key, String value)
      Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See RateCardSubscriptionCreateParams.metadata for the field documentation.
    • putAllMetadata

      Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See RateCardSubscriptionCreateParams.metadata for the field documentation.
    • setRateCard

      public RateCardSubscriptionCreateParams.Builder setRateCard(String rateCard)
      Required. The ID of the Rate Card.
    • setRateCardVersion

      public RateCardSubscriptionCreateParams.Builder setRateCardVersion(String rateCardVersion)
      The ID of the Rate Card Version. If not specified, defaults to the "live_version" of the Rate Card at the time of creation.