Sha256: e383264fafdd4e0e46071851304a02e0cd0fcb82684e1bd03799bfc1925c643e

Contents?: true

Size: 831 Bytes

Versions: 15

Compression:

Stored size: 831 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module NetSuite
    class Account
      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)
              required(:classification).maybe(:string)
              required(:account_type).maybe(:string)
              required(:account_sub_type).maybe(:string)
              required(:number).filled(:string)
              required(:currency).filled(:hash, Types::Reference)
              required(:description).maybe(:string)
              required(:active).maybe(:bool)
            end
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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