Class: Stripe::V2::Billing::RateCardService::ListParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of ListParams.



25
26
27
28
29
# File 'lib/stripe/services/v2/billing/rate_card_service.rb', line 25

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.



18
19
20
# File 'lib/stripe/services/v2/billing/rate_card_service.rb', line 18

def active
  @active
end

#limitObject

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



20
21
22
# File 'lib/stripe/services/v2/billing/rate_card_service.rb', line 20

def limit
  @limit
end

#lookup_keysObject

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



23
24
25
# File 'lib/stripe/services/v2/billing/rate_card_service.rb', line 23

def lookup_keys
  @lookup_keys
end