Package com.stripe.param.terminal
Class ReaderCollectInputsParams.Input.Toggle.Builder
java.lang.Object
com.stripe.param.terminal.ReaderCollectInputsParams.Input.Toggle.Builder
- Enclosing class:
- ReaderCollectInputsParams.Input.Toggle
-
Constructor Summary
Constructors -
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 default value of the toggle.setDescription
(String description) The description which will be displayed for the toggle.The title which will be displayed for the toggle.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDefaultValue
public ReaderCollectInputsParams.Input.Toggle.Builder setDefaultValue(ReaderCollectInputsParams.Input.Toggle.DefaultValue defaultValue) The default value of the toggle. -
setDescription
The description which will be displayed for the toggle. -
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.Toggle.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.Toggle.extraParams
for the field documentation. -
setTitle
The title which will be displayed for the toggle.
-