Class: Stripe::V2::Billing::LicensedItemService::ListParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of ListParams.



15
16
17
18
# File 'lib/stripe/services/v2/billing/licensed_item_service.rb', line 15

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.



10
11
12
# File 'lib/stripe/services/v2/billing/licensed_item_service.rb', line 10

def limit
  @limit
end

#lookup_keysObject

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



13
14
15
# File 'lib/stripe/services/v2/billing/licensed_item_service.rb', line 13

def lookup_keys
  @lookup_keys
end