Sha256: 34e81b265a11dbce13bf487c1ad8560f317c897b7f59fe92c26284af9e08cd1b

Contents?: true

Size: 473 Bytes

Versions: 4

Compression:

Stored size: 473 Bytes

Contents

module Xeroizer
  module Record
    
    class PaymentModel < BaseModel
        
      set_xml_root_name 'Payments'
      set_permissions :read, :write
      
    end
    
    class Payment < Base
      
      set_primary_key :payment_id
      
      guid      :payment_id
      date      :date
      decimal   :amount
      decimal   :currency_rate
      string    :reference
            
      belongs_to  :account
      belongs_to  :invoice
      
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xeroizer-0.4.3 lib/xeroizer/models/payment.rb
xeroizer-0.4.2 lib/xeroizer/models/payment.rb
xeroizer-0.4.1 lib/xeroizer/models/payment.rb
xeroizer-0.4.0 lib/xeroizer/models/payment.rb