lib/caren/store/invoice.rb in caren-api-0.5.4 vs lib/caren/store/invoice.rb in caren-api-0.5.5

- old
+ new

@@ -2,10 +2,12 @@ def self.keys [:id, # Integer (Caren id) :external_id, # Integer (Your id) :person_id, # Integer (Caren person id) + :external_person_id, # Integer (Your person id) + :currency, # String :reference, # String :requires_account, # Boolean :requires_payment, # Boolean :access_token, # String :invoice_url, # String @@ -61,9 +63,10 @@ shipping_address.purpose = 'shipping' if shipping_address { :external_id => self.external_id, :person_id => self.person_id, + :external_person_id => self.external_person_id, :reference => self.reference, :requires_account => self.requires_account, :requires_payment => self.requires_payment, :customer_email => self.customer_email, :paid => self.paid,