Class: Stripe::PaymentLink::CreateParams::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.



698
699
700
# File 'lib/stripe/resources/payment_link.rb', line 698

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.



696
697
698
# File 'lib/stripe/resources/payment_link.rb', line 696

def limit
  @limit
end