Package com.stripe.param.terminal
Class ReaderCollectInputsParams.Input.Builder
java.lang.Object
com.stripe.param.terminal.ReaderCollectInputsParams.Input.Builder
- Enclosing class:
- ReaderCollectInputsParams.Input
-
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.Customize the text which will be displayed while collecting this input.setRequired
(Boolean required) Indicate that this input is required, disabling the skip button.Options for theselection
input.The type of input to collect.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCustomText
public ReaderCollectInputsParams.Input.Builder setCustomText(ReaderCollectInputsParams.Input.CustomText customText) Customize the text which will be displayed while collecting this input. -
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.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.extraParams
for the field documentation. -
setRequired
Indicate that this input is required, disabling the skip button. -
setSelection
public ReaderCollectInputsParams.Input.Builder setSelection(ReaderCollectInputsParams.Input.Selection selection) Options for theselection
input. -
setType
The type of input to collect.
-