Package com.stripe.param.v2.billing
Class MeteredItemCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.v2.billing.MeteredItemCreateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
Required. To count usage towards this metered item, the dimension must have this value.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. Description that customers will see in the invoice line item.Map of extra parameters for custom features not available in this client library.Optional array of Meter dimensions to group event dimension keys for invoice line items.An internal key you can use to search for a particular billable item.Set of key-value pairs that you can attach to an object.getMeter()
Required. ID of the Meter that measures usage for this Metered Item.Optional array of Meter segments to filter event dimension keys for billing.Stripe Tax details.The unit to use when displaying prices for this billable item in places like Checkout.int
hashCode()
Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getDisplayName
Required. Description that customers will see in the invoice line item. Maximum length of 250 characters. -
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. -
getInvoicePresentationDimensions
Optional array of Meter dimensions to group event dimension keys for invoice line items. -
getLookupKey
An internal key you can use to search for a particular billable item. Must be unique among billable items. Maximum length of 200 characters. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getMeter
Required. ID of the Meter that measures usage for this Metered Item. -
getMeterSegmentConditions
Optional array of Meter segments to filter event dimension keys for billing. -
getTaxDetails
Stripe Tax details. -
getUnitLabel
The unit to use when displaying prices for this billable item in places like Checkout. For example, set this field to "CPU-hour" for Checkout to display "(price) per CPU-hour", or "1 million events" to display "(price) per 1 million events". Maximum length of 100 characters. -
equals
-
canEqual
-
hashCode
public int hashCode()
-