-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconsts.go
34 lines (31 loc) · 873 Bytes
/
consts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package postmaster
// VERSION contains this library's version.
var VERSION float32 = 1.0
// SERVICE_LEVELS unifies different carriers' service levels, for example:
// Fedex's "Standard Overnight", UPS' "Next Day Air Saver" and USPS' "Express"
// all become our's "1DAY".
// For reference, see http://postmaster.io/docs#services.
var SERVICE_LEVELS []string = []string{
"GROUND",
"3DAY",
"2DAY",
"2DAY_EARLY",
"1DAY",
"1DAY_EARLY",
"1DAY_MORNING",
"INTL_SURFACE",
"INTL_PRIORITY",
"INTL_EXPRESS",
}
// PACKAGE_TYPES unifies different carriers' packages terminology, for example:
// "Fedex Envelope", "UPS Letter" and "Legal Envelopes" all become "LETTER".
// For reference, see http://postmaster.io/docs#packages.
var PACKAGE_TYPES []string = []string{
"TUBE",
"LETTER",
"PAK",
"CARRIER_BOX_SMALL",
"CARRIER_BOX_MEDIUM",
"CARRIER_BOX_LARGE",
"CUSTOM",
}