Class LicenseFeeUpdateParams

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

public class LicenseFeeUpdateParams extends ApiRequestParams
  • Method Details

    • builder

      public static LicenseFeeUpdateParams.Builder builder()
    • getDisplayName

      public Object getDisplayName()
      Required. A customer-facing name for the License Fee. This name is used in Stripe-hosted products like the Customer Portal and Checkout. It does not show up on Invoices. 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.
    • getLiveVersion

      public Object getLiveVersion()
      Changes the version that new license fee will use. Providing live_version = "latest" will set the license fee's live_version to its latest version.
    • getLookupKey

      public Object getLookupKey()
      An internal key you can use to search for a particular license fee. Maximum length of 200 characters.
    • 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.
    • getTieringMode

      public LicenseFeeUpdateParams.TieringMode getTieringMode()
      Defines whether the tiered price should be graduated or volume-based. In volume-based tiering, the maximum quantity within a period determines the per-unit price. In graduated tiering, the pricing changes as the quantity grows into new tiers. Can only be set if tiers is set.
    • getTiers

      public List<LicenseFeeUpdateParams.Tier> getTiers()
      Each element represents a pricing tier. Cannot be set if unit_amount is provided.
    • getTransformQuantity

      public LicenseFeeUpdateParams.TransformQuantity getTransformQuantity()
      Apply a transformation to the reported usage or set quantity before computing the amount billed.
    • getUnitAmount

      public Object getUnitAmount()
      The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal places. Cannot be set if tiers is provided.
    • 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