Class MeteredItemCreateParams.MeterSegmentCondition

java.lang.Object
com.stripe.param.v2.billing.MeteredItemCreateParams.MeterSegmentCondition
Enclosing class:
MeteredItemCreateParams

public static class MeteredItemCreateParams.MeterSegmentCondition extends Object
  • Method Details

    • builder

    • getDimension

      public String getDimension()
      Required. A Meter dimension.
    • 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.
    • getValue

      public String getValue()
      Required. To count usage towards this metered item, the dimension must have this value.
    • 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