Sha256: fef0d514209e4b804dc27c587800bdb12b94dc0d394b9e23c1a3a12d42a2722c

Contents?: true

Size: 729 Bytes

Versions: 3

Compression:

Stored size: 729 Bytes

Contents

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Department
        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(:sub_department).filled(:bool?)
                optional(:fully_qualified_name).maybe(:string)
                optional(:parent).maybe(:hash, Types::Reference)
              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/department/operations/create.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/department/operations/create.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/department/operations/create.rb