Package com.stripe.param.billing
Class MeterCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.billing.MeterCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
Add all map key/value pairs to `extraParams` map.static class
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionstatic MeterCreateParams.Builder
builder()
Fields that specify how to map a meter event to a customer.Required. The default settings to aggregate a meter's events with.Required. The meter's name.Required. The name of the meter event to record usage for.The time window to pre-aggregate meter events for, if any.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.Fields that specify how to calculate a meter event's value.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getCustomerMapping
Fields that specify how to map a meter event to a customer. -
getDefaultAggregation
Required. The default settings to aggregate a meter's events with. -
getDisplayName
Required. The meter's name. -
getEventName
Required. The name of the meter event to record usage for. Corresponds with theevent_name
field on meter events. -
getEventTimeWindow
The time window to pre-aggregate meter events for, if any. -
getExpand
Specifies which fields in the response should be expanded. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getValueSettings
Fields that specify how to calculate a meter event's value.
-