protected function USPSRateRequestBase::setMode in Commerce USPS 8
Set the mode to either test/live.
1 call to USPSRateRequestBase::setMode()
- USPSRateRequestBase::buildRate in src/
USPSRateRequestBase.php - Build the rate request.
File
- src/
USPSRateRequestBase.php, line 183
Class
- USPSRateRequestBase
- Class USPSRateRequest.
Namespace
Drupal\commerce_uspsCode
protected function setMode() {
$this->uspsRequest
->setTestMode($this
->isTestMode());
}