Package com.stripe.param.billing
Class MeterCreateParams.ValueSettings.Builder
java.lang.Object
com.stripe.param.billing.MeterCreateParams.ValueSettings.Builder
- Enclosing class:
- MeterCreateParams.ValueSettings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setEventPayloadKey
(String eventPayloadKey) Required. The key in the usage event payload to use as the value for this meter.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEventPayloadKey
Required. The key in the usage event payload to use as the value for this meter. For example, if the event payload contains usage on abytes_used
field, then set the event_payload_key to "bytes_used". -
putExtraParam
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. SeeMeterCreateParams.ValueSettings.extraParams
for the field documentation. -
putAllExtraParam
-