Class CadenceUpdateParams.Builder

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

public static class CadenceUpdateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public CadenceUpdateParams build()
      Finalize and obtain parameter instance from this builder.
    • putExtraParam

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

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

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

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

      public CadenceUpdateParams.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 CadenceUpdateParams.metadata for the field documentation.
    • putMetadata

      public CadenceUpdateParams.Builder putMetadata(String key, EmptyParam 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 CadenceUpdateParams.metadata for the field documentation.
    • putAllMetadata

      public CadenceUpdateParams.Builder putAllMetadata(Map<String,Object> 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. Map values can only be one of the following types: `String`, `EmptyParam`. See CadenceUpdateParams.metadata for the field documentation.
    • setPayer

      The payer determines the entity financially responsible for the bill.
    • setSettings

      The settings associated with the cadence.