Exemple #1
0
        public void Teller()
        {
            MaterialSkin.Operaciones.AuthenticationType TCR  = new MaterialSkin.Operaciones.AuthenticationType();
            MaterialSkin.Operaciones.DataResponse       TCR1 = new MaterialSkin.Operaciones.DataResponse();
            MaterialSkin.Operaciones.WebTellerClient    TCR2 = new MaterialSkin.Operaciones.WebTellerClient();
            string user     = "******";
            string pass     = "******";
            string terminal = "1";


            TCR.sLogin    = user;
            TCR.sPassword = pass;
            TCR.sTerminal = terminal;

            string ultimodia    = TCR2.TransactionDayCurrent(TCR).RetData;
            string fecha_actual = DateTime.Now.ToString("dd");
            int    dia_actual   = Convert.ToInt32(fecha_actual);

            string msj02 = "02 - Día Inicializado";
            string msj03 = "03 - Día Activado";    //TransactionDayOpen

            if (TCR2.TransactionDayOpen(TCR, dia_actual).Message == msj03)
            {
                TCR2.TransactionDayClose(TCR, Convert.ToInt32(ultimodia.Substring(0, 2)));
            }
            else
            {
            }
        }
Exemple #2
0
        public void ContinuarDeposito()
        {
            MaterialSkin.Operaciones.AuthenticationType TCR  = new MaterialSkin.Operaciones.AuthenticationType();
            MaterialSkin.Operaciones.DataResponse       TCR1 = new MaterialSkin.Operaciones.DataResponse();
            MaterialSkin.Operaciones.WebTellerClient    TCR2 = new MaterialSkin.Operaciones.WebTellerClient();
            TCR.sLogin    = txtUser.Text;
            TCR.sPassword = txtPass.Text;
            // TCR.sTerminal = txtTerminal.Text;


            string json = TCR2.ContinueDeposit(TCR).RetData;
        }
Exemple #3
0
 public System.Threading.Tasks.Task <MaterialSkin.Operaciones.DataResponse> TransactionDayCurrentAsync(MaterialSkin.Operaciones.AuthenticationType authData)
 {
     return(base.Channel.TransactionDayCurrentAsync(authData));
 }
Exemple #4
0
 public MaterialSkin.Operaciones.DataResponse TransactionDayCurrent(MaterialSkin.Operaciones.AuthenticationType authData)
 {
     return(base.Channel.TransactionDayCurrent(authData));
 }
Exemple #5
0
 public MaterialSkin.Operaciones.DataResponse TransactionDayReopen(MaterialSkin.Operaciones.AuthenticationType authData, int day)
 {
     return(base.Channel.TransactionDayReopen(authData, day));
 }
Exemple #6
0
 public System.Threading.Tasks.Task <MaterialSkin.Operaciones.DataResponse> WithdrawAsync(MaterialSkin.Operaciones.AuthenticationType authData, int iTotalValue)
 {
     return(base.Channel.WithdrawAsync(authData, iTotalValue));
 }
Exemple #7
0
 public MaterialSkin.Operaciones.DataResponse Withdraw(MaterialSkin.Operaciones.AuthenticationType authData, int iTotalValue)
 {
     return(base.Channel.Withdraw(authData, iTotalValue));
 }
Exemple #8
0
 public System.Threading.Tasks.Task <MaterialSkin.Operaciones.DataResponse> CancelDepositAsync(MaterialSkin.Operaciones.AuthenticationType authData)
 {
     return(base.Channel.CancelDepositAsync(authData));
 }
Exemple #9
0
 public MaterialSkin.Operaciones.DataResponse CancelDeposit(MaterialSkin.Operaciones.AuthenticationType authData)
 {
     return(base.Channel.CancelDeposit(authData));
 }
Exemple #10
0
 public MaterialSkin.Operaciones.DataResponse CloseTerminal(MaterialSkin.Operaciones.AuthenticationType authData)
 {
     return(base.Channel.CloseTerminal(authData));
 }
Exemple #11
0
 public System.Threading.Tasks.Task <MaterialSkin.Operaciones.DataResponse> InitTerminalAsync(MaterialSkin.Operaciones.AuthenticationType authData)
 {
     return(base.Channel.InitTerminalAsync(authData));
 }