Class: Stripe::SubscriptionSchedule::PauseSchedule
- Inherits:
-
Stripe::StripeObject
- Object
- Stripe::StripeObject
- Stripe::SubscriptionSchedule::PauseSchedule
- Defined in:
- lib/stripe/resources/subscription_schedule.rb
Defined Under Namespace
Constant Summary
Constants inherited from Stripe::StripeObject
Stripe::StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
A unique identifier for this pause schedule.
-
#pause ⇒ Object
readonly
Attribute for field pause.
-
#resume ⇒ Object
readonly
Details about when and how the subscription resumes.
Attributes inherited from Stripe::StripeObject
Class Method Summary collapse
Methods inherited from Stripe::StripeObject
#==, #[], #[]=, #_get_inner_class_type, #_get_union_variant_class, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, inner_class_union_variant_types, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#key ⇒ Object (readonly)
A unique identifier for this pause schedule.
377 378 379 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 377 def key @key end |
#pause ⇒ Object (readonly)
Attribute for field pause
379 380 381 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 379 def pause @pause end |
#resume ⇒ Object (readonly)
Details about when and how the subscription resumes.
381 382 383 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 381 def resume @resume end |
Class Method Details
.field_remappings ⇒ Object
387 388 389 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 387 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
383 384 385 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 383 def self.inner_class_types @inner_class_types = { pause: Pause, resume: Resume } end |