public async Task <BaseResponse <CloseCycle> > InitiateSettlement(IInitiateSettlementRequest request) { var baseRequest = _baseRequestFactory.CreateBaseRequest(DateTime.Now, Utilities.Constants.RequestTypes.InitiateSettlement, new InitiateSettlementRequestMessage(request)); return(await _requestHandlerRepository.SendRequestAsync <BaseResponse <CloseCycle> >(baseRequest._requestMessage.GetResponseRootName(), baseRequest)); }
public InitiateSettlementRequestMessage(IInitiateSettlementRequest request) { MerchantCode = request.MerchantCode; MerchantAccountCode = request.MerchantAccountCode; }