Sha256: ec19762ca1f3ca47e0e32813e061a8ec0b2a4d898b95c85ad5e68f3510f8349c

Contents?: true

Size: 668 Bytes

Versions: 5

Compression:

Stored size: 668 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Customer
        module Operations
          class Create < QuickBooksOnline::Operation::Create
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).value(:nil)
                required(:email).maybe(:string)
                required(:name).filled(:string)
                required(:phone_number).maybe(:string)
                required(: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/customer/operations/create.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/customer/operations/create.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/customer/operations/create.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/customer/operations/create.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/customer/operations/create.rb