Ejemplo n.º 1
0
 public Task <PricingResult> RetrievePrefixPricingAsync(string type, PricingPrefixRequest request, Credentials creds = null)
 {
     return(ApiRequest.DoGetRequestWithQueryParametersAsync <PricingResult>
            (
                ApiRequest.GetBaseUri(ApiRequest.UriType.Rest, $"/account/get-prefix-pricing/outbound/{type}"),
                ApiRequest.AuthType.Query,
                request,
                creds ?? Credentials
            ));
 }
Ejemplo n.º 2
0
 public PricingResult RetrievePrefixPricing(string type, PricingPrefixRequest request, Credentials creds = null)
 {
     return(RetrievePrefixPricingAsync(type, request, creds).GetAwaiter().GetResult());
 }