Ejemplo n.º 1
0
 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
            ));
 }
Ejemplo n.º 2
0
 public Country RetrievePricingCountry(string type, PricingCountryRequest request, Credentials creds = null)
 {
     return(RetrievePricingCountryAsync(type, request, creds).GetAwaiter().GetResult());
 }