/**
  * @param $country
  * @param $currency
  * @return \Commercetools\Core\Response\ApiResponseInterface
  */
 public function getByCountryAndCurrency($country, $currency)
 {
     $request = ShippingMethodByLocationGetRequest::ofCountry($country)->withCurrency($currency);
     $profiler = $this->profiler;
     $profiler->enter($profile = new Profile('getShippingMethodByCountryAndCurrency'));
     return $this->client->executeAsync($request)->then(function ($response) use($profiler, $profile) {
         $profiler->leave($profile);
         return $response;
     });
 }
 /**
  * @param $country
  * @param $currency
  * @return \Commercetools\Core\Response\ApiResponseInterface
  */
 public function getByCountryAndCurrency($locale, $country, $currency)
 {
     $client = $this->getClient();
     $request = ShippingMethodByLocationGetRequest::ofCountry($country)->withCurrency($currency);
     return $client->executeAsync($request);
 }