Sha256: aaf59db5402b117ba00b1fe7f708b6bf453b5a0f553436803ba0394c5e1fcb20

Contents?: true

Size: 806 Bytes

Versions: 11

Compression:

Stored size: 806 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class Invoice
      module Operations
        class Update < Operation::FullUpdate
          class Contract < LedgerSync::Ledgers::Contract
            schema do
              required(:external_id).maybe(:string)
              required(:Currency).filled(:hash, Types::Reference)
              required(:Customer).hash(Types::Reference)
              optional(:Deposit).maybe(:integer)
              optional(:DepositToAccount).hash(Types::Reference)
              required(:ledger_id).filled(:string)
              required(:Line).array(Types::Reference)
              optional(:PrivateNote).filled(:string)
              optional(:TxnDate).filled(:date?)
            end
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/invoice/operations/update.rb