Package com.stripe.param.terminal
Class ReaderCollectInputsParams.Input.Selection.Builder
java.lang.Object
com.stripe.param.terminal.ReaderCollectInputsParams.Input.Selection.Builder
- Enclosing class:
- ReaderCollectInputsParams.Input.Selection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `choices` list.Add an element to `choices` list.build()
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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addChoice
public ReaderCollectInputsParams.Input.Selection.Builder addChoice(ReaderCollectInputsParams.Input.Selection.Choice element) Add an element to `choices` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeReaderCollectInputsParams.Input.Selection.choices
for the field documentation. -
addAllChoice
public ReaderCollectInputsParams.Input.Selection.Builder addAllChoice(List<ReaderCollectInputsParams.Input.Selection.Choice> elements) Add all elements to `choices` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeReaderCollectInputsParams.Input.Selection.choices
for the field documentation. -
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. SeeReaderCollectInputsParams.Input.Selection.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. SeeReaderCollectInputsParams.Input.Selection.extraParams
for the field documentation.
-