Package com.stripe.param
Class InvoiceCreateParams.FromInvoice.Builder
java.lang.Object
com.stripe.param.InvoiceCreateParams.FromInvoice.Builder
- Enclosing class:
- InvoiceCreateParams.FromInvoice
-
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.Required. The relation between the new invoice and the original invoice.setInvoice
(String invoice) Required. Theid
of the invoice that will be cloned.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAction
public InvoiceCreateParams.FromInvoice.Builder setAction(InvoiceCreateParams.FromInvoice.Action action) Required. The relation between the new invoice and the original invoice. Currently, only 'revision' is permitted -
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. SeeInvoiceCreateParams.FromInvoice.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. SeeInvoiceCreateParams.FromInvoice.extraParams
for the field documentation. -
setInvoice
Required. Theid
of the invoice that will be cloned.
-