Package com.stripe.model.v2.billing
Class IntentAction.Apply
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.IntentAction.Apply
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- IntentAction
Details for an apply action.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWhen the apply action will take effect.static classDetails for applying a discount rule to future invoices.static classDetails for applying a spend modifier rule. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanWhen the apply action will take effect.Details for applying a discount rule to future invoices.Details for applying a spend modifier rule.getType()Type of the apply action details.inthashCode()voidsetEffectiveAt(IntentAction.Apply.EffectiveAt effectiveAt) When the apply action will take effect.voidsetInvoiceDiscountRule(IntentAction.Apply.InvoiceDiscountRule invoiceDiscountRule) Details for applying a discount rule to future invoices.voidsetSpendModifierRule(IntentAction.Apply.SpendModifierRule spendModifierRule) Details for applying a spend modifier rule.voidType of the apply action details.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Apply
public Apply()
-
-
Method Details
-
getEffectiveAt
When the apply action will take effect. Defaults to on_reserve if not specified. -
getInvoiceDiscountRule
Details for applying a discount rule to future invoices. -
getSpendModifierRule
Details for applying a spend modifier rule. Only present if type is spend_modifier_rule. -
getType
Type of the apply action details.One of
invoice_discount_rule, orspend_modifier_rule. -
setEffectiveAt
When the apply action will take effect. Defaults to on_reserve if not specified. -
setInvoiceDiscountRule
Details for applying a discount rule to future invoices. -
setSpendModifierRule
Details for applying a spend modifier rule. Only present if type is spend_modifier_rule. -
setType
Type of the apply action details.One of
invoice_discount_rule, orspend_modifier_rule. -
equals
-
canEqual
-
hashCode
public int hashCode()
-