Class ConfigurationUpdateParams.Tipping.Sgd.Builder

java.lang.Object
com.stripe.param.terminal.ConfigurationUpdateParams.Tipping.Sgd.Builder
Enclosing class:
ConfigurationUpdateParams.Tipping.Sgd

public static class ConfigurationUpdateParams.Tipping.Sgd.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • putExtraParam

      public ConfigurationUpdateParams.Tipping.Sgd.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 ConfigurationUpdateParams.Tipping.Sgd.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. See ConfigurationUpdateParams.Tipping.Sgd.extraParams for the field documentation.
    • addFixedAmount

      public ConfigurationUpdateParams.Tipping.Sgd.Builder addFixedAmount(Long element)
      Add an element to `fixedAmounts` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ConfigurationUpdateParams.Tipping.Sgd.fixedAmounts for the field documentation.
    • addAllFixedAmount

      public ConfigurationUpdateParams.Tipping.Sgd.Builder addAllFixedAmount(List<Long> elements)
      Add all elements to `fixedAmounts` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ConfigurationUpdateParams.Tipping.Sgd.fixedAmounts for the field documentation.
    • addPercentage

      public ConfigurationUpdateParams.Tipping.Sgd.Builder addPercentage(Long element)
      Add an element to `percentages` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ConfigurationUpdateParams.Tipping.Sgd.percentages for the field documentation.
    • addAllPercentage

      public ConfigurationUpdateParams.Tipping.Sgd.Builder addAllPercentage(List<Long> elements)
      Add all elements to `percentages` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ConfigurationUpdateParams.Tipping.Sgd.percentages for the field documentation.
    • setSmartTipThreshold

      public ConfigurationUpdateParams.Tipping.Sgd.Builder setSmartTipThreshold(Long smartTipThreshold)