Sha256: f7d8e9cd5b261b6417faf29177647c040cf8d8240880b0782dfe6ba8e338f019

Contents?: true

Size: 963 Bytes

Versions: 3

Compression:

Stored size: 963 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).hash(Types::Reference)
                required(:department).hash(Types::Reference)
                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.5 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/update.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/update.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/update.rb