Class ConfigurationCreateParams.Tipping.Myr.Builder

java.lang.Object
com.stripe.param.terminal.ConfigurationCreateParams.Tipping.Myr.Builder
Enclosing class:
ConfigurationCreateParams.Tipping.Myr

public static class ConfigurationCreateParams.Tipping.Myr.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • putExtraParam

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

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

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

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

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

      public ConfigurationCreateParams.Tipping.Myr.Builder setSmartTipThreshold(Long smartTipThreshold)