public MoviPaymentResponse MoviPayment(MoviPaymentRequest movipaymentRequest) { Log(Logger.LogMessageType.Info, "-> -------------------- Comienza la ejecución del método MoviPin.MoviPayment", Logger.LoggingLevelType.Medium); MoviPaymentRequestInternal internalObject = new MoviPaymentRequestInternal() { Amount = movipaymentRequest.Request.Amount, Type = movipaymentRequest.Request.Type, DeviceType = movipaymentRequest.Request.DeviceType, SessionID = movipaymentRequest.Request.SessionID, CouponID = movipaymentRequest.Request.CouponID }; MoviPaymentResponseInternal internalResponse = MoviPaymentInternal(internalObject); MoviPaymentResponse response = new MoviPaymentResponse(); MoviPaymentResponseBody responseBody = new MoviPaymentResponseBody() { ResponseCode = internalResponse.ResponseCode, ResponseMessage = internalResponse.ResponseMessage, TransactionID = internalResponse.TransactionID, Fee = internalResponse.Fee, ResultNameSpace = internalResponse.ResultNameSpace, ScheduleID = internalResponse.ScheduleID, TransExtReference = internalResponse.TransExtReference }; response.Response = responseBody; Log(Logger.LogMessageType.Info, "-> -------------------- Termina la ejecución del método MoviPin.MoviPayment", Logger.LoggingLevelType.Medium); return(response); }
public MoviPaymentResponse MoviPayment(MoviPaymentRequest request) { //TODO SECURE EXECUTION NO SE UTILIZA return(WrapResponse <MoviPaymentResponse, MoviPaymentResponseBody>(new ServiceExecutionDelegator <MoviPaymentResponseBody, MoviPaymentRequestBody>().ResolveRequest(request.Request, ApiTargetPlatform.Utiba, ApiServiceName.MoviPayment))); }