Sha256: bfa6c2046676defbc727237689c324ddb58e9d90679140184a3039c79342bc43

Contents?: true

Size: 739 Bytes

Versions: 8

Compression:

Stored size: 739 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
      class LedgerClass
        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_class).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/ledger_class/operations/create.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb