Package com.stripe.param.v2.core
Class EventListParams.Builder
java.lang.Object
com.stripe.param.v2.core.EventListParams.Builder
- Enclosing class:
- EventListParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllType(List<String> elements) Add all elements to `types` list.Add an element to `types` list.build()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setCreated(EventListParams.Created created) Set of filters to query events within a range ofcreatedtimestamps.The page size.setObjectId(String objectId) Primary object ID used to retrieve related events.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCreated
Set of filters to query events within a range ofcreatedtimestamps. -
putExtraParam
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. SeeEventListParams.extraParamsfor 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. SeeEventListParams.extraParamsfor the field documentation. -
setLimit
The page size. -
setObjectId
Primary object ID used to retrieve related events. -
addType
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. SeeEventListParams.typesfor the field documentation. -
addAllType
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. SeeEventListParams.typesfor the field documentation.
-