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.
1180 1181 1182 |
# File 'lib/stripe/services/payment_link_service.rb', line 1180 def initialize(completed_sessions: nil) @completed_sessions = completed_sessions end |
Instance Attribute Details
#completed_sessions ⇒ Object
Configuration for the ‘completed_sessions` restriction type.
1178 1179 1180 |
# File 'lib/stripe/services/payment_link_service.rb', line 1178 def completed_sessions @completed_sessions end |