Class: Stripe::PaymentLinkService::UpdateParams::Restrictions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::UpdateParams::Restrictions
- Defined in:
- lib/stripe/services/payment_link_service.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.
1152 1153 1154 |
# File 'lib/stripe/services/payment_link_service.rb', line 1152 def initialize(completed_sessions: nil) @completed_sessions = completed_sessions end |
Instance Attribute Details
#completed_sessions ⇒ Object
Configuration for the ‘completed_sessions` restriction type.
1150 1151 1152 |
# File 'lib/stripe/services/payment_link_service.rb', line 1150 def completed_sessions @completed_sessions end |