Package com.stripe.param
Class InvoiceFinalizeInvoiceParams.Builder
- java.lang.Object
-
- com.stripe.param.InvoiceFinalizeInvoiceParams.Builder
-
- Enclosing class:
- InvoiceFinalizeInvoiceParams
public static class InvoiceFinalizeInvoiceParams.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvoiceFinalizeInvoiceParams.BuilderaddAllExpand(java.util.List<java.lang.String> elements)Add all elements to `expand` list.InvoiceFinalizeInvoiceParams.BuilderaddExpand(java.lang.String element)Add an element to `expand` list.InvoiceFinalizeInvoiceParamsbuild()Finalize and obtain parameter instance from this builder.InvoiceFinalizeInvoiceParams.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.InvoiceFinalizeInvoiceParams.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.InvoiceFinalizeInvoiceParams.BuildersetAutoAdvance(java.lang.Boolean autoAdvance)Controls whether Stripe will perform automatic collection of the invoice.
-
-
-
Method Detail
-
build
public InvoiceFinalizeInvoiceParams build()
Finalize and obtain parameter instance from this builder.
-
setAutoAdvance
public InvoiceFinalizeInvoiceParams.Builder setAutoAdvance(java.lang.Boolean autoAdvance)
Controls whether Stripe will perform automatic collection of the invoice. Whenfalse, the invoice's state will not automatically advance without an explicit action.
-
addExpand
public InvoiceFinalizeInvoiceParams.Builder addExpand(java.lang.String element)
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeInvoiceFinalizeInvoiceParams.expandfor the field documentation.
-
addAllExpand
public InvoiceFinalizeInvoiceParams.Builder addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeInvoiceFinalizeInvoiceParams.expandfor the field documentation.
-
putExtraParam
public InvoiceFinalizeInvoiceParams.Builder putExtraParam(java.lang.String key, java.lang.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. SeeInvoiceFinalizeInvoiceParams.extraParamsfor the field documentation.
-
putAllExtraParam
public InvoiceFinalizeInvoiceParams.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeeInvoiceFinalizeInvoiceParams.extraParamsfor the field documentation.
-
-