Class RateCardCreateParams

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

public class RateCardCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static RateCardCreateParams.Builder builder()
    • getCurrency

      public String getCurrency()
      Required. The currency of this RateCard.
    • getDisplayName

      public String getDisplayName()
      Required. A customer-facing name for the RateCard. 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.
    • getLookupKey

      public String getLookupKey()
      An internal key you can use to search for a particular RateCard. 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.
    • getServiceInterval

      public RateCardCreateParams.ServiceInterval getServiceInterval()
      Required. The interval for assessing service. For example, a monthly RateCard with a rate of $1 for the first 10 "workloads" and $2 thereafter means "$1 per workload up to 10 workloads during a month of service." This is similar to but distinct from billing interval; the service interval deals with the rate at which the customer accumulates fees, while the billing interval in Cadence deals with the rate the customer is billed.
    • getServiceIntervalCount

      public Integer getServiceIntervalCount()
      Required. The length of the interval for assessing service. For example, set this to 3 and service_interval to "month" in order to specify quarterly service.
    • getTaxBehavior

      public RateCardCreateParams.TaxBehavior getTaxBehavior()
      Required. The Stripe Tax tax behavior - whether the rates are inclusive or exclusive of tax.
    • 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