<commit_before># frozen_string_literal: true

module Minfraud
  module Components
    class Event < Base
      include ::Minfraud::Enum

      # Internal ID for the transaction. Used to locate a specific transaction
      # in minFraud logs.
      #
      # @return [String, nil]
      attr_accessor :transaction_id

      # Internal ID for the shop, affiliate, or merchant this order is coming from.
      #
      # @return [String, nil]
      attr_accessor :shop_id
<commit_msg>Improve transaction_id and shop_id descriptions<commit_after># frozen_string_literal: true

module Minfraud
  module Components
    class Event < Base
      include ::Minfraud::Enum

      # Your internal ID for the transaction. MaxMind can use this to locate a
      # specific transaction in logs, and it will also show up in email alerts
      # and notifications from MaxMind to you. No specific format is required.
      #
      # @return [String, nil]
      attr_accessor :transaction_id

      # Your internal ID for the shop, affiliate, or merchant this order is
      # coming from. Required for minFraud users who are resellers, payment
      # providers, gateways and affiliate networks. No specific format is
      # required.
      #
      # @return [String, nil]
      attr_accessor :shop_id

{'fraction_non_alphanumeric': 0.05754276827371695, 'fraction_numerical': 0.0, 'mean_word_length': 2.830357142857143, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2992451', 'n_tokens_mistral': 353, 'n_tokens_neox': 337, 'n_words': 144}