public function USPSRateRequestEvent::setRateRequest in Commerce USPS 8
Set the rate request.
Parameters
\USPS\Rate $rate_request: The USPS rate object.
File
- src/
Event/ USPSRateRequestEvent.php, line 58
Class
- USPSRateRequestEvent
- Rate request event for USPS.
Namespace
Drupal\commerce_usps\EventCode
public function setRateRequest(Rate $rate_request) {
$this->rateRequest = $rate_request;
}