Sha256: 858143a0e2d4d6aa237e0fb9073cedfd5814d39074763d3508009e3061b2e0e5

Contents?: true

Size: 771 Bytes

Versions: 13

Compression:

Stored size: 771 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class Customer
      module Operations
        class Find < QuickBooksOnline::Operation::Find
          class Contract < LedgerSync::Ledgers::Contract
            params do
              required(:external_id).maybe(:string)
              required(:ledger_id).filled(:string)
              optional(:DisplayName).maybe(:string)
              optional(:FamilyName).maybe(:string)
              optional(:GivenName).maybe(:string)
              optional(:MiddleName).maybe(:string)
              optional(:PrimaryEmailAddr).maybe(:hash, Types::Reference)
              optional(:PrimaryPhone).maybe(:hash, Types::Reference)
            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/customer/operations/find.rb
ledger_sync-quickbooks_online-1.0.1 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/customer/operations/find.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/customer/operations/find.rb