Sha256: 500b3736395150c319778176ad988542fbcff592ddd25dbee606fa0020fe1b2d

Contents?: true

Size: 848 Bytes

Versions: 4

Compression:

Stored size: 848 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)
                required(:PrimaryEmailAddr).maybe(:hash, Types::Reference)
                optional(:DisplayName).maybe(:string)
                optional(:firstName).maybe(:string)
                optional(:lastName).maybe(:string)
                required(:PrimaryPhone).maybe(:hash, Types::Reference)
                required(:subsidiary).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.4.4 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb