lib/recurly/requests/line_item_create.rb in recurly-4.27.0 vs lib/recurly/requests/line_item_create.rb in recurly-4.28.0

- old
+ new

@@ -24,9 +24,13 @@ # @!attribute currency # @return [String] 3-letter ISO 4217 currency code. If `item_code`/`item_id` is part of the request then `currency` is optional, if the site has a single default currency. `currency` is required if `item_code`/`item_id` is present, and there are multiple currencies defined on the site. If `item_code`/`item_id` is not present `currency` is required. define_attribute :currency, String + # @!attribute custom_fields + # @return [Array[CustomField]] The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value. + define_attribute :custom_fields, Array, { :item_type => :CustomField } + # @!attribute description # @return [String] Description that appears on the invoice. If `item_code`/`item_id` is part of the request then `description` must be absent. define_attribute :description, String # @!attribute end_date