Sha256: 122be0cc08ee9c5878f6e1f856034504e3edda1d0d66889456f2ca108a34e744

Contents?: true

Size: 753 Bytes

Versions: 4

Compression:

Stored size: 753 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class LedgerClass
        module Operations
          class Create < QuickBooksOnline::Operation::Create
            class Contract < LedgerSync::Ledgers::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).value(:nil)
                required(:Name).filled(:string)
                required(:Active).filled(:bool?)
                required(:SubClass).filled(:bool?)
                optional(:FullyQualifiedName).maybe(:string)
                optional(:Parent).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.6.0 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/create.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/create.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/create.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/create.rb