Class CadenceListParams.Builder

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

public static class CadenceListParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

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

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

      public CadenceListParams.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 CadenceListParams.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 CadenceListParams.include for the field documentation.
    • addAllInclude

      public CadenceListParams.Builder addAllInclude(List<CadenceListParams.Include> elements)
      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 CadenceListParams.include for the field documentation.
    • setLimit

      public CadenceListParams.Builder setLimit(Integer limit)
      Optionally set the maximum number of results per page. Defaults to 20.
    • setPayer

      If provided, only cadences that specifically reference the payer will be returned. Mutually exclusive with test_clock.
    • setTestClock

      public CadenceListParams.Builder setTestClock(String testClock)
      If provided, only cadences that specifically reference the provided test clock ID (via the customer's test clock) will be returned. Mutually exclusive with payer.