You are here

public function USPSRateRequestBase::setConfig in Commerce USPS 8

Set the request configuration.

Parameters

array $configuration: A configuration array from a CommerceShippingMethod.

Overrides USPSRequest::setConfig

File

src/USPSRateRequestBase.php, line 77

Class

USPSRateRequestBase
Class USPSRateRequest.

Namespace

Drupal\commerce_usps

Code

public function setConfig(array $configuration) {
  parent::setConfig($configuration);

  // Set the configuration on the USPS Shipment service.
  $this->uspsShipment
    ->setConfig($configuration);
}