Class: Stripe::PaymentLinkCreateParams::Restrictions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::Restrictions
- Defined in:
- lib/stripe/params/payment_link_create_params.rb
Defined Under Namespace
Classes: CompletedSessions
Instance Attribute Summary collapse
-
#completed_sessions ⇒ Object
Configuration for the
completed_sessionsrestriction type.
Instance Method Summary collapse
-
#initialize(completed_sessions: nil) ⇒ Restrictions
constructor
A new instance of Restrictions.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(completed_sessions: nil) ⇒ Restrictions
Returns a new instance of Restrictions.
588 589 590 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 588 def initialize(completed_sessions: nil) @completed_sessions = completed_sessions end |
Instance Attribute Details
#completed_sessions ⇒ Object
Configuration for the completed_sessions restriction type.
586 587 588 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 586 def completed_sessions @completed_sessions end |