Package com.stripe.param.v2.billing
Class IntentCreateParams.Action.Remove.Builder
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Action.Remove.Builder
- Enclosing class:
- IntentCreateParams.Action.Remove
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.When the remove action will take effect.setInvoiceDiscountRule(String invoiceDiscountRule) The ID of the discount rule to remove for future invoices.setSpendModifierRule(String spendModifierRule) The ID of the spend modifier rule to remove.Required. Type of the remove action.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEffectiveAt
public IntentCreateParams.Action.Remove.Builder setEffectiveAt(IntentCreateParams.Action.Remove.EffectiveAt effectiveAt) When the remove action will take effect. Defaults to on_reserve if not specified. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeIntentCreateParams.Action.Remove.extraParamsfor the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeIntentCreateParams.Action.Remove.extraParamsfor the field documentation. -
setInvoiceDiscountRule
The ID of the discount rule to remove for future invoices. -
setSpendModifierRule
The ID of the spend modifier rule to remove. -
setType
Required. Type of the remove action.
-