Class: Stripe::PaymentLink::CreateParams::Restrictions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLink::CreateParams::Restrictions
- Defined in:
- lib/stripe/resources/payment_link.rb
Defined Under Namespace
Classes: CompletedSessions
Instance Attribute Summary collapse
-
#completed_sessions ⇒ Object
Configuration for the ‘completed_sessions` restriction type.
Instance Method Summary collapse
-
#initialize(completed_sessions: nil) ⇒ Restrictions
constructor
A new instance of Restrictions.
Methods inherited from RequestParams
Constructor Details
#initialize(completed_sessions: nil) ⇒ Restrictions
Returns a new instance of Restrictions.
705 706 707 |
# File 'lib/stripe/resources/payment_link.rb', line 705 def initialize(completed_sessions: nil) @completed_sessions = completed_sessions end |
Instance Attribute Details
#completed_sessions ⇒ Object
Configuration for the ‘completed_sessions` restriction type.
703 704 705 |
# File 'lib/stripe/resources/payment_link.rb', line 703 def completed_sessions @completed_sessions end |