Package com.stripe.param.billing
Class MeterUsageRetrieveParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.billing.MeterUsageRetrieveParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static enum
Add all map key/value pairs to `tenantFilters` map.static enum
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 TypeMethodDescriptionbuilder()
protected boolean
boolean
Required. The customer id to fetch meter usage data for.Required. The timestamp from when to stop aggregating meter events (exclusive).Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.An array of meter parameters to specify which meters to include in the usage data.Required. The timestamp from when to start aggregating meter events (inclusive).The timezone to use for the start and end times.Specifies what granularity to use when aggregating meter usage events.int
hashCode()
Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getCustomer
Required. The customer id to fetch meter usage data for. -
getEndTime
Required. The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries. -
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. -
getMeters
An array of meter parameters to specify which meters to include in the usage data. If not specified, usage across all meters for the customer is included. -
getStartTime
Required. The timestamp from when to start aggregating meter events (inclusive). Must be aligned with minute boundaries. -
getTimezone
The timezone to use for the start and end times. Defaults to UTC if not specified. -
getValueGroupingWindow
Specifies what granularity to use when aggregating meter usage events. If not specified, a single event would be returned for the specified time range. -
equals
-
canEqual
-
hashCode
public int hashCode()
-