Class IntentCreateParams.Builder

java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Builder
Enclosing class:
IntentCreateParams

public static class IntentCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public IntentCreateParams build()
      Finalize and obtain parameter instance from this builder.
    • addAction

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

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

      public IntentCreateParams.Builder setCadence(String cadence)
      ID of an existing Cadence to use.
    • setCurrency

      public IntentCreateParams.Builder setCurrency(String currency)
      Required. Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • putExtraParam

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

      public IntentCreateParams.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 IntentCreateParams.extraParams for the field documentation.