Class ConfigurationUpdateParams.Tipping.Usd.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • putExtraParam

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

      public ConfigurationUpdateParams.Tipping.Usd.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.Usd.fixedAmounts for the field documentation.
    • addAllFixedAmount

      public ConfigurationUpdateParams.Tipping.Usd.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.Usd.fixedAmounts for the field documentation.
    • addPercentage

      public ConfigurationUpdateParams.Tipping.Usd.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.Usd.percentages for the field documentation.
    • addAllPercentage

      public ConfigurationUpdateParams.Tipping.Usd.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.Usd.percentages for the field documentation.
    • setSmartTipThreshold

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