Package com.stripe.param.terminal
Class ReaderCollectInputsParams.Input.Selection.Choice.Builder
java.lang.Object
com.stripe.param.terminal.ReaderCollectInputsParams.Input.Selection.Choice.Builder
- Enclosing class:
- ReaderCollectInputsParams.Input.Selection.Choice
-
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.The style of the button which will be shown for this choice.The text which will be shown on the button for this choice.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public ReaderCollectInputsParams.Input.Selection.Choice.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. SeeReaderCollectInputsParams.Input.Selection.Choice.extraParams
for the field documentation. -
putAllExtraParam
public ReaderCollectInputsParams.Input.Selection.Choice.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. SeeReaderCollectInputsParams.Input.Selection.Choice.extraParams
for the field documentation. -
setStyle
public ReaderCollectInputsParams.Input.Selection.Choice.Builder setStyle(ReaderCollectInputsParams.Input.Selection.Choice.Style style) The style of the button which will be shown for this choice. -
setValue
The text which will be shown on the button for this choice.
-