lib/recurly/resources/plan.rb in recurly-4.19.0 vs lib/recurly/resources/plan.rb in recurly-4.20.0
- old
+ new
@@ -72,9 +72,17 @@
# @!attribute object
# @return [String] Object type
define_attribute :object, String
+ # @!attribute pricing_model
+ # @return [String] A fixed pricing model has the same price for each billing period. A ramp pricing model defines a set of Ramp Intervals, where a subscription changes price on a specified cadence of billing periods. The price change could be an increase or decrease.
+ define_attribute :pricing_model, String
+
+ # @!attribute ramp_intervals
+ # @return [Array[PlanRampInterval]] Ramp Intervals
+ define_attribute :ramp_intervals, Array, { :item_type => :PlanRampInterval }
+
# @!attribute revenue_schedule_type
# @return [String] Revenue schedule type
define_attribute :revenue_schedule_type, String
# @!attribute setup_fee_accounting_code