Sha256: 8b516e74ccac0f10e8b785fbc4ba6028b888e7c00c86fba9f05f1f9de1e57e91

Contents?: true

Size: 771 Bytes

Versions: 5

Compression:

Stored size: 771 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Department
        module Operations
          class Update < QuickBooksOnline::Operation::FullUpdate
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:name).filled(:string)
                required(:active).filled(:bool?)
                required(:sub_department).filled(:bool?)
                optional(:fully_qualified_name).maybe(:string)
                optional(:parent).maybe(:hash, Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/quickbooks_online/department/operations/update.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/department/operations/update.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/department/operations/update.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/department/operations/update.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/department/operations/update.rb