lib/recurly/requests/subscription_purchase.rb in recurly-3.20.0 vs lib/recurly/requests/subscription_purchase.rb in recurly-3.21.0
- old
+ new
@@ -32,9 +32,13 @@
# @!attribute quantity
# @return [Integer] Optionally override the default quantity of 1.
define_attribute :quantity, Integer
+ # @!attribute ramp_intervals
+ # @return [Array[SubscriptionRampInterval]] The new set of ramp intervals for the subscription.
+ define_attribute :ramp_intervals, Array, { :item_type => :SubscriptionRampInterval }
+
# @!attribute renewal_billing_cycles
# @return [Integer] If `auto_renew=true`, when a term completes, `total_billing_cycles` takes this value as the length of subsequent terms. Defaults to the plan's `total_billing_cycles`.
define_attribute :renewal_billing_cycles, Integer
# @!attribute revenue_schedule_type