Class MeteredItemUpdateParams

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

public class MeteredItemUpdateParams extends ApiRequestParams
  • Method Details

    • builder

      public static MeteredItemUpdateParams.Builder builder()
    • getDisplayName

      public Object getDisplayName()
      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.
    • getLookupKey

      public Object getLookupKey()
      An internal key you can use to search for a particular billable item. Maximum length of 200 characters. To remove the lookup_key from the object, set it to null in the request.
    • getMetadata

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

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

      public Object 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. To remove the unit_label from the object, set it to null in the request.
    • 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