Class: Stripe::V2::Core::EventListParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::EventListParams
- Defined in:
- lib/stripe/params/v2/core/event_list_params.rb
Defined Under Namespace
Classes: Created
Instance Attribute Summary collapse
-
#created ⇒ Object
Set of filters to query events within a range of ‘created` timestamps.
-
#limit ⇒ Object
The page size.
-
#object_id_ ⇒ Object
Primary object ID used to retrieve related events.
-
#types ⇒ Object
An array of up to 20 strings containing specific event names.
Instance Method Summary collapse
-
#initialize(created: nil, limit: nil, object_id_: nil, types: nil) ⇒ EventListParams
constructor
A new instance of EventListParams.
Methods inherited from RequestParams
Constructor Details
#initialize(created: nil, limit: nil, object_id_: nil, types: nil) ⇒ EventListParams
Returns a new instance of EventListParams.
36 37 38 39 40 41 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 36 def initialize(created: nil, limit: nil, object_id_: nil, types: nil) @created = created @limit = limit @object_id_ = object_id_ @types = types end |
Instance Attribute Details
#created ⇒ Object
Set of filters to query events within a range of ‘created` timestamps.
26 27 28 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 26 def created @created end |
#limit ⇒ Object
The page size.
28 29 30 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 28 def limit @limit end |
#object_id_ ⇒ Object
Primary object ID used to retrieve related events.
To avoid conflict with Ruby’s ‘:object_id’, this attribute has been renamed. If using a hash parameter map instead, please use the original name ‘:object_id’ with NO trailing underscore as the provided param key.
32 33 34 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 32 def object_id_ @object_id_ end |
#types ⇒ Object
An array of up to 20 strings containing specific event names.
34 35 36 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 34 def types @types end |