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.
1154 1155 1156 |
# File 'lib/stripe/resources/payment_link.rb', line 1154 def initialize(completed_sessions: nil) @completed_sessions = completed_sessions end |
Instance Attribute Details
#completed_sessions ⇒ Object
Configuration for the ‘completed_sessions` restriction type.
1152 1153 1154 |
# File 'lib/stripe/resources/payment_link.rb', line 1152 def completed_sessions @completed_sessions end |