lib/recurly/requests/add_on_update.rb in recurly-4.26.0 vs lib/recurly/requests/add_on_update.rb in recurly-4.27.0
- old
+ new
@@ -53,10 +53,10 @@
# @!attribute optional
# @return [Boolean] Whether the add-on is optional for the customer to include in their purchase on the hosted payment page. If false, the add-on will be included when a subscription is created through the Recurly UI. However, the add-on will not be included when a subscription is created through the API.
define_attribute :optional, :Boolean
# @!attribute percentage_tiers
- # @return [Array[PercentageTiersByCurrency]] `percentage_tiers` is an array of objects, which must have the set of tiers per currency and the currency code. The tier_type must be `volume` or `tiered`, if not, it must be absent. There must be one tier without an `ending_amount` value which represents the final tier.
+ # @return [Array[PercentageTiersByCurrency]] `percentage_tiers` is an array of objects, which must have the set of tiers per currency and the currency code. The tier_type must be `volume` or `tiered`, if not, it must be absent. There must be one tier without an `ending_amount` value which represents the final tier. This feature is currently in development and requires approval and enablement, please contact support.
define_attribute :percentage_tiers, Array, { :item_type => :PercentageTiersByCurrency }
# @!attribute revenue_schedule_type
# @return [String] When this add-on is invoiced, the line item will use this revenue schedule. If `item_code`/`item_id` is part of the request then `revenue_schedule_type` must be absent in the request as the value will be set from the item.
define_attribute :revenue_schedule_type, String