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

Inherits:
RequestParams
  • Object
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(gt: nil, gte: nil, lt: nil, lte: nil) ⇒ Created

Returns a new instance of Created.



18
19
20
21
22
23
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 18

def initialize(gt: nil, gte: nil, lt: nil, lte: nil)
  @gt = gt
  @gte = gte
  @lt = lt
  @lte = lte
end

Instance Attribute Details

#gtObject

Filter for events created after the specified timestamp.



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

def gt
  @gt
end

#gteObject

Filter for events created at or after the specified timestamp.



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

def gte
  @gte
end

#ltObject

Filter for events created before the specified timestamp.



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

def lt
  @lt
end

#lteObject

Filter for events created at or before the specified timestamp.



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

def lte
  @lte
end