Sha256: 1b976e005b911561213332720d523b31c99ce3151354502c27feda07f22c8a74

Contents?: true

Size: 568 Bytes

Versions: 2

Compression:

Stored size: 568 Bytes

Contents

module Xeroizer
  module Record

    class BatchPaymentModel < BaseModel
      set_permissions :read, :write
    end

    class BatchPayment < Base
      set_primary_key :batch_payment_id
      list_contains_summary_only false

      guid    :batch_payment_id
      string  :reference
      string  :details
      date    :date
      string  :type
      string  :status
      decimal :total_amount
      boolean :is_reconciled

      datetime_utc :updated_date_utc, :api_name => 'UpdatedDateUTC'

      belongs_to :account
      has_many   :payments
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xeroizer-3.0.1 lib/xeroizer/models/batch_payment.rb
xeroizer-3.0.0 lib/xeroizer/models/batch_payment.rb