Class EventListParams.Builder

java.lang.Object
com.stripe.param.v2.core.EventListParams.Builder
Enclosing class:
EventListParams

public static class EventListParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

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

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

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

      public EventListParams.Builder setGt(Instant gt)
      Filter for events created after the specified timestamp.
    • setGte

      public EventListParams.Builder setGte(Instant gte)
      Filter for events created at or after the specified timestamp.
    • setLimit

      public EventListParams.Builder setLimit(Long limit)
      The page size.
    • setLt

      public EventListParams.Builder setLt(Instant lt)
      Filter for events created before the specified timestamp.
    • setLte

      public EventListParams.Builder setLte(Instant lte)
      Filter for events created at or before the specified timestamp.
    • setObjectId

      public EventListParams.Builder setObjectId(String objectId)
      Primary object ID used to retrieve related events.
    • addType

      public EventListParams.Builder addType(String element)
      Add an element to `types` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See EventListParams.types for the field documentation.
    • addAllType

      public EventListParams.Builder addAllType(List<String> elements)
      Add all elements to `types` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See EventListParams.types for the field documentation.