lib/caren/product.rb in caren-api-0.4.10 vs lib/caren/product.rb in caren-api-0.4.11

- old
+ new

@@ -1,19 +1,21 @@ class Caren::Product < Caren::Base def self.keys [ :id, # Integer (Id of this product in Caren) + :external_id, # Integer (Your id) :name, # String :description, # Text :care_provider_id, # Integer (Care provider id) :product_category_id, # Integer (Reference to product category; Caren id) :photo, # String :in_store, # Boolean (Use in store) :unit, # String (piece, minute, hour) :price, # Integer (in eurocents) :rounding, # Integer (in minutes) :min_amount, # Integer (in minutes) + :vat_promille, # Integer :status, # String (pending, active) :valid_from, # Date :valid_to # Date ] + super end @@ -48,9 +50,11 @@ :product_category_id => self.product_category_id, :in_store => self.in_store, :unit => self.unit, :price => self.price, :rounding => self.rounding, + :vat_promille => self.vat_promille, + :external_id => self.external_id, :min_amount => self.min_amount, :valid_from => self.valid_from, :valid_to => self.valid_to } end \ No newline at end of file