Package com.stripe.param
Class InvoiceCreatePreviewParams.SubscriptionDetails.Item.CurrentTrial
java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.SubscriptionDetails.Item.CurrentTrial
- Enclosing class:
- InvoiceCreatePreviewParams.SubscriptionDetails.Item
Required. Number of units that meets the billing threshold to advance
the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 monetary
threshold)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanMap of extra parameters for custom features not available in this client library.Unix timestamp representing the end of the trial offer period.Required. The ID of the trial offer to apply to the subscription item.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. -
getTrialEnd
Unix timestamp representing the end of the trial offer period. Required when the trial offer hasduration.type=timestamp. Cannot be specified whenduration.type=relative. -
getTrialOffer
Required. The ID of the trial offer to apply to the subscription item. -
equals
-
canEqual
-
hashCode
public int hashCode()
-