You are here

public static function USPSUtilities::internationalEnvelopeServices in Ubercart 8.4

Maps international envelope services to their IDs.

2 calls to USPSUtilities::internationalEnvelopeServices()
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 50

Class

USPSUtilities
Utility routines for USPS Shipping.

Namespace

Drupal\uc_usps

Code

public static function internationalEnvelopeServices() {
  return [
    13 => t('First Class Mail International Letter'),
    14 => t('First Class Mail International Large Envelope'),
    2 => t('Priority Mail International'),
    8 => t('Priority Mail International Flat Rate Envelope'),
    4 => t('Global Express Guaranteed'),
    12 => t('GXG Envelopes'),
    1 => t('Express Mail International (EMS)'),
    10 => t('Express Mail International (EMS) Flat Rate Envelope'),
  ];
}