lib/recurly/requests/add_on_update.rb in recurly-3.6.0 vs lib/recurly/requests/add_on_update.rb in recurly-3.7.0

- old
+ new

@@ -45,10 +45,10 @@ # @!attribute tax_code # @return [String] Optional field used by Avalara, Vertex, and Recurly's EU VAT tax feature to determine taxation rules. If you have your own AvaTax or Vertex account configured, use their tax codes to assign specific tax rules. If you are using Recurly's EU VAT feature, you can use values of `unknown`, `physical`, or `digital`. If an `Item` is associated to the `AddOn` then `tax code` must be absent. define_attribute :tax_code, String # @!attribute tiers - # @return [Array[Tier]] If tiers are provided in the request, all existing tiers on the Add-on will be removed and replaced by the tiers in the request. + # @return [Array[Tier]] If the tier_type is `flat`, then `tiers` must be absent. The `tiers` object must include one to many tiers with `ending_quantity` and `unit_amount` for the desired `currencies`. There must be one tier with an `ending_quantity` of 999999999 which is the default if not provided. define_attribute :tiers, Array, { :item_type => :Tier } end end end