Package com.stripe.param
Class InvoiceLineItemUpdateParams.PriceData.ProductData.Builder
java.lang.Object
com.stripe.param.InvoiceLineItemUpdateParams.PriceData.ProductData.Builder
- Enclosing class:
- InvoiceLineItemUpdateParams.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
(EmptyParam description) The product's description, meant to be displayable to the customer.setDescription
(String description) The product's description, meant to be displayable to the customer.setName
(EmptyParam name) Required. The product's name, meant to be displayable to the customer.Required. The product's name, meant to be displayable to the customer.setTaxCode
(EmptyParam taxCode) setTaxCode
(String taxCode) A tax code ID.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDescription
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. -
setDescription
public InvoiceLineItemUpdateParams.PriceData.ProductData.Builder setDescription(EmptyParam 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 InvoiceLineItemUpdateParams.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. SeeInvoiceLineItemUpdateParams.PriceData.ProductData.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceLineItemUpdateParams.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. SeeInvoiceLineItemUpdateParams.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. SeeInvoiceLineItemUpdateParams.PriceData.ProductData.images
for the field documentation. -
addAllImage
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. SeeInvoiceLineItemUpdateParams.PriceData.ProductData.images
for the field documentation. -
putMetadata
public InvoiceLineItemUpdateParams.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. SeeInvoiceLineItemUpdateParams.PriceData.ProductData.metadata
for the field documentation. -
putAllMetadata
public InvoiceLineItemUpdateParams.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. SeeInvoiceLineItemUpdateParams.PriceData.ProductData.metadata
for the field documentation. -
setName
Required. The product's name, meant to be displayable to the customer. -
setName
Required. The product's name, meant to be displayable to the customer. -
setTaxCode
A tax code ID. -
setTaxCode
-