Sha256: 0bfe09fbdf0e6235512577fec96309172ab3366348553c2b53b13483f9e900f3

Contents?: true

Size: 834 Bytes

Versions: 4

Compression:

Stored size: 834 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    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
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb