lib/recurly/resources/subscription.rb in recurly-3.28.0 vs lib/recurly/resources/subscription.rb in recurly-4.0.0
- old
+ new
@@ -12,14 +12,10 @@
# @!attribute activated_at
# @return [DateTime] Activated at
define_attribute :activated_at, DateTime
- # @!attribute active_invoice_id
- # @return [String] The invoice ID of the latest invoice created for an active subscription.
- define_attribute :active_invoice_id, String
-
# @!attribute add_ons
# @return [Array[SubscriptionAddOn]] Add-ons
define_attribute :add_ons, Array, { :item_type => :SubscriptionAddOn }
# @!attribute add_ons_total
@@ -120,14 +116,10 @@
# @!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
@@ -151,13 +143,9 @@
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