Package com.stripe.param.terminal
Class ReaderSetReaderDisplayParams.Cart.LineItem.Builder
java.lang.Object
com.stripe.param.terminal.ReaderSetReaderDisplayParams.Cart.LineItem.Builder
- Enclosing class:
- ReaderSetReaderDisplayParams.Cart.LineItem
-
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 price of the item in cents.setDescription
(String description) Required. The description or name of the item.setQuantity
(Long quantity)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. The price of the item in cents. -
setDescription
Required. The description or name of the item. -
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. SeeReaderSetReaderDisplayParams.Cart.LineItem.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. SeeReaderSetReaderDisplayParams.Cart.LineItem.extraParams
for the field documentation. -
setQuantity
-