Package com.stripe.param
Class InvoiceRemoveLinesParams.Line.Builder
java.lang.Object
com.stripe.param.InvoiceRemoveLinesParams.Line.Builder
- Enclosing class:
- InvoiceRemoveLinesParams.Line
-
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.Required. Eitherdelete
orunassign
.Required. ID of an existing line item to remove from this invoice.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBehavior
public InvoiceRemoveLinesParams.Line.Builder setBehavior(InvoiceRemoveLinesParams.Line.Behavior behavior) Required. Eitherdelete
orunassign
. Deleted line items are permanently deleted. Unassigned line items can be reassigned to an invoice. -
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. SeeInvoiceRemoveLinesParams.Line.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. SeeInvoiceRemoveLinesParams.Line.extraParams
for the field documentation. -
setId
Required. ID of an existing line item to remove from this invoice.
-