Stripe::SubscriptionDetailsParams
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
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] billing_cycle_anchor Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] cancel_at Object to be assigned
Indicate whether this subscription should cancel at the end of the current period (current_period_end). Defaults to false.
Custom attribute writer method checking allowed values (enum). @param [Object] cancel_at_period_end Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] cancel_now Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] default_tax_rates 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] items Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Determines how to handle prorations when the billing cycle changes (e.g., when switching plans, resetting billing_cycle_anchor=now, or starting a trial), or if an item's quantity changes. The default value is create_prorations.
Custom attribute writer method checking allowed values (enum). @param [Object] proration_behavior Object to be assigned
If previewing an update to a subscription, and doing proration, subscription_details.proration_date forces the proration to be calculated as though the update was done at the specified time. The time given must be within the current subscription period and within the current phase of the schedule backing this subscription, if the schedule exists. If set, subscription, and one of subscription_details.items, or subscription_details.trial_end are required. Also, subscription_details.proration_behavior cannot be set to 'none'.
Custom attribute writer method checking allowed values (enum). @param [Object] proration_date Object to be assigned
For paused subscriptions, setting subscription_details.resume_at to now will preview the invoice that will be generated if the subscription is resumed.
Custom attribute writer method checking allowed values (enum). @param [Object] resume_at Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] start_date Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] trial_end Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid