<commit_before>﻿using System;
using System.Collections.Generic;
using EPiServer.Reference.Commerce.Site.B2B.Models.Entities;
using EPiServer.Reference.Commerce.Site.B2B.Models.ViewModels;

namespace EPiServer.Reference.Commerce.Site.B2B.ServiceContracts
{
    public interface IBudgetService
    {
        List<BudgetViewModel> GetAllBudgets();
        void CreateNewBudget(BudgetViewModel budgetModel);
        List<Budget> GetOrganizationBudgets(Guid organizationId);
        void UpdateBudget(BudgetViewModel budgetModel);
        Budget GetBudgetById(int budgetId);
        bool IsTimeOverlapped(DateTime startDate, DateTime dueDateTime, Guid organizationGuid);
        Budget GetCurrentOrganizationBudget(Guid organizationId);
        bool HasEnoughAmount(Guid organizationGuid, decimal amount);
        List<Budget> GetOrganizationPurchasersBudgets(Guid organizationId);
        List<Budget> GetOrganizationBudgetsWithoutPurchasers(Guid organizationId);
        Budget GetCustomerCurrentBudget(Guid organizationId, string purchaserName);
        bool IsValidBudgetAmount(Guid organizationGuid, decimal amount);
        Budget GetUserActiveBudget(Guid customerId);
    }
}
<commit_msg>Fix merge<commit_after>﻿using System;
using System.Collections.Generic;
using EPiServer.Reference.Commerce.Site.B2B.Models.Entities;
using EPiServer.Reference.Commerce.Site.B2B.Models.ViewModels;

namespace EPiServer.Reference.Commerce.Site.B2B.ServiceContracts
{
    public interface IBudgetService
    {
        List<BudgetViewModel> GetAllBudgets();
        void CreateNewBudget(BudgetViewModel budgetModel);
        List<Budget> GetOrganizationBudgets(Guid organizationId);
        void UpdateBudget(BudgetViewModel budgetModel);
        Budget GetBudgetById(int budgetId);
        bool IsTimeOverlapped(DateTime startDate, DateTime dueDateTime, Guid organizationGuid);
        Budget GetCurrentOrganizationBudget(Guid organizationId);
        bool HasEnoughAmount(Guid organizationGuid, decimal amount);
        List<Budget> GetOrganizationPurchasersBudgets(Guid organizationId);
        List<Budget> GetOrganizationBudgetsWithoutPurchasers(Guid organizationId);
        Budget GetCustomerCurrentBudget(Guid organizationId, string purchaserName);
        Budget GetUserActiveBudget(Guid customerId);
    }
}

{'fraction_non_alphanumeric': 0.07034303082935302, 'fraction_numerical': 0.0026052974381241857, 'mean_word_length': 4.892583120204604, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4233437', 'n_tokens_mistral': 661, 'n_tokens_neox': 613, 'n_words': 118}