Sha256: 4e176c2aaf5313b014329f3040064c75c14cf258d0797f3c2d2bf8a7ef5ee873

Contents?: true

Size: 803 Bytes

Versions: 11

Compression:

Stored size: 803 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class Vendor
      module Operations
        class Create < Operation::Create
          class Contract < LedgerSync::Ledgers::Contract
            params do
              required(:external_id).maybe(:string)
              required(:ledger_id).value(:nil)
              optional(:CompanyName).maybe(:string)
              optional(:DisplayName).maybe(:string)
              optional(:FamilyName).maybe(:string)
              optional(:GivenName).maybe(:string)
              optional(:MiddleName).maybe(:string)
              required(:PrimaryPhone).maybe(:hash, Types::Reference)
              required(:PrimaryEmailAddr).maybe(:hash, Types::Reference)
            end
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/vendor/operations/create.rb