Package com.stripe.param
Class InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Builder
java.lang.Object
com.stripe.param.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Builder
public static class InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Builder
extends Object
-
Constructor Summary
-
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.setEnabled
(Boolean enabled) Setting to true enables installments for this invoice.setPlan
(EmptyParam plan) The selected installment plan to use for this invoice.The selected installment plan to use for this invoice.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEnabled
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Builder setEnabled(Boolean enabled) Setting to true enables installments for this invoice. Setting to false will prevent any selected plan from applying to a payment. -
putExtraParam
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.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. SeeInvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.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. SeeInvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.extraParams
for the field documentation. -
setPlan
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Builder setPlan(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan plan) The selected installment plan to use for this invoice. -
setPlan
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Builder setPlan(EmptyParam plan) The selected installment plan to use for this invoice.
-