lib/recurly/requests/subscription_change_create.rb in recurly-4.10.0 vs lib/recurly/requests/subscription_change_create.rb in recurly-4.11.0
- old
+ new
@@ -52,9 +52,13 @@
# @!attribute shipping
# @return [SubscriptionChangeShippingCreate] Shipping addresses are tied to a customer's account. Each account can have up to 20 different shipping addresses, and if you have enabled multiple subscriptions per account, you can associate different shipping addresses to each subscription.
define_attribute :shipping, :SubscriptionChangeShippingCreate
+ # @!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 use this flag.
+ define_attribute :tax_inclusive, :Boolean
+
# @!attribute timeframe
# @return [String] The timeframe parameter controls when the upgrade or downgrade takes place. The subscription change can occur now, when the subscription is next billed, or when the subscription term ends. Generally, if you're performing an upgrade, you will want the change to occur immediately (now). If you're performing a downgrade, you should set the timeframe to `term_end` or `bill_date` so the change takes effect at a scheduled billing date. The `renewal` timeframe option is accepted as an alias for `term_end`.
define_attribute :timeframe, String
# @!attribute transaction_type