Sha256: 0c26a400802f3997d9fbd4f0f9d7105f46dafe10e81ea2e340533e5462cae05d

Contents?: true

Size: 842 Bytes

Versions: 4

Compression:

Stored size: 842 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Customer
        module Operations
          class Update < QuickBooksOnline::Operation::FullUpdate
            class Contract < LedgerSync::Ledgers::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:DisplayName).maybe(:string)
                required(:FamilyName).maybe(:string)
                required(:GivenName).maybe(:string)
                required(:MiddleName).maybe(:string)
                required(:PrimaryEmailAddr).maybe(:hash, Types::Reference)
                required(: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/update.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/update.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/update.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/customer/operations/update.rb