Class ReaderCollectInputsParams.Builder

java.lang.Object
com.stripe.param.terminal.ReaderCollectInputsParams.Builder
Enclosing class:
ReaderCollectInputsParams

public static class ReaderCollectInputsParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public ReaderCollectInputsParams build()
      Finalize and obtain parameter instance from this builder.
    • addExpand

      public ReaderCollectInputsParams.Builder addExpand(String element)
      Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ReaderCollectInputsParams.expand for the field documentation.
    • addAllExpand

      public ReaderCollectInputsParams.Builder addAllExpand(List<String> elements)
      Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ReaderCollectInputsParams.expand for the field documentation.
    • putExtraParam

      public ReaderCollectInputsParams.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. See ReaderCollectInputsParams.extraParams for the field documentation.
    • putAllExtraParam

      public ReaderCollectInputsParams.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. See ReaderCollectInputsParams.extraParams for the field documentation.
    • addInput

      Add an element to `inputs` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ReaderCollectInputsParams.inputs for the field documentation.
    • addAllInput

      Add all elements to `inputs` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ReaderCollectInputsParams.inputs for the field documentation.
    • putMetadata

      public ReaderCollectInputsParams.Builder putMetadata(String key, String value)
      Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See ReaderCollectInputsParams.metadata for the field documentation.
    • putAllMetadata

      public ReaderCollectInputsParams.Builder putAllMetadata(Map<String,String> map)
      Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See ReaderCollectInputsParams.metadata for the field documentation.