/** * @return ShippingMethodCollection */ public function getShippingMethods($locale, $force = false) { $client = $this->getClient(); $cacheKey = static::NAME; $shippingMethodRequest = ShippingMethodQueryRequest::of(); return $this->retrieveAll($client, $cacheKey, $shippingMethodRequest, $locale, $force); }
/** * @return ShippingMethodCollection */ public function getShippingMethods($force = false) { $cacheKey = static::NAME; $shippingMethodRequest = ShippingMethodQueryRequest::of(); return $this->retrieveAll(static::NAME, $cacheKey, $shippingMethodRequest, $force); }