Class: Stripe::PaymentLinkUpdateParams::Restrictions::CompletedSessions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_link_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(limit: nil) ⇒ CompletedSessions

Returns a new instance of CompletedSessions.



408
409
410
# File 'lib/stripe/params/payment_link_update_params.rb', line 408

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

Instance Attribute Details

#limitObject

The maximum number of checkout sessions that can be completed for the ‘completed_sessions` restriction to be met.



406
407
408
# File 'lib/stripe/params/payment_link_update_params.rb', line 406

def limit
  @limit
end