Class: Stripe::V2::Billing::RateCardListParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/v2/billing/rate_card_list_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(active: nil, limit: nil, lookup_keys: nil) ⇒ RateCardListParams

Returns a new instance of RateCardListParams.



16
17
18
19
20
# File 'lib/stripe/params/v2/billing/rate_card_list_params.rb', line 16

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

Instance Attribute Details

#activeObject

Optionally filter to active/inactive RateCards.



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

def active
  @active
end

#limitObject

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



11
12
13
# File 'lib/stripe/params/v2/billing/rate_card_list_params.rb', line 11

def limit
  @limit
end

#lookup_keysObject

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



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

def lookup_keys
  @lookup_keys
end