Package com.stripe.param.v2.billing
Class IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff
- Enclosing class:
- IntentCreateParams.Action.Apply.InvoiceDiscountRule
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanMap of extra parameters for custom features not available in this client library.Required. The maximum number of times this discount can be applied for this cadence.Required. Percent that will be taken off of the amount.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. -
getMaximumApplications
public IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications getMaximumApplications()Required. The maximum number of times this discount can be applied for this cadence. -
getPercentOff
Required. Percent that will be taken off of the amount. For example, percent_off of 50.0 will make $100 amount $50 instead. -
equals
-
canEqual
-
hashCode
public int hashCode()
-