Class: Stripe::V2::Billing::OneTimeItemListParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/one_time_item_list_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(limit: nil, lookup_keys: nil) ⇒ OneTimeItemListParams

Returns a new instance of OneTimeItemListParams.



14
15
16
17
# File 'lib/stripe/params/v2/billing/one_time_item_list_params.rb', line 14

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

Instance Attribute Details

#limitObject

Optionally set the maximum number of results per page. Defaults to 20.



9
10
11
# File 'lib/stripe/params/v2/billing/one_time_item_list_params.rb', line 9

def limit
  @limit
end

#lookup_keysObject

Filter by lookup keys. You can specify up to 10 lookup keys.



12
13
14
# File 'lib/stripe/params/v2/billing/one_time_item_list_params.rb', line 12

def lookup_keys
  @lookup_keys
end