yavsc/src/Yavsc.Abstract/Interfaces/IBillingService.cs

39 lines
1.4 KiB
C#
Raw Normal View History

2017-06-08 00:26:29 +02:00
namespace Yavsc.Services
{
2026-08-22 03:34:48 +01:00
using System.Threading.Tasks;
using System.Collections.Generic;
2018-05-28 05:58:15 +02:00
using Yavsc.Abstract.Workflow;
2018-02-25 03:33:54 +01:00
2018-05-28 05:58:15 +02:00
public interface IBillingService
{
2018-05-28 05:58:15 +02:00
// TODO ensure a default value at using this:
/// <summary>
2023-04-01 13:03:56 +01:00
/// maps a command type name to a billing code, used to get bill assets
2018-05-28 05:58:15 +02:00
/// </summary>
/// <returns></returns>
Dictionary<string,string> BillingMap { get; }
/// <summary>
/// Renvoye la facture associée à une clé de facturation,
/// à partir du couple suivant :
2026-07-04 22:35:53 +01:00
///
/// * un code de facturation
/// (identifiant associé à un type de demande du client)
/// * un entier long identifiant la demande du client
/// (à une demande, on associe au maximum une seule facture)
/// </summary>
/// <param name="billingCode">Identifiant du type de facturation</param>
/// <param name="queryId">Identifiant de la demande du client</param>
/// <returns>La facture</returns>
2026-07-04 22:35:53 +01:00
Task<IQuery> GetBillAsync(string billingCode, long queryId);
2018-05-28 05:58:15 +02:00
/// <summary>
2026-07-04 22:35:53 +01:00
/// Perfomer settings for the specified performer in the activity
2018-05-28 05:58:15 +02:00
/// </summary>
/// <param name="activityCode">activityCode</param>
/// <param name="userId">performer uid</param>
/// <returns></returns>
2025-02-24 23:29:48 +00:00
Task<IUserSettings> GetPerformersSettingsAsync(string activityCode, string userId);
}
}