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