Sha256: 6f9837c04abdefe4c17468b2ce96a140077b442c22633ac549a42b252b821a33

Contents?: true

Size: 854 Bytes

Versions: 5

Compression:

Stored size: 854 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Vendor
        module Operations
          class Update < Operation::FullUpdate
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                optional(:display_name).maybe(:string)
                optional(:first_name).maybe(:string)
                optional(:last_name).maybe(:string)
                optional(:email).maybe(:string)
                optional(:company_name).maybe(:string)
                optional(:phone_number).maybe(:string)
                optional(:subsidiary).maybe(:hash, Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/update.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/update.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/update.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/update.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/update.rb