Stripe::SubscriptionsResourcePendingUpdate
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
Pending Updates store the changes pending from a previous update that will be applied to the Subscription upon successful payment.
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
If the update is applied, determines the date of the first full invoice, and, for plans with month or year intervals, the day of the month for subsequent invoices. The timestamp is in UTC format.
Custom attribute writer method checking allowed values (enum). @param [Object] billing_cycle_anchor Object to be assigned
The point after which the changes reflected by this update will be discarded and no longer applied.
Custom attribute writer method checking allowed values (enum). @param [Object] expires_at 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
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
List of subscription items, each with an attached plan, that will be set if the update is applied.
Custom attribute writer method checking allowed values (enum). @param [Object] subscription_items Object to be assigned
Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied.
Custom attribute writer method checking allowed values (enum). @param [Object] trial_end Object to be assigned
Indicates if a plan's trial_period_days should be applied to the subscription. Setting trial_end per subscription is preferred, and this defaults to false. Setting this flag to true together with trial_end is not allowed. See Using trial periods on subscriptions to learn more.
Custom attribute writer method checking allowed values (enum). @param [Object] trial_from_plan Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid