public StockExchangeWeb.StockExchangeService.Stock[] GetAllStock(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd)
 {
     StockExchangeWeb.StockExchangeService.GetAllStockRequest inValue = new StockExchangeWeb.StockExchangeService.GetAllStockRequest();
     inValue.AuthSoapHd = AuthSoapHd;
     StockExchangeWeb.StockExchangeService.GetAllStockResponse retVal = ((StockExchangeWeb.StockExchangeService.StockExchangeServiceSoap)(this)).GetAllStock(inValue);
     return(retVal.GetAllStockResult);
 }
 public StockExchangeWeb.StockExchangeService.Stock[] GetPortfolioDetails(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd, int portfolioId)
 {
     StockExchangeWeb.StockExchangeService.GetPortfolioDetailsRequest inValue = new StockExchangeWeb.StockExchangeService.GetPortfolioDetailsRequest();
     inValue.AuthSoapHd  = AuthSoapHd;
     inValue.portfolioId = portfolioId;
     StockExchangeWeb.StockExchangeService.GetPortfolioDetailsResponse retVal = ((StockExchangeWeb.StockExchangeService.StockExchangeServiceSoap)(this)).GetPortfolioDetails(inValue);
     return(retVal.GetPortfolioDetailsResult);
 }
 public StockExchangeWeb.StockExchangeService.Portfolio[] GetAllPortfolios(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd, string userName)
 {
     StockExchangeWeb.StockExchangeService.GetAllPortfoliosRequest inValue = new StockExchangeWeb.StockExchangeService.GetAllPortfoliosRequest();
     inValue.AuthSoapHd = AuthSoapHd;
     inValue.userName   = userName;
     StockExchangeWeb.StockExchangeService.GetAllPortfoliosResponse retVal = ((StockExchangeWeb.StockExchangeService.StockExchangeServiceSoap)(this)).GetAllPortfolios(inValue);
     return(retVal.GetAllPortfoliosResult);
 }
 public bool CreatePortfolio(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd, StockExchangeWeb.StockExchangeService.Portfolio newPortfolio)
 {
     StockExchangeWeb.StockExchangeService.CreatePortfolioRequest inValue = new StockExchangeWeb.StockExchangeService.CreatePortfolioRequest();
     inValue.AuthSoapHd   = AuthSoapHd;
     inValue.newPortfolio = newPortfolio;
     StockExchangeWeb.StockExchangeService.CreatePortfolioResponse retVal = ((StockExchangeWeb.StockExchangeService.StockExchangeServiceSoap)(this)).CreatePortfolio(inValue);
     return(retVal.CreatePortfolioResult);
 }
 public double GetStockPrice(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd, string stockCode)
 {
     StockExchangeWeb.StockExchangeService.GetStockPriceRequest inValue = new StockExchangeWeb.StockExchangeService.GetStockPriceRequest();
     inValue.AuthSoapHd = AuthSoapHd;
     inValue.stockCode  = stockCode;
     StockExchangeWeb.StockExchangeService.GetStockPriceResponse retVal = ((StockExchangeWeb.StockExchangeService.StockExchangeServiceSoap)(this)).GetStockPrice(inValue);
     return(retVal.GetStockPriceResult);
 }
 public GetPortfolioDetailsRequest(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd, int portfolioId)
 {
     this.AuthSoapHd  = AuthSoapHd;
     this.portfolioId = portfolioId;
 }
 public GetAllPortfoliosRequest(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd, string userName)
 {
     this.AuthSoapHd = AuthSoapHd;
     this.userName   = userName;
 }
 public CreatePortfolioRequest(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd, StockExchangeWeb.StockExchangeService.Portfolio newPortfolio)
 {
     this.AuthSoapHd   = AuthSoapHd;
     this.newPortfolio = newPortfolio;
 }
 public GetStockPriceRequest(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd, string stockCode)
 {
     this.AuthSoapHd = AuthSoapHd;
     this.stockCode  = stockCode;
 }
 public GetAllStockRequest(StockExchangeWeb.StockExchangeService.AuthSoapHd AuthSoapHd)
 {
     this.AuthSoapHd = AuthSoapHd;
 }