Sha256: 1d0dba80599d727abb6e694950c8cadfdad9c24cecf4b2ad36b33dac2bdd77df

Contents?: true

Size: 745 Bytes

Versions: 8

Compression:

Stored size: 745 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
      class Department
        module Operations
          class Delete < NetSuite::Operation::Delete
            class Contract < LedgerSync::Ledgers::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:name).maybe(:string)
                optional(:active).maybe(:bool?)
                optional(:sub_department).maybe(:bool?)
                optional(:fully_qualified_name).maybe(:string)
                optional(:parent).maybe(:hash, Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb