Sha256: 5dc17ed5c8f4833afb8623639155c6f502a9a4b3ee3d9a5e3051079c2d262984

Contents?: true

Size: 948 Bytes

Versions: 13

Compression:

Stored size: 948 Bytes

Contents

# frozen_string_literal: true

# https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/account
# Requires full update
module LedgerSync
  module QuickBooksOnline
    class Account
      module Operations
        class Update < Operation::FullUpdate
          class Contract < LedgerSync::Ledgers::Contract
            params do
              required(:external_id).maybe(:string)
              required(:ledger_id).filled(:string)
              required(:AccountSubType).filled(:string)
              required(:AccountType).filled(:string)
              required(:AcctNum).maybe(:string)
              required(:Active).maybe(:bool)
              required(:Classification).filled(:string)
              required(:Currency).maybe(:hash, Types::Reference)
              required(:Description).maybe(:string)
              required(:Name).filled(:string)
            end
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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