Class MeteredItemCreateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.v2.billing.MeteredItemCreateParams

public class MeteredItemCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static MeteredItemCreateParams.Builder builder()
    • getDisplayName

      public String getDisplayName()
      Required. Description that customers will see in the invoice line item. Maximum length of 250 characters.
    • getExtraParams

      public Map<String,Object> 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

      public List<String> getInvoicePresentationDimensions()
      Optional array of Meter dimensions to group event dimension keys for invoice line items.
    • getLookupKey

      public String 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

      public Map<String,String> 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

      public String getMeter()
      Required. ID of the Meter that measures usage for this Metered Item.
    • getMeterSegmentConditions

      public List<MeteredItemCreateParams.MeterSegmentCondition> getMeterSegmentConditions()
      Optional array of Meter segments to filter event dimension keys for billing.
    • getTaxDetails

      public MeteredItemCreateParams.TaxDetails getTaxDetails()
      Stripe Tax details.
    • getUnitLabel

      public String 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object