Sha256: 0f6a067bcb0362144c37cc062faeca673b2aece2fe0a0fdb377c39dcb2ce027e

Contents?: true

Size: 682 Bytes

Versions: 14

Compression:

Stored size: 682 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module NetSuite
    class Department
      module Operations
        class Create < NetSuite::Operation::Create
          class Contract < LedgerSync::Ledgers::Contract
            params do
              required(:external_id).filled(:string)
              required(:ledger_id).value(:nil)
              required(:name).filled(: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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ledger_sync-netsuite-0.6.2 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.6.1 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.6.0 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.5.0 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.4.2 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.3.6 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.3.5 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.3.4 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.3.3 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.3.2 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.3.1 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.3.0 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.2.0 lib/ledger_sync/netsuite/department/operations/create.rb
ledger_sync-netsuite-0.1.1 lib/ledger_sync/netsuite/department/operations/create.rb