Class: Stripe::V2::Core::EventListParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::EventListParams
- Defined in:
- lib/stripe/params/v2/core/event_list_params.rb
Instance Attribute Summary collapse
-
#gt ⇒ Object
Filter for events created after the specified timestamp.
-
#gte ⇒ Object
Filter for events created at or after the specified timestamp.
-
#limit ⇒ Object
The page size.
-
#lt ⇒ Object
Filter for events created before the specified timestamp.
-
#lte ⇒ Object
Filter for events created at or before the specified timestamp.
-
#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(gt: nil, gte: nil, limit: nil, lt: nil, lte: nil, object_id_: nil, types: nil) ⇒ EventListParams
constructor
A new instance of EventListParams.
Methods inherited from RequestParams
Constructor Details
#initialize(gt: nil, gte: nil, limit: nil, lt: nil, lte: nil, object_id_: nil, types: nil) ⇒ EventListParams
Returns a new instance of EventListParams.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 25 def initialize( gt: nil, gte: nil, limit: nil, lt: nil, lte: nil, object_id_: nil, types: nil ) @gt = gt @gte = gte @limit = limit @lt = lt @lte = lte @object_id_ = object_id_ @types = types end |
Instance Attribute Details
#gt ⇒ Object
Filter for events created after the specified timestamp.
9 10 11 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 9 def gt @gt end |
#gte ⇒ Object
Filter for events created at or after the specified timestamp.
11 12 13 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 11 def gte @gte end |
#limit ⇒ Object
The page size.
13 14 15 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 13 def limit @limit end |
#lt ⇒ Object
Filter for events created before the specified timestamp.
15 16 17 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 15 def lt @lt end |
#lte ⇒ Object
Filter for events created at or before the specified timestamp.
17 18 19 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 17 def lte @lte 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.
21 22 23 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 21 def object_id_ @object_id_ end |
#types ⇒ Object
An array of up to 20 strings containing specific event names.
23 24 25 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 23 def types @types end |