Ejemplo n.º 1
0
        public Token GetToken()
        {
            Token token  = new Token();
            int   branch = Convert.ToInt32(WebHelpers.GetEmployeeBranch());

            token.api_key    = api_key;
            token.api_secret = api_secret;
            //demo information:
            //used switch here branch to merchant_token
            token.merchant_token = "xxxxxxxxxxxxxxxxxxxxxxxxxx";

            return(token);
        }