You are here

public function RateRequestEvent::setRateRequest in Commerce FedEx 8

Sets the rate request object.

Parameters

\NicholasCreativeMedia\FedExPHP\Structs\RateRequest $rate_request: The rate request object.

Return value

$this

File

src/Event/RateRequestEvent.php, line 72

Class

RateRequestEvent
Defines the rate request event for FedEx.

Namespace

Drupal\commerce_fedex\Event

Code

public function setRateRequest(RateRequest $rate_request) {
  $this->rateRequest = $rate_request;
  return $this;
}