Class: Stripe::PaymentLink::UpdateParams::Restrictions::CompletedSessions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_link.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.



1765
1766
1767
# File 'lib/stripe/resources/payment_link.rb', line 1765

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.



1763
1764
1765
# File 'lib/stripe/resources/payment_link.rb', line 1763

def limit
  @limit
end