lib/recurly/resources/line_item.rb in recurly-4.11.0 vs lib/recurly/resources/line_item.rb in recurly-4.12.0
- old
+ new
@@ -65,11 +65,11 @@
# @!attribute end_date
# @return [DateTime] If this date is provided, it indicates the end of a time range.
define_attribute :end_date, DateTime
# @!attribute external_sku
- # @return [String] Optional Stock Keeping Unit assigned to an item. Available when the Credit Invoices and Subscription Billing Terms features are enabled.
+ # @return [String] Optional Stock Keeping Unit assigned to an item. Available when the Credit Invoices feature is enabled.
define_attribute :external_sku, String
# @!attribute id
# @return [String] Line item ID
define_attribute :id, String
@@ -81,14 +81,14 @@
# @!attribute invoice_number
# @return [String] Once the line item has been invoiced this will be the invoice's number. If VAT taxation and the Country Invoice Sequencing feature are enabled, invoices will have country-specific invoice numbers for invoices billed to EU countries (ex: FR1001). Non-EU invoices will continue to use the site-level invoice number sequence.
define_attribute :invoice_number, String
# @!attribute item_code
- # @return [String] Unique code to identify an item. Available when the Credit Invoices and Subscription Billing Terms features are enabled.
+ # @return [String] Unique code to identify an item. Available when the Credit Invoices feature is enabled.
define_attribute :item_code, String
# @!attribute item_id
- # @return [String] System-generated unique identifier for an item. Available when the Credit Invoices and Subscription Billing Terms features are enabled.
+ # @return [String] System-generated unique identifier for an item. Available when the Credit Invoices feature is enabled.
define_attribute :item_id, String
# @!attribute legacy_category
# @return [String] Category to describe the role of a line item on a legacy invoice: - "charges" refers to charges being billed for on this invoice. - "credits" refers to refund or proration credits. This portion of the invoice can be considered a credit memo. - "applied_credits" refers to previous credits applied to this invoice. See their original_line_item_id to determine where the credit first originated. - "carryforwards" can be ignored. They exist to consume any remaining credit balance. A new credit with the same amount will be created and placed back on the account.
define_attribute :legacy_category, String