lib/xeroizer/models/payment.rb in xeroizer-2.15.3 vs lib/xeroizer/models/payment.rb in xeroizer-2.15.5
- old
+ new
@@ -10,21 +10,21 @@
class Payment < Base
set_primary_key :payment_id
- guid :payment_id
- date :date
- decimal :amount
- decimal :currency_rate
- string :payment_type
- string :status
- string :reference
- datetime :updated_date_utc, :api_name => 'UpdatedDateUTC'
+ guid :payment_id
+ date :date
+ decimal :amount
+ decimal :currency_rate
+ string :payment_type
+ string :status
+ string :reference
+ datetime_utc :updated_date_utc, :api_name => 'UpdatedDateUTC'
- belongs_to :account
- belongs_to :invoice
+ belongs_to :account
+ belongs_to :invoice
def invoice_id
invoice.id if invoice
end
@@ -37,6 +37,6 @@
end
end
end
-end
\ No newline at end of file
+end