public static function USPSUtilities::envelopeServices in Ubercart 8.4
Maps envelope shipment services to their IDs.
2 calls to USPSUtilities::envelopeServices()
- uc_usps_uc_shipping_method in shipping/
uc_usps/ uc_usps.module - Implements hook_uc_shipping_method().
- USPSSettingsForm::buildForm in shipping/
uc_usps/ src/ Form/ USPSSettingsForm.php - Form constructor.
File
- shipping/
uc_usps/ src/ USPSUtilities.php, line 13
Class
- USPSUtilities
- Utility routines for USPS Shipping.
Namespace
Drupal\uc_uspsCode
public static function envelopeServices() {
return [
'zero' => t('U.S.P.S. First-Class Mail Postcard'),
'zeroFlat' => t('U.S.P.S. First-Class Mail Letter'),
12 => t('U.S.P.S. First-Class Postcard Stamped'),
1 => t('U.S.P.S. Priority Mail'),
16 => t('U.S.P.S. Priority Mail Flat-Rate Envelope'),
3 => t('U.S.P.S. Express Mail'),
13 => t('U.S.P.S. Express Mail Flat-Rate Envelope'),
23 => t('U.S.P.S. Express Mail Sunday/Holiday Guarantee'),
25 => t('U.S.P.S. Express Mail Flat-Rate Envelope Sunday/Holiday Guarantee'),
];
}