lib/recurly/requests/line_item_create.rb in recurly-3.0.0.beta.5 vs lib/recurly/requests/line_item_create.rb in recurly-3.0.0
- old
+ new
@@ -20,9 +20,13 @@
# @!attribute end_date
# @return [DateTime] If this date is provided, it indicates the end of a time range.
define_attribute :end_date, DateTime
+ # @!attribute product_code
+ # @return [String] Optional field to track a product code or SKU for the line item. This can be used to later reporting on product purchases. For Vertex tax calculations, this field will be used as the Vertex `product` field.
+ define_attribute :product_code, String
+
# @!attribute quantity
# @return [Integer] This number will be multiplied by the unit amount to compute the subtotal before any discounts or taxes.
define_attribute :quantity, Integer
# @!attribute start_date