private void MapRequest(ISunitpService _iSunitpService, Data data)
        {
            var oPago = new __oPago();

            var isRequired    = false;
            var idUsuario     = "";
            var codigoFamilia = "";

            foreach (var item in data.DataList)
            {
                if (item.Field.Equals("Guid"))
                {
                    isRequired = true;
                    _guid      = item.Value;
                }
                if (item.Field.Equals("Fecha"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Hora"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Cajero"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("IdBanco"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("IdUsuario"))
                {
                    isRequired = true;
                    idUsuario  = item.Value;
                }
                if (item.Field.Equals("Sucursal"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Terminal"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Agencia"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("MetodoEjecutado"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Sbank"))
                {
                    isRequired          = true;
                    _request.Body.sBank = item.Value;
                }
                if (item.Field.Equals("Spass"))
                {
                    isRequired          = true;
                    _request.Body.sPass = item.Value;
                }
                if (item.Field.Equals("Recibo"))
                {
                    isRequired   = true;
                    oPago.Recibo = item.Value;
                }
                if (item.Field.Equals("CajeroPinares"))
                {
                    isRequired   = true;
                    oPago.Cajero = item.Value;
                }
                if (item.Field.Equals("CodigoFamilia"))
                {
                    isRequired          = true;
                    oPago.CodigoFamilia = item.Value;
                    codigoFamilia       = item.Value;
                }
                if (item.Field.Equals("FechaPago"))
                {
                    isRequired      = true;
                    oPago.FechaPago = item.Value;
                }
                if (item.Field.Equals("Valor"))
                {
                    isRequired  = true;
                    oPago.Valor = item.Value;
                }
                if (item.Field.Equals("Periodo"))
                {
                    isRequired    = true;
                    oPago.Periodo = item.Value;
                }
                if (item.Field.Equals("NumFactura"))
                {
                    isRequired       = true;
                    oPago.NumFactura = item.Value;
                }
                if (item.Field.Equals("Cuota"))
                {
                    isRequired  = true;
                    oPago.Cuota = item.Value;
                }
                if (item.Field.Equals("CodigoTransaccion"))
                {
                    isRequired = true;
                    oPago.CodigoTransaccion = item.Value;
                }

                if (isRequired)
                {
                    if (item.Value.Equals("") || item.Value == null)
                    {
                        _requirided    = true;
                        _requiredField = item.Field;
                    }
                }
                isRequired = false;
            }
            var oPagoHelper = new OPagoHelper(oPago);

            _request.Body.__oPago = oPagoHelper.GetOPago();

            _iSunitpService.SetCoreReferences(idUsuario + "-" + codigoFamilia);
        }
        private void MapRequest(ISunitpService _iSunitpService, Data data)
        {
            var isRequired = false;
            var idUsuario  = "";

            foreach (var item in data.DataList)
            {
                if (item.Field.Equals("Guid"))
                {
                    isRequired = true;
                    _guid      = item.Value;
                }
                if (item.Field.Equals("Fecha"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Hora"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Cajero"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("IdBanco"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("IdUsuario"))
                {
                    isRequired = true;
                    idUsuario  = item.Value;
                }
                if (item.Field.Equals("Sucursal"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Terminal"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Agencia"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("MetodoEjecutado"))
                {
                    isRequired = true;
                }
                if (item.Field.Equals("Sbank"))
                {
                    isRequired = true;
                    _Sbank     = item.Value;
                }
                if (item.Field.Equals("Spass"))
                {
                    isRequired = true;
                    _Spass     = item.Value;
                }
                if (item.Field.Equals("Scodigo"))
                {
                    isRequired = true;
                    _Scodigo   = item.Value;
                }
                if (isRequired)
                {
                    if (item.Value.Equals("") || item.Value == null)
                    {
                        _requirided    = true;
                        _requiredField = item.Field;
                    }
                }
                isRequired = false;
            }

            _iSunitpService.SetCoreReferences(idUsuario + "-" + _Scodigo);
        }