public function UPSRateRequest::getRateType in Commerce UPS 8.3
Gets the rate type: whether we will use negotiated rates or standard rates.
Return value
bool Returns true if negotiated rates should be requested.
1 call to UPSRateRequest::getRateType()
- UPSRateRequest::getRates in src/
UPSRateRequest.php - Fetch rates from the UPS API.
File
- src/
UPSRateRequest.php, line 150
Class
- UPSRateRequest
- Class UPSRateRequest.
Namespace
Drupal\commerce_upsCode
public function getRateType() {
return boolval($this->configuration['rate_options']['rate_type']);
}