Package com.stripe.param.v2.billing
Class IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications.Builder
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications.Builder
public static class IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications.Builder
extends Object
-
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.setType
(IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications.Type type) Required. The type of maximum applications configuration.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications.Builder putExtraParam(String key, Object value) 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.InvoiceDiscountRule.PercentOff.MaximumApplications.extraParams
for the field documentation. -
putAllExtraParam
public IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications.Builder putAllExtraParam(Map<String, Object> map) 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.InvoiceDiscountRule.PercentOff.MaximumApplications.extraParams
for the field documentation. -
setType
public IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications.Builder setType(IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications.Type type) Required. The type of maximum applications configuration.
-