Sha256: bbb1f3088c1bf92d24da3db2546f3c1bd0f1e280145113c8ff8d8b7112e13dc3

Contents?: true

Size: 748 Bytes

Versions: 2

Compression:

Stored size: 748 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module NetSuite
      module Department
        module Operations
          class Delete < NetSuite::Operation::Delete
            class Contract < LedgerSync::Adaptors::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

2 entries across 2 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/netsuite/department/operations/delete.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/netsuite/department/operations/delete.rb