Package com.stripe.param.v2.billing
Class LicenseFeeCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.v2.billing.LicenseFeeCreateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
static enum
static class
static enum
static class
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Required. Three-letter ISO currency code, in lowercase.Required. A customer-facing name for the License Fee.Map of extra parameters for custom features not available in this client library.Required. The Licensed Item that this License Fee binds to.An internal key you can use to search for a particular license fee.Set of key-value pairs that you can attach to an object.Required. The interval for assessing service.Required. The length of the interval for assessing service.Required. The Stripe Tax tax behavior - whether the license fee is inclusive or exclusive of tax.Defines whether the tiered price should be graduated or volume-based.getTiers()
Each element represents a pricing tier.Apply a transformation to the reported usage or set quantity before computing the amount billed.The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal places.int
hashCode()
Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
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
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. -
getLicensedItem
Required. The Licensed Item that this License Fee binds to. -
getLookupKey
An internal key you can use to search for a particular license fee. Maximum length of 200 characters. -
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
Required. The interval for assessing service. For example, a monthly license fee 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
Required. The length of the interval for assessing service. For example, set this to 3 andservice_interval
to"month"
in order to specify quarterly service. -
getTaxBehavior
Required. The Stripe Tax tax behavior - whether the license fee is inclusive or exclusive of tax. -
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 iftiers
is set. -
getTiers
Each element represents a pricing tier. Cannot be set ifunit_amount
is provided. -
getTransformQuantity
Apply a transformation to the reported usage or set quantity before computing the amount billed. -
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 iftiers
is provided. -
equals
-
canEqual
-
hashCode
public int hashCode()
-