Sha256: 96b1f3420c031d356eba6ab8da35dc806034263725241a127ea7107b64ef9c0a

Contents?: true

Size: 846 Bytes

Versions: 5

Compression:

Stored size: 846 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Vendor
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:display_name).maybe(:string)
                required(:first_name).maybe(:string)
                required(:last_name).maybe(:string)
                optional(:email).maybe(:string)
                optional(:company_name).maybe(:string)
                optional(:phone_number).maybe(:string)
                optional(:subsidiary).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/vendor/operations/find.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/find.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/find.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/find.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/find.rb