lib/recurly/resources/subscription.rb in recurly-3.20.0 vs lib/recurly/resources/subscription.rb in recurly-3.21.0

- old
+ new

@@ -120,10 +120,14 @@ # @!attribute quantity # @return [Integer] Subscription quantity define_attribute :quantity, Integer + # @!attribute ramp_intervals + # @return [Array[SubscriptionRampIntervalResponse]] The ramp intervals representing the pricing schedule for the subscription. + define_attribute :ramp_intervals, Array, { :item_type => :SubscriptionRampIntervalResponse } + # @!attribute remaining_billing_cycles # @return [Integer] The remaining billing cycles in the current term. define_attribute :remaining_billing_cycles, Integer # @!attribute remaining_pause_cycles @@ -147,9 +151,13 @@ define_attribute :state, String # @!attribute subtotal # @return [Float] Estimated total, before tax. define_attribute :subtotal, Float + + # @!attribute tax_inclusive + # @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to utilize this flag. + define_attribute :tax_inclusive, :Boolean # @!attribute terms_and_conditions # @return [String] Terms and conditions define_attribute :terms_and_conditions, String