Class: Stripe::Subscription::UpdateParams::PauseCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Subscription::UpdateParams::PauseCollection
- Defined in:
- lib/stripe/resources/subscription.rb
Instance Attribute Summary collapse
-
#behavior ⇒ Object
The payment collection behavior for this subscription while paused.
-
#resumes_at ⇒ Object
The time after which the subscription will resume collecting payments.
Instance Method Summary collapse
-
#initialize(behavior: nil, resumes_at: nil) ⇒ PauseCollection
constructor
A new instance of PauseCollection.
Methods inherited from RequestParams
Constructor Details
#initialize(behavior: nil, resumes_at: nil) ⇒ PauseCollection
Returns a new instance of PauseCollection.
482 483 484 485 |
# File 'lib/stripe/resources/subscription.rb', line 482 def initialize(behavior: nil, resumes_at: nil) @behavior = behavior @resumes_at = resumes_at end |
Instance Attribute Details
#behavior ⇒ Object
The payment collection behavior for this subscription while paused. One of ‘keep_as_draft`, `mark_uncollectible`, or `void`.
478 479 480 |
# File 'lib/stripe/resources/subscription.rb', line 478 def behavior @behavior end |
#resumes_at ⇒ Object
The time after which the subscription will resume collecting payments.
480 481 482 |
# File 'lib/stripe/resources/subscription.rb', line 480 def resumes_at @resumes_at end |