Class: Stripe::PromotionCodeListParams::Created

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/promotion_code_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.



16
17
18
19
20
21
# File 'lib/stripe/params/promotion_code_list_params.rb', line 16

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

Instance Attribute Details

#gtObject

Minimum value to filter by (exclusive)



8
9
10
# File 'lib/stripe/params/promotion_code_list_params.rb', line 8

def gt
  @gt
end

#gteObject

Minimum value to filter by (inclusive)



10
11
12
# File 'lib/stripe/params/promotion_code_list_params.rb', line 10

def gte
  @gte
end

#ltObject

Maximum value to filter by (exclusive)



12
13
14
# File 'lib/stripe/params/promotion_code_list_params.rb', line 12

def lt
  @lt
end

#lteObject

Maximum value to filter by (inclusive)



14
15
16
# File 'lib/stripe/params/promotion_code_list_params.rb', line 14

def lte
  @lte
end