public Task <Country> RetrievePricingCountryAsync(string type, PricingCountryRequest request, Credentials creds = null) { return(ApiRequest.DoGetRequestWithQueryParametersAsync <Country> ( ApiRequest.GetBaseUri(ApiRequest.UriType.Rest, $"/account/get-pricing/outbound/{type}"), ApiRequest.AuthType.Query, request, creds ?? Credentials )); }
public Country RetrievePricingCountry(string type, PricingCountryRequest request, Credentials creds = null) { return(RetrievePricingCountryAsync(type, request, creds).GetAwaiter().GetResult()); }