Stripe::SubscriptionSchedule
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A subscription schedule allows you to create and manage the lifecycle of a subscription by predefining expected changes. Related guide: Subscription schedules
Constants
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] application Object to be assigned
Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
Custom attribute writer method checking allowed values (enum). @param [Object] canceled_at Object to be assigned
Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
Custom attribute writer method checking allowed values (enum). @param [Object] completed_at Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] created Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] current_phase Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] customer Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] default_settings Object to be assigned
Behavior of the subscription schedule and underlying subscription when it ends. Possible values are release or cancel with the default being release. release will end the subscription schedule and keep the underlying subscription running. cancel will end the subscription schedule and cancel the underlying subscription.
Custom attribute writer method checking allowed values (enum). @param [Object] end_behavior Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Custom attribute writer method checking allowed values (enum). @param [Object] livemode Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] metadata Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] object Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] phases Object to be assigned
Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
Custom attribute writer method checking allowed values (enum). @param [Object] released_at Object to be assigned
ID of the subscription once managed by the subscription schedule (if it is released).
Custom attribute writer method checking allowed values (enum). @param [Object] released_subscription Object to be assigned
The present status of the subscription schedule. Possible values are not_started, active, completed, released, and canceled. You can read more about the different states in our behavior guide.
Custom attribute writer method checking allowed values (enum). @param [Object] status Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] subscription Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] test_clock Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid