Package com.stripe.param
Class InvoiceUpdateLinesParams.Line.PriceData.ProductData.Builder
java.lang.Object
com.stripe.param.InvoiceUpdateLinesParams.Line.PriceData.ProductData.Builder
- Enclosing class:
- InvoiceUpdateLinesParams.Line.PriceData.ProductData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllImage
(List<String> elements) Add all elements to `images` list.Add an element to `images` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata
(Map<String, String> map) Add all map key/value pairs to `metadata` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata
(String key, String value) Add a key/value pair to `metadata` map.setDescription
(String description) The product's description, meant to be displayable to the customer.Required. The product's name, meant to be displayable to the customer.setTaxCode
(String taxCode) A tax code ID.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDescription
public InvoiceUpdateLinesParams.Line.PriceData.ProductData.Builder setDescription(String description) The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. -
putExtraParam
public InvoiceUpdateLinesParams.Line.PriceData.ProductData.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. SeeInvoiceUpdateLinesParams.Line.PriceData.ProductData.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceUpdateLinesParams.Line.PriceData.ProductData.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. SeeInvoiceUpdateLinesParams.Line.PriceData.ProductData.extraParams
for the field documentation. -
addImage
Add an element to `images` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeInvoiceUpdateLinesParams.Line.PriceData.ProductData.images
for the field documentation. -
addAllImage
public InvoiceUpdateLinesParams.Line.PriceData.ProductData.Builder addAllImage(List<String> elements) Add all elements to `images` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeInvoiceUpdateLinesParams.Line.PriceData.ProductData.images
for the field documentation. -
putMetadata
public InvoiceUpdateLinesParams.Line.PriceData.ProductData.Builder putMetadata(String key, String value) Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeInvoiceUpdateLinesParams.Line.PriceData.ProductData.metadata
for the field documentation. -
putAllMetadata
public InvoiceUpdateLinesParams.Line.PriceData.ProductData.Builder putAllMetadata(Map<String, String> map) Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeInvoiceUpdateLinesParams.Line.PriceData.ProductData.metadata
for the field documentation. -
setName
Required. The product's name, meant to be displayable to the customer. -
setTaxCode
A tax code ID.
-