Stripe::Recurring
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
Specifies a usage aggregation strategy for prices of usage_type=metered. Defaults to sum.
Custom attribute writer method checking allowed values (enum). @param [Object] aggregate_usage 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] interval Object to be assigned
The number of intervals (specified in the interval attribute) between subscription billings. For example, interval=month and interval_count=3 bills every 3 months.
Custom attribute writer method checking allowed values (enum). @param [Object] interval_count Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] meter Object to be assigned
Default number of trial days when subscribing a customer to this price using trial_from_plan=true.
Custom attribute writer method checking allowed values (enum). @param [Object] trial_period_days Object to be assigned
Configures how the quantity per period should be determined. Can be either metered or licensed. licensed automatically bills the quantity set when adding it to a subscription. metered aggregates the total usage based on usage records. Defaults to licensed.
Custom attribute writer method checking allowed values (enum). @param [Object] usage_type Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid