module Xeroizer module Record class PaymentModel < BaseModel set_permissions :write end class Payment < Base set_primary_key :payment_id guid :payment_id date :date decimal :amount decimal :currency_rate string :reference guid :invoice_id string :invoice_number guid :account_id string :code belongs_to :account belongs_to :invoice end end end