Sha256: e7c4e6a4c3ae0be1cfb042848d06b017f8c094e124fd0d658c94ccf021de8a15

Contents?: true

Size: 898 Bytes

Versions: 8

Compression:

Stored size: 898 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    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
end

Version data entries

8 entries across 8 versions & 1 rubygems

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