lib/caren/store/line_item.rb in caren-api-0.6.8 vs lib/caren/store/line_item.rb in caren-api-0.6.9
- old
+ new
@@ -6,11 +6,11 @@
:sku, # String
:invoice_id, # Integer (caren invoice id)
:billable_id, # Integer (caren billable id)
:currency, # String (EUR)
:description, # String
- :delivered, # Boolean
+ :affect_credits, # Boolean
:discount_in_cents, # Integer
:discount_in_promillage, # Integer (190 = 19%)
:commission_in_cents, # Integer
:commission_in_promillage, # Integer (70 = 7%)
:price_in_cents, # Integer
@@ -35,10 +35,10 @@
:description => self.description,
:discount_in_cents => self.discount_in_cents,
:discount_in_promillage => self.discount_in_promillage,
:price_in_cents => self.price_in_cents,
:quantity => self.quantity,
- :delivered => self.delivered,
+ :affect_credits => self.affect_credits,
:unit => self.unit,
:sales_tax_in_cents => self.sales_tax_in_cents,
:sales_tax_in_promillage => self.sales_tax_in_promillage
}
end