Class MeterEventStreamCreateParams.Builder

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

public static class MeterEventStreamCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • addEvent

      Add an element to `events` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See MeterEventStreamCreateParams.events for the field documentation.
    • addAllEvent

      Add all elements to `events` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See MeterEventStreamCreateParams.events for the field documentation.
    • putExtraParam

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

      public MeterEventStreamCreateParams.Builder putAllExtraParam(Map<String,Object> map)
      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 MeterEventStreamCreateParams.extraParams for the field documentation.