Package com.stripe.param
Class PriceCreateParams.Recurring
java.lang.Object
com.stripe.param.PriceCreateParams.Recurring
- Enclosing class:
- PriceCreateParams
A label that represents units of this product. When set, this will be included in
customers' receipts, invoices, Checkout, and the customer portal.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanMap of extra parameters for custom features not available in this client library.Required. Specifies billing frequency.The number of intervals between subscription billings.getMeter()The meter tracking the usage of a metered price.Default number of trial days when subscribing a customer to this price usingtrial_from_plan=true.Configures how the quantity per period should be determined.inthashCode()
-
Method Details
-
builder
-
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@SerializedNamevalue. 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. -
getInterval
Required. Specifies billing frequency. Eitherday,week,monthoryear. -
getIntervalCount
The number of intervals between subscription billings. For example,interval=monthandinterval_count=3bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks). -
getMeter
The meter tracking the usage of a metered price. -
getTrialPeriodDays
Default number of trial days when subscribing a customer to this price usingtrial_from_plan=true. -
getUsageType
Configures how the quantity per period should be determined. Can be eithermeteredorlicensed.licensedautomatically bills thequantityset when adding it to a subscription.meteredaggregates the total usage based on usage records. Defaults tolicensed. -
equals
-
canEqual
-
hashCode
public int hashCode()
-