Sha256: b2d24d97b65251736ba458cc4cf2a536a911ab2b79972cacd8b56b7001a9aec9

Contents?: true

Size: 843 Bytes

Versions: 4

Compression:

Stored size: 843 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    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(: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

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.4.4 lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/create.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/create.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/create.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/create.rb