Package com.stripe.param.billing
Class MeterUsageRetrieveParams.Meter.Builder
java.lang.Object
com.stripe.param.billing.MeterUsageRetrieveParams.Meter.Builder
- Enclosing class:
- MeterUsageRetrieveParams.Meter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllDimensionGroupByKey
(List<String> elements) Add all elements to `dimensionGroupByKeys` list.addDimensionGroupByKey
(String element) Add an element to `dimensionGroupByKeys` list.build()
Finalize and obtain parameter instance from this builder.putAllDimensionFilter
(Map<String, String> map) Add all map key/value pairs to `dimensionFilters` map.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllTenantFilter
(Map<String, String> map) putDimensionFilter
(String key, String value) Add a key/value pair to `dimensionFilters` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.putTenantFilter
(String key, String value) Add a key/value pair to `tenantFilters` map.setMeterId
(String meterId) Required. Meter id to query usage for.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putDimensionFilter
Add a key/value pair to `dimensionFilters` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeMeterUsageRetrieveParams.Meter.dimensionFilters
for the field documentation. -
putAllDimensionFilter
Add all map key/value pairs to `dimensionFilters` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeMeterUsageRetrieveParams.Meter.dimensionFilters
for the field documentation. -
addDimensionGroupByKey
Add an element to `dimensionGroupByKeys` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeMeterUsageRetrieveParams.Meter.dimensionGroupByKeys
for the field documentation. -
addAllDimensionGroupByKey
Add all elements to `dimensionGroupByKeys` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeMeterUsageRetrieveParams.Meter.dimensionGroupByKeys
for the field documentation. -
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. SeeMeterUsageRetrieveParams.Meter.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. SeeMeterUsageRetrieveParams.Meter.extraParams
for the field documentation. -
setMeterId
Required. Meter id to query usage for. -
putTenantFilter
Add a key/value pair to `tenantFilters` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeMeterUsageRetrieveParams.Meter.tenantFilters
for the field documentation. -
putAllTenantFilter
-