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