public function RateRequestEvent::setRateService in Commerce FedEx 8
Sets the rate service.
Parameters
\NicholasCreativeMedia\FedExPHP\Services\RateService $rate_service: The rate service.
Return value
$this
File
- src/
Event/ RateRequestEvent.php, line 95
Class
- RateRequestEvent
- Defines the rate request event for FedEx.
Namespace
Drupal\commerce_fedex\EventCode
public function setRateService(RateService $rate_service) {
$this->rateService = $rate_service;
return $this;
}