<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExpenseManager.Model
{
    /// <summary>
    /// The class for the payment of the expenses
    /// </summary>
    public class Payment
    {
        /// <summary>
        /// The payment method
        /// </summary>
        private PaymentMethod method;
        /// <summary>
        /// The payment amount
        /// </summary>
        private float amount;

        /// <summary>
        /// The main constructor for the payment
        /// </summary>
        /// <param name="method">the payment method</param>
        /// <param name="amount">the payment amount</param>
        public Payment(PaymentMethod method, float amount)
        {
            this.method = method;
            this.amount = amount;
        }

        /// <summary>
        /// The ToString method that will show the content of the payment
        /// </summary>
        /// <returns>the content of payment in this format: Payment: method\nAmount: amount</returns>
        public override string ToString()
        {
            return base.ToString();
        }
    }
}<commit_msg>Updated Payment ToString ref #1<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExpenseManager.Model
{
    /// <summary>
    /// The class for the payment of the expenses
    /// </summary>
    public class Payment
    {
        /// <summary>
        /// The payment method
        /// </summary>
        private PaymentMethod method;
        /// <summary>
        /// The payment amount
        /// </summary>
        private float amount;

        /// <summary>
        /// The main constructor for the payment
        /// </summary>
        /// <param name="method">the payment method</param>
        /// <param name="amount">the payment amount</param>
        public Payment(PaymentMethod method, float amount)
        {
            this.method = method;
            this.amount = amount;
        }

        /// <summary>
        /// The ToString method that will show the content of the payment
        /// </summary>
        /// <returns>the content of payment in this format: Payment: method\nAmount: amount</returns>
        public override string ToString()
        {
            return "Payment: " + method + "\nAmount: " + amount;
        }
    }
}
{'fraction_non_alphanumeric': 0.12128612128612129, 'fraction_numerical': 0.000407000407000407, 'mean_word_length': 1.7402452619843924, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '4308710', 'n_tokens_mistral': 608, 'n_tokens_neox': 606, 'n_words': 197}