Class CustomPricingUnitCreateParams

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

public class CustomPricingUnitCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static CustomPricingUnitCreateParams.Builder builder()
    • getDisplayName

      public String getDisplayName()
      Required. Description that customers will see in the invoice line item. Maximum length of 10 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 String getLookupKey()
      An internal key you can use to search for a particular custom pricing unit item. Must be unique among 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.
    • 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