Sha256: a79c7f7f8dcd2be137dfd54fbf20ef51c228b5217617dab8600a780b98d6a779

Contents?: true

Size: 895 Bytes

Versions: 3

Compression:

Stored size: 895 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Bill
        module Operations
          class Update < QuickBooksOnline::Operation::FullUpdate
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                optional(:account).hash(Types::Reference)
                optional(:currency).filled(:string)
                optional(:due_date).maybe(:date?)
                required(:line_items).array(Types::Reference)
                required(:ledger_id).filled(:string)
                optional(:memo).maybe(:string)
                optional(:reference_number).maybe(:string)
                optional(:transaction_date).maybe(:date?)
                required(:vendor).hash(Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/update.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/update.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/update.rb