Esempio n. 1
0
        public void Busqueda()
        {
            TokenDto token = new TokenDto(3215, 3);
            var      a     = new TarjetaRegalosBusiness(token).Busqueda("174665");

            Assert.IsNotNull(a);
        }
Esempio n. 2
0
        public void ActivarTarjeta()
        {
            TokenDto token = new TokenDto(3215, 3);
            var      a     = new TarjetaRegalosBusiness(token).ActivarTarjeta(1717, "167254", "12345678912345678");

            Assert.IsNotNull(a);
        }
Esempio n. 3
0
        public void Cobro()
        {
            TokenDto token = new TokenDto(3215, 3);
            var      a     = new TarjetaRegalosBusiness(token).Cobro(1717, "167254", 1, "12345678912345678", 1);

            Assert.IsNotNull(a);
        }
Esempio n. 4
0
        public ResponseBussiness <ProductsResponse[]> SearchTarjetaRegalo(string folioTarjeta)
        {
            TokenDto token = new TokenService().Get();
            ResponseBussiness <ProductsResponse[]> response = new TarjetaRegalosBusiness(token).Busqueda(folioTarjeta);

            return(response);
        }