protected function USPSRequest::isTestMode in Commerce USPS 8
Determines if the shipping method is in test method..
Return value
bool Returns TRUE if we're in test mode.
1 call to USPSRequest::isTestMode()
- USPSRateRequestBase::setMode in src/
USPSRateRequestBase.php - Set the mode to either test/live.
File
- src/
USPSRequest.php, line 45
Class
- USPSRequest
- USPS API Service.
Namespace
Drupal\commerce_uspsCode
protected function isTestMode() {
return $this->configuration['api_information']['mode'] == 'test';
}