Sha256: e39ffdaf38d2c449e2b1c34c7891111576e4f01791c173bd9f7811a82d338e4e

Contents?: true

Size: 883 Bytes

Versions: 3

Compression:

Stored size: 883 Bytes

Contents

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Account
        module Operations
          class Create < QuickBooksOnline::Operation::Create
            class Contract < LedgerSync::Ledgers::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(:hash, Types::Reference)
                required(:description).maybe(:string)
                required(:ledger_id).value(:nil)
                required(:name).filled(:string)
                required(:number).maybe(:string)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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