Class: Stripe::V2::Core::EventListParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/v2/core/event_list_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(limit: nil, object_id_: nil) ⇒ EventListParams

Returns a new instance of EventListParams.



15
16
17
18
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 15

def initialize(limit: nil, object_id_: nil)
  @limit = limit
  @object_id_ = object_id_
end

Instance Attribute Details

#limitObject

The page size.



9
10
11
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 9

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.



13
14
15
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 13

def object_id_
  @object_id_
end