public Store2.Catalogs.Service GetCatalogsService() { var service = new Store2.Catalogs.Service(Client) { BaseURL = BaseURL ?? Store2.Catalogs.Service.DefaultBaseURL, User = User ?? Environment.GetEnvironmentVariable("STORE2_USER"), Password = Password ?? Environment.GetEnvironmentVariable("STORE2_PASSWORD") }; return(service); }
public Store2.Catalogs.Service GetCatalogsService() { var service = new Store2.Catalogs.Service(Client) { BaseURL = BaseURL ?? Store2.Catalogs.Service.DefaultBaseURL, User = User ?? Environment.GetEnvironmentVariable("STORE2_USER"), Password = Password ?? Environment.GetEnvironmentVariable("STORE2_PASSWORD") }; return service; }