lib/recurly/requests/add_on_pricing.rb in recurly-3.28.0 vs lib/recurly/requests/add_on_pricing.rb in recurly-4.0.0
- old
+ new
@@ -8,15 +8,15 @@
# @!attribute currency
# @return [String] 3-letter ISO 4217 currency code.
define_attribute :currency, String
- # @!attribute tax_inclusive
- # @return [Boolean] This field is deprecated. Please do not use it.
- define_attribute :tax_inclusive, :Boolean
-
# @!attribute unit_amount
- # @return [Float] Unit price
+ # @return [Float] Allows up to 2 decimal places. Required unless `unit_amount_decimal` is provided.
define_attribute :unit_amount, Float
+
+ # @!attribute unit_amount_decimal
+ # @return [String] Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
+ define_attribute :unit_amount_decimal, String
end
end
end