Sha256: 6dae4742592d475914542d1ee0ca0ef54df476ded898411a047490a5ca150db4

Contents?: true

Size: 871 Bytes

Versions: 3

Compression:

Stored size: 871 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Account
        module Operations
          class Create < QuickBooksOnline::Operation::Create
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).maybe(:string)
                required(:account_sub_type).filled(:string)
                required(:account_type).filled(:string)
                required(:active).maybe(:bool)
                required(:classification).filled(:string)
                required(:currency).maybe(:string)
                required(:description).maybe(:string)
                required(:ledger_id).value(:nil)
                required(:name).filled(:string)
                required(:number).maybe(:integer)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/account/operations/create.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/account/operations/create.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/account/operations/create.rb