Sha256: 522d4f2348c854e714d777d0250b3d74f3169ea97886be5112409a5cd1147cd6

Contents?: true

Size: 898 Bytes

Versions: 4

Compression:

Stored size: 898 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module NetSuite
      module Account
        module Operations
          class Find < NetSuite::Operation::Find
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:name).maybe(:string)
                required(:classification).maybe(:string)
                required(:account_type).maybe(:string)
                required(:account_sub_type).maybe(:string)
                required(:number).maybe(:integer)
                required(:currency).maybe(:hash, Types::Reference)
                required(:description).maybe(:string)
                required(:active).maybe(:bool)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/netsuite/account/operations/find.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/netsuite/account/operations/find.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/netsuite/account/operations/find.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/netsuite/account/operations/find.rb