lib/caren/store/line_item.rb in caren-api-0.5.0 vs lib/caren/store/line_item.rb in caren-api-0.5.1
- old
+ new
@@ -2,10 +2,11 @@
def self.keys
[:id, # Integer (Caren id)
:sku, # String
:invoice_id, # Integer (caren invoice id)
+ :billable_id, # Integer (caren billable id)
:currency, # String (EUR)
:description, # String
:discount_in_cents, # Integer
:discount_in_promillage, # Integer (190 = 19%)
:price_in_cents, # Integer
@@ -20,9 +21,10 @@
end
def as_xml
{
:sku => self.sku,
+ :billable_id => self.billable_id,
:currency => self.currency,
:description => self.description,
:discount_in_cents => self.discount_in_cents,
:discount_in_promillage => self.discount_in_promillage,
:price_in_cents => self.price_in_cents,