Package com.stripe.param.v2.billing
Class IntentCreateParams.Action.Apply.Builder
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Action.Apply.Builder
- Enclosing class:
- IntentCreateParams.Action.Apply
-
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.setInvoiceDiscountRule
(IntentCreateParams.Action.Apply.InvoiceDiscountRule invoiceDiscountRule) Details for applying a discount rule to future invoices.Required. Type of the apply action details.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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.Apply.extraParams
for 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.Apply.extraParams
for the field documentation. -
setInvoiceDiscountRule
public IntentCreateParams.Action.Apply.Builder setInvoiceDiscountRule(IntentCreateParams.Action.Apply.InvoiceDiscountRule invoiceDiscountRule) Details for applying a discount rule to future invoices. -
setType
Required. Type of the apply action details.
-