Untitled

 avatar
unknown
plain_text
5 months ago
707 B
4
Indexable
namespace mPaymentsAPI.Services
{
    public interface IGeneralServices
    {

        dynamic ParseErrors(string Message);



        Task<mPaymentResponse<T>> SetErrorMessage<T>(string BankCode, string ErrorCode, bool IsError = true, string eMsg = "", string aMsg = "");
        Task<mPaymentResponse<T>> SetErrorMessageWithReplace<T>(string BankCode, string ErrorCode, string oldChar, string newChar, bool IsError = true);
        Task<mPaymentResponse<T>> SetConnectorErrorMessage<T>(string ErrorCode, string ErrorEDesc, string ErrorADesc, string errorDetails = "");
        Result GetErroMessage(string ErrorCode);
        string StringfyHttpHeader(IHeaderDictionary header);

    }
}
Editor is loading...
Leave a Comment