Пример #1
0
        public Models.Input <Models.Inputs.ProcessIN> Process()
        {
            Models.Input <Models.Inputs.ProcessIN> log = new Models.Input <Models.Inputs.ProcessIN>();
            Models.CommonInputParams param             = new Models.CommonInputParams();
            Models.Inputs.ProcessIN  Sin = new Models.Inputs.ProcessIN();
            Models.SecureHash        sh  = new Models.SecureHash();

            param.username = "******";
            param.password = "******";


            Sin.AccountId      = 12;
            Sin.AccountUserId  = 12;
            Sin.ServiceAmount  = 0.0;
            Sin.PaymentAmount  = 0.0;
            Sin.countryCode    = "";
            Sin.DeviceID       = 12;
            Sin.msisdn         = "";
            Sin.PaymentChannel = "";
            Sin.seriviceCode   = "";
            Sin.ServiceId      = 12;
            Sin.serviceName    = "";
            Sin.transactionId  = "";

            sh.data       = "";
            sh.securehash = "";

            log.param  = param;
            log.input  = Sin;
            log.secure = sh;



            return(log);
        }
Пример #2
0
        public Models.Input <Models.Inputs.LoginIN> login()
        {
            Models.Input <Models.Inputs.LoginIN> log   = new Models.Input <Models.Inputs.LoginIN>();
            Models.CommonInputParams             param = new Models.CommonInputParams();
            param.username = "******";
            param.password = "******";

            log.param = param;

            Models.Inputs.LoginIN login = new Models.Inputs.LoginIN();

            log.input = login;

            return(log);
        }
Пример #3
0
        public Models.Input <Models.Inputs.ServicesIN> GetServicesByCountry()
        {
            Models.Input <Models.Inputs.ServicesIN> log = new Models.Input <Models.Inputs.ServicesIN>();
            Models.CommonInputParams        param       = new Models.CommonInputParams();
            Models.Inputs.ServicesIN        Sin         = new Models.Inputs.ServicesIN();
            Models.Inputs.GetActiveServices GAS         = new Models.Inputs.GetActiveServices();
            Models.Inputs.SecureHash        sh          = new Models.Inputs.SecureHash();
            param.username = "******";
            param.password = "******";

            sh.data       = "";
            sh.securehash = "";

            GAS.countryCode = "CW";
            GAS.secure      = sh;

            Sin.AccountID         = 12;
            Sin.GetActiveServices = GAS;

            log.param = param;
            log.input = Sin;

            return(log);
        }