Skip to content

Instantly share code, notes, and snippets.

@vojd
Created December 3, 2012 09:56
Show Gist options
  • Save vojd/4193979 to your computer and use it in GitHub Desktop.
Save vojd/4193979 to your computer and use it in GitHub Desktop.
ups_selections
SHIPPING_SERVICES = (
('11', 'Standard'),
('07', 'Worldwide Express'),
('54', 'Worldwide Express Plus'),
('08', 'Worldwide Expedited'),
('65', 'Saver. Required for Rating and Ignored for Shopping'),
)
SHIPPING_SERVICES_LOOKUP = dict(SHIPPING_SERVICES)
# 07 - Worldwide Express
# http://www.ups.com/content/us/en/shipping/time/service/express.html
# Take advantage of this faster one-to-three day shipping service with guaranteed morning delivery times throughout the world
#
# 54 - UPS Worldwide Express Plus®
# http://www.ups.com/content/us/en/shipping/time/service/express_plus.html
# Get the early morning, guaranteed delivery advantage for your rush shipments
#
# 08 - UPS Worldwide Expedited®
# http://www.ups.com/content/us/en/shipping/time/service/expedited.html
# Choose a fast, guaranteed service for less-urgent international shipments
#
# 11 - Standard
# EU only
SHIPPING_PACKAGES = (
('00', 'UNKNOWN'),
('01', 'UPS Letter'),
('02', 'Package'),
('03', 'Tube'),
('04', 'Pak'),
('21', 'Express Box'),
('24', '25KG Box'),
('25', '10KG Box'),
('30', 'Pallet'),
('2a', 'Small Express Box'),
('22b', 'Medium Express Box'),
('2c', 'Large Express Box')
)
SHIPPING_PACKAGES_LOOKUP = dict(SHIPPING_PACKAGES)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment