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.



759
760
761
# File 'lib/stripe/resources/payment_link.rb', line 759

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.



757
758
759
# File 'lib/stripe/resources/payment_link.rb', line 757

def limit
  @limit
end