namespace Yavsc.Services
{
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
using Yavsc.Abstract.Workflow;
public interface IBillingService
{
// TODO ensure a default value at using this:
///
/// maps a command type name to a bolling code, used to get bill assets
///
///
Dictionary BillingMap { get; }
///
/// Renvoye la facture associée à une clé de facturation,
/// à partir du couple suivant :
///
/// * 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)
///
/// Identifiant du type de facturation
/// Identifiant de la demande du client
/// La facture
Task GetBillAsync(string billingCode, long queryId);
///
/// All performer setting in this activity
///
///
///
Task> GetPerformersSettingsAsync(string activityCode);
///
/// Perfomer settings for the specified performer in the activity
///
/// activityCode
/// performer uid
///
Task GetPerformerSettingsAsync(string activityCode, string userId);
}
}