private void SetBaseUrl(AllegroEnviromentType enviromentType) { if (enviromentType.Equals(AllegroEnviromentType.Production)) { BaseUrl = "https://api.allegro.pl/"; } else { BaseUrl = "https://api.allegro.pl.allegrosandbox.pl/"; } }
public AllegroClientSettings(AllegroEnviromentType enviromentType) { SetBaseUrl(enviromentType); }