active_shipping 1.0.0.pre4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.yardopts +0 -1
  5. data/CHANGELOG.md +17 -0
  6. data/CONTRIBUTING.md +2 -2
  7. data/Gemfile.activesupport32 +1 -0
  8. data/README.md +1 -1
  9. data/Rakefile +1 -1
  10. data/active_shipping.gemspec +2 -2
  11. data/lib/active_shipping.rb +2 -3
  12. data/lib/active_shipping/carriers.rb +1 -0
  13. data/lib/active_shipping/carriers/canada_post_pws.rb +281 -266
  14. data/lib/active_shipping/carriers/correios.rb +285 -0
  15. data/lib/active_shipping/carriers/fedex.rb +205 -199
  16. data/lib/active_shipping/carriers/stamps.rb +218 -219
  17. data/lib/active_shipping/carriers/ups.rb +287 -48
  18. data/lib/active_shipping/carriers/usps.rb +3 -3
  19. data/lib/active_shipping/delivery_date_estimate.rb +21 -0
  20. data/lib/active_shipping/delivery_date_estimates_response.rb +11 -0
  21. data/lib/active_shipping/errors.rb +20 -1
  22. data/lib/active_shipping/location.rb +0 -5
  23. data/lib/active_shipping/response.rb +0 -15
  24. data/lib/active_shipping/version.rb +1 -1
  25. data/test/credentials.yml +11 -3
  26. data/test/fixtures/xml/correios/book_response.xml +13 -0
  27. data/test/fixtures/xml/correios/book_response_invalid.xml +13 -0
  28. data/test/fixtures/xml/correios/clothes_response.xml +43 -0
  29. data/test/fixtures/xml/correios/poster_response.xml +23 -0
  30. data/test/fixtures/xml/correios/shoes_response.xml +43 -0
  31. data/test/fixtures/xml/fedex/tracking_request.xml +13 -11
  32. data/test/fixtures/xml/fedex/tracking_response_bad_tracking_number.xml +20 -0
  33. data/test/fixtures/xml/fedex/tracking_response_delivered_at_door.xml +254 -0
  34. data/test/fixtures/xml/fedex/tracking_response_delivered_at_facility.xml +403 -0
  35. data/test/fixtures/xml/fedex/tracking_response_delivered_with_signature.xml +269 -0
  36. data/test/fixtures/xml/fedex/tracking_response_in_transit.xml +127 -0
  37. data/test/fixtures/xml/fedex/tracking_response_multiple_results.xml +100 -0
  38. data/test/fixtures/xml/fedex/tracking_response_not_found.xml +52 -0
  39. data/test/fixtures/xml/fedex/tracking_response_shipment_exception.xml +209 -0
  40. data/test/fixtures/xml/ups/delivery_dates_response.xml +140 -0
  41. data/test/fixtures/xml/ups/package_exceeds_maximum_length.xml +12 -0
  42. data/test/fixtures/xml/ups/rate_single_service.xml +54 -0
  43. data/test/fixtures/xml/ups/rescheduled_shipment.xml +204 -0
  44. data/test/fixtures/xml/ups/test_real_home_as_residential_destination_response.xml +290 -1
  45. data/test/fixtures/xml/usps/delivered_extended_tracking_response.xml +11 -0
  46. data/test/remote/canada_post_pws_platform_test.rb +35 -22
  47. data/test/remote/canada_post_pws_test.rb +32 -40
  48. data/test/remote/correios_test.rb +83 -0
  49. data/test/remote/fedex_test.rb +95 -13
  50. data/test/remote/stamps_test.rb +1 -0
  51. data/test/remote/ups_test.rb +77 -40
  52. data/test/remote/usps_test.rb +13 -1
  53. data/test/test_helper.rb +12 -2
  54. data/test/unit/carriers/canada_post_pws_rating_test.rb +66 -59
  55. data/test/unit/carriers/canada_post_pws_shipping_test.rb +34 -23
  56. data/test/unit/carriers/correios_test.rb +244 -0
  57. data/test/unit/carriers/fedex_test.rb +161 -156
  58. data/test/unit/carriers/ups_test.rb +193 -1
  59. data/test/unit/carriers/usps_test.rb +14 -0
  60. data/test/unit/location_test.rb +0 -10
  61. metadata +63 -46
  62. metadata.gz.sig +0 -0
  63. data/lib/vendor/test_helper.rb +0 -6
  64. data/lib/vendor/xml_node/README +0 -36
  65. data/lib/vendor/xml_node/Rakefile +0 -21
  66. data/lib/vendor/xml_node/benchmark/bench_generation.rb +0 -30
  67. data/lib/vendor/xml_node/init.rb +0 -1
  68. data/lib/vendor/xml_node/lib/xml_node.rb +0 -221
  69. data/lib/vendor/xml_node/test/test_generating.rb +0 -89
  70. data/lib/vendor/xml_node/test/test_parsing.rb +0 -40
  71. data/test/fixtures/xml/fedex/tracking_response.xml +0 -151
  72. data/test/fixtures/xml/fedex/tracking_response_empty_destination.xml +0 -76
  73. data/test/fixtures/xml/fedex/tracking_response_no_destination.xml +0 -139
  74. data/test/fixtures/xml/fedex/tracking_response_no_ship_time.xml +0 -150
  75. data/test/fixtures/xml/fedex/tracking_response_with_estimated_delivery_date.xml +0 -95
  76. data/test/fixtures/xml/fedex/tracking_response_with_shipper_address.xml +0 -71
@@ -0,0 +1,127 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <TrackReply xmlns="http://fedex.com/ws/track/v7" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <HighestSeverity>SUCCESS</HighestSeverity>
4
+ <Notifications>
5
+ <Severity>SUCCESS</Severity>
6
+ <Source>trck</Source>
7
+ <Code>0</Code>
8
+ <Message>Request was successfully processed.</Message>
9
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
10
+ </Notifications>
11
+ <TransactionDetail>
12
+ <CustomerTransactionId>ActiveShipping</CustomerTransactionId>
13
+ </TransactionDetail>
14
+ <Version>
15
+ <ServiceId>trck</ServiceId>
16
+ <Major>7</Major>
17
+ <Intermediate>0</Intermediate>
18
+ <Minor>0</Minor>
19
+ </Version>
20
+ <CompletedTrackDetails>
21
+ <HighestSeverity>SUCCESS</HighestSeverity>
22
+ <Notifications>
23
+ <Severity>SUCCESS</Severity>
24
+ <Source>trck</Source>
25
+ <Code>0</Code>
26
+ <Message>Request was successfully processed.</Message>
27
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
28
+ </Notifications>
29
+ <DuplicateWaybill>false</DuplicateWaybill>
30
+ <MoreData>false</MoreData>
31
+ <TrackDetails>
32
+ <Notification>
33
+ <Severity>SUCCESS</Severity>
34
+ <Source>trck</Source>
35
+ <Code>0</Code>
36
+ <Message>Request was successfully processed.</Message>
37
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
38
+ </Notification>
39
+ <TrackingNumber>123456789012</TrackingNumber>
40
+ <TrackingNumberUniqueIdentifier>2456979001~123456789012~FX</TrackingNumberUniqueIdentifier>
41
+ <StatusDetail>
42
+ <CreationTime>2014-11-18T00:00:00</CreationTime>
43
+ <Code>IT</Code>
44
+ <Description>In transit</Description>
45
+ <Location>
46
+ <City>ALEXANDRIA</City>
47
+ <CountryCode>AU</CountryCode>
48
+ <CountryName>Australia</CountryName>
49
+ <Residential>false</Residential>
50
+ </Location>
51
+ <AncillaryDetails>
52
+ <Reason>72</Reason>
53
+ <ReasonDescription>Package available for clearance</ReasonDescription>
54
+ </AncillaryDetails>
55
+ </StatusDetail>
56
+ <ServiceCommitMessage>No estimated delivery date available at this time.</ServiceCommitMessage>
57
+ <DestinationServiceArea>EDDUNAVAILABLE</DestinationServiceArea>
58
+ <CarrierCode>FDXE</CarrierCode>
59
+ <OperatingCompanyOrCarrierDescription>FedEx Express</OperatingCompanyOrCarrierDescription>
60
+ <OtherIdentifiers>
61
+ <PackageIdentifier>
62
+ <Type>SHIPPER_REFERENCE</Type>
63
+ <Value>0010-4016328-C</Value>
64
+ </PackageIdentifier>
65
+ </OtherIdentifiers>
66
+ <Service>
67
+ <Type>PRIORITY_OVERNIGHT</Type>
68
+ <Description>FedEx Priority Overnight</Description>
69
+ <ShortDescription>PO</ShortDescription>
70
+ </Service>
71
+ <ShipmentWeight>
72
+ <Units>LB</Units>
73
+ <Value>0.5</Value>
74
+ </ShipmentWeight>
75
+ <Packaging>Your Packaging</Packaging>
76
+ <PackagingType>YOUR_PACKAGING</PackagingType>
77
+ <PackageSequenceNumber>0</PackageSequenceNumber>
78
+ <PackageCount>6</PackageCount>
79
+ <Commodities>
80
+ <NumberOfPieces>0</NumberOfPieces>
81
+ <Quantity>0.0</Quantity>
82
+ </Commodities>
83
+ <SpecialHandlings>
84
+ <Type>DELIVER_WEEKDAY</Type>
85
+ <Description>Deliver Weekday</Description>
86
+ <PaymentType>OTHER</PaymentType>
87
+ </SpecialHandlings>
88
+ <ShipTimestamp>2014-11-17T22:39:00+11:00</ShipTimestamp>
89
+ <DestinationAddress>
90
+ <City>GRAFTON</City>
91
+ <StateOrProvinceCode>ON</StateOrProvinceCode>
92
+ <CountryCode>AU</CountryCode>
93
+ <CountryName>Australia</CountryName>
94
+ <Residential>false</Residential>
95
+ </DestinationAddress>
96
+ <DeliveryAttempts>0</DeliveryAttempts>
97
+ <TotalUniqueAddressCountInConsolidation>0</TotalUniqueAddressCountInConsolidation>
98
+ <Signature>
99
+ <Notifications>
100
+ <Severity>ERROR</Severity>
101
+ <Source>trck</Source>
102
+ <Code>4550</Code>
103
+ <Message>Signature images are not available for display for shipments to this country.</Message>
104
+ <LocalizedMessage>Signature images are not available for display for shipments to this country.</LocalizedMessage>
105
+ </Notifications>
106
+ </Signature>
107
+ <NotificationEventsAvailable>ON_DELIVERY</NotificationEventsAvailable>
108
+ <NotificationEventsAvailable>ON_EXCEPTION</NotificationEventsAvailable>
109
+ <RedirectToHoldEligibility>INELIGIBLE</RedirectToHoldEligibility>
110
+ <Events>
111
+ <Timestamp>2014-11-18T18:13:00+11:00</Timestamp>
112
+ <EventType>IT</EventType>
113
+ <EventDescription>In transit</EventDescription>
114
+ <StatusExceptionCode>72</StatusExceptionCode>
115
+ <StatusExceptionDescription>Package available for clearance</StatusExceptionDescription>
116
+ <Address>
117
+ <City>ALEXANDRIA</City>
118
+ <PostalCode>2015</PostalCode>
119
+ <CountryCode>AU</CountryCode>
120
+ <CountryName>Australia</CountryName>
121
+ <Residential>false</Residential>
122
+ </Address>
123
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
124
+ </Events>
125
+ </TrackDetails>
126
+ </CompletedTrackDetails>
127
+ </TrackReply>
@@ -0,0 +1,100 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <TrackReply xmlns="http://fedex.com/ws/track/v7" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <HighestSeverity>SUCCESS</HighestSeverity>
4
+ <Notifications>
5
+ <Severity>SUCCESS</Severity>
6
+ <Source>trck</Source>
7
+ <Code>0</Code>
8
+ <Message>Request was successfully processed.</Message>
9
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
10
+ </Notifications>
11
+ <TransactionDetail>
12
+ <CustomerTransactionId>ActiveShipping</CustomerTransactionId>
13
+ </TransactionDetail>
14
+ <Version>
15
+ <ServiceId>trck</ServiceId>
16
+ <Major>7</Major>
17
+ <Intermediate>0</Intermediate>
18
+ <Minor>0</Minor>
19
+ </Version>
20
+ <CompletedTrackDetails>
21
+ <HighestSeverity>SUCCESS</HighestSeverity>
22
+ <DuplicateWaybill>true</DuplicateWaybill>
23
+ <MoreData>false</MoreData>
24
+ <TrackDetails>
25
+ <Notification>
26
+ <Severity>SUCCESS</Severity>
27
+ <Source>trck</Source>
28
+ <Code>0</Code>
29
+ <Message>Request was successfully processed.</Message>
30
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
31
+ </Notification>
32
+ <TrackingNumber>123456789012</TrackingNumber>
33
+ <TrackingNumberUniqueIdentifier>2456987000~123456789012~FX</TrackingNumberUniqueIdentifier>
34
+ <CarrierCode>FDXE</CarrierCode>
35
+ <OperatingCompanyOrCarrierDescription>FedEx Express</OperatingCompanyOrCarrierDescription>
36
+ <PackageSequenceNumber>0</PackageSequenceNumber>
37
+ <PackageCount>0</PackageCount>
38
+ <ShipTimestamp>2014-11-25T00:00:00</ShipTimestamp>
39
+ <DestinationAddress>
40
+ <City>COLLIERVILLE</City>
41
+ <StateOrProvinceCode>TN</StateOrProvinceCode>
42
+ <CountryCode>US</CountryCode>
43
+ <CountryName>United States</CountryName>
44
+ <Residential>false</Residential>
45
+ </DestinationAddress>
46
+ <DeliveryAttempts>0</DeliveryAttempts>
47
+ <TotalUniqueAddressCountInConsolidation>0</TotalUniqueAddressCountInConsolidation>
48
+ </TrackDetails>
49
+ <TrackDetails>
50
+ <Notification>
51
+ <Severity>SUCCESS</Severity>
52
+ <Source>trck</Source>
53
+ <Code>0</Code>
54
+ <Message>Request was successfully processed.</Message>
55
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
56
+ </Notification>
57
+ <TrackingNumber>123456789012</TrackingNumber>
58
+ <TrackingNumberUniqueIdentifier>2456979001~123456789012~FX</TrackingNumberUniqueIdentifier>
59
+ <CarrierCode>FDXE</CarrierCode>
60
+ <OperatingCompanyOrCarrierDescription>FedEx Express</OperatingCompanyOrCarrierDescription>
61
+ <PackageSequenceNumber>0</PackageSequenceNumber>
62
+ <PackageCount>0</PackageCount>
63
+ <ShipTimestamp>2014-11-17T00:00:00</ShipTimestamp>
64
+ <DestinationAddress>
65
+ <City>GRAFTON</City>
66
+ <StateOrProvinceCode>ON</StateOrProvinceCode>
67
+ <CountryCode>AU</CountryCode>
68
+ <CountryName>Australia</CountryName>
69
+ <Residential>false</Residential>
70
+ </DestinationAddress>
71
+ <DeliveryAttempts>0</DeliveryAttempts>
72
+ <TotalUniqueAddressCountInConsolidation>0</TotalUniqueAddressCountInConsolidation>
73
+ </TrackDetails>
74
+ <TrackDetails>
75
+ <Notification>
76
+ <Severity>SUCCESS</Severity>
77
+ <Source>trck</Source>
78
+ <Code>0</Code>
79
+ <Message>Request was successfully processed.</Message>
80
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
81
+ </Notification>
82
+ <TrackingNumber>123456789012</TrackingNumber>
83
+ <TrackingNumberUniqueIdentifier>2456979000~123456789012~FX</TrackingNumberUniqueIdentifier>
84
+ <CarrierCode>FDXE</CarrierCode>
85
+ <OperatingCompanyOrCarrierDescription>FedEx Express</OperatingCompanyOrCarrierDescription>
86
+ <PackageSequenceNumber>0</PackageSequenceNumber>
87
+ <PackageCount>0</PackageCount>
88
+ <ShipTimestamp>2014-11-25T00:00:00</ShipTimestamp>
89
+ <DestinationAddress>
90
+ <City>TONNESSEE</City>
91
+ <StateOrProvinceCode>TN</StateOrProvinceCode>
92
+ <CountryCode>US</CountryCode>
93
+ <CountryName>United States</CountryName>
94
+ <Residential>false</Residential>
95
+ </DestinationAddress>
96
+ <DeliveryAttempts>0</DeliveryAttempts>
97
+ <TotalUniqueAddressCountInConsolidation>0</TotalUniqueAddressCountInConsolidation>
98
+ </TrackDetails>
99
+ </CompletedTrackDetails>
100
+ </TrackReply>
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <TrackReply xmlns="http://fedex.com/ws/track/v7" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <HighestSeverity>SUCCESS</HighestSeverity>
4
+ <Notifications>
5
+ <Severity>SUCCESS</Severity>
6
+ <Source>trck</Source>
7
+ <Code>0</Code>
8
+ <Message>Request was successfully processed.</Message>
9
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
10
+ </Notifications>
11
+ <TransactionDetail>
12
+ <CustomerTransactionId>ActiveShipping</CustomerTransactionId>
13
+ </TransactionDetail>
14
+ <Version>
15
+ <ServiceId>trck</ServiceId>
16
+ <Major>7</Major>
17
+ <Intermediate>0</Intermediate>
18
+ <Minor>0</Minor>
19
+ </Version>
20
+ <CompletedTrackDetails>
21
+ <HighestSeverity>SUCCESS</HighestSeverity>
22
+ <Notifications>
23
+ <Severity>SUCCESS</Severity>
24
+ <Source>trck</Source>
25
+ <Code>0</Code>
26
+ <Message>Request was successfully processed.</Message>
27
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
28
+ </Notifications>
29
+ <DuplicateWaybill>false</DuplicateWaybill>
30
+ <MoreData>false</MoreData>
31
+ <TrackDetails>
32
+ <Notification>
33
+ <Severity>ERROR</Severity>
34
+ <Source>trck</Source>
35
+ <Code>9040</Code>
36
+ <Message>This tracking number cannot be found. Please check the number or contact the sender.</Message>
37
+ <LocalizedMessage>This tracking number cannot be found. Please check the number or contact the sender.</LocalizedMessage>
38
+ </Notification>
39
+ <TrackingNumber>123456789013</TrackingNumber>
40
+ <StatusDetail>
41
+ <Location>
42
+ <Residential>false</Residential>
43
+ </Location>
44
+ </StatusDetail>
45
+ <PackageSequenceNumber>0</PackageSequenceNumber>
46
+ <PackageCount>0</PackageCount>
47
+ <DeliveryAttempts>0</DeliveryAttempts>
48
+ <TotalUniqueAddressCountInConsolidation>0</TotalUniqueAddressCountInConsolidation>
49
+ <RedirectToHoldEligibility>INELIGIBLE</RedirectToHoldEligibility>
50
+ </TrackDetails>
51
+ </CompletedTrackDetails>
52
+ </TrackReply>
@@ -0,0 +1,209 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <TrackReply xmlns="http://fedex.com/ws/track/v7" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <HighestSeverity>SUCCESS</HighestSeverity>
4
+ <Notifications>
5
+ <Severity>SUCCESS</Severity>
6
+ <Source>trck</Source>
7
+ <Code>0</Code>
8
+ <Message>Request was successfully processed.</Message>
9
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
10
+ </Notifications>
11
+ <TransactionDetail>
12
+ <CustomerTransactionId>ActiveShipping</CustomerTransactionId>
13
+ </TransactionDetail>
14
+ <Version>
15
+ <ServiceId>trck</ServiceId>
16
+ <Major>7</Major>
17
+ <Intermediate>0</Intermediate>
18
+ <Minor>0</Minor>
19
+ </Version>
20
+ <CompletedTrackDetails>
21
+ <HighestSeverity>SUCCESS</HighestSeverity>
22
+ <Notifications>
23
+ <Severity>SUCCESS</Severity>
24
+ <Source>trck</Source>
25
+ <Code>0</Code>
26
+ <Message>Request was successfully processed.</Message>
27
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
28
+ </Notifications>
29
+ <DuplicateWaybill>false</DuplicateWaybill>
30
+ <MoreData>false</MoreData>
31
+ <TrackDetails>
32
+ <Notification>
33
+ <Severity>SUCCESS</Severity>
34
+ <Source>trck</Source>
35
+ <Code>0</Code>
36
+ <Message>Request was successfully processed.</Message>
37
+ <LocalizedMessage>Request was successfully processed.</LocalizedMessage>
38
+ </Notification>
39
+ <TrackingNumber>957794015041323</TrackingNumber>
40
+ <TrackingNumberUniqueIdentifier>12013~957794015041323~FDEG</TrackingNumberUniqueIdentifier>
41
+ <StatusDetail>
42
+ <CreationTime>2014-01-28T00:00:00</CreationTime>
43
+ <Code>SE</Code>
44
+ <Description>Shipment exception</Description>
45
+ <Location>
46
+ <StreetLines>4901 Village Creek Road</StreetLines>
47
+ <City>FORT WORTH</City>
48
+ <StateOrProvinceCode>TX</StateOrProvinceCode>
49
+ <CountryCode>US</CountryCode>
50
+ <CountryName>United States</CountryName>
51
+ <Residential>false</Residential>
52
+ </Location>
53
+ <AncillaryDetails>
54
+ <Reason>099</Reason>
55
+ <ReasonDescription>Unable to deliver</ReasonDescription>
56
+ </AncillaryDetails>
57
+ </StatusDetail>
58
+ <ServiceCommitMessage>No estimated delivery date available at this time.</ServiceCommitMessage>
59
+ <DestinationServiceArea>EDDUNAVAILABLE</DestinationServiceArea>
60
+ <CarrierCode>FDXG</CarrierCode>
61
+ <OperatingCompanyOrCarrierDescription>FedEx Ground</OperatingCompanyOrCarrierDescription>
62
+ <Service>
63
+ <Type>GROUND_HOME_DELIVERY</Type>
64
+ <Description>FedEx Home Delivery</Description>
65
+ <ShortDescription>HD</ShortDescription>
66
+ </Service>
67
+ <PackageWeight>
68
+ <Units>LB</Units>
69
+ <Value>1.0</Value>
70
+ </PackageWeight>
71
+ <Packaging>Package</Packaging>
72
+ <PackagingType>YOUR_PACKAGING</PackagingType>
73
+ <PackageSequenceNumber>1</PackageSequenceNumber>
74
+ <PackageCount>1</PackageCount>
75
+ <OriginLocationAddress>
76
+ <City>AUSTIN</City>
77
+ <StateOrProvinceCode>TX</StateOrProvinceCode>
78
+ <CountryCode>US</CountryCode>
79
+ <CountryName>United States</CountryName>
80
+ <Residential>false</Residential>
81
+ </OriginLocationAddress>
82
+ <ShipTimestamp>2014-01-27T00:00:00</ShipTimestamp>
83
+ <DestinationAddress>
84
+ <City>GOOSE CREEK</City>
85
+ <StateOrProvinceCode>SC</StateOrProvinceCode>
86
+ <CountryCode>US</CountryCode>
87
+ <CountryName>United States</CountryName>
88
+ <Residential>false</Residential>
89
+ </DestinationAddress>
90
+ <DeliveryAttempts>0</DeliveryAttempts>
91
+ <TotalUniqueAddressCountInConsolidation>0</TotalUniqueAddressCountInConsolidation>
92
+ <RedirectToHoldEligibility>POSSIBLY_ELIGIBLE</RedirectToHoldEligibility>
93
+ <Events>
94
+ <Timestamp>2014-01-28T17:43:08-06:00</Timestamp>
95
+ <EventType>SE</EventType>
96
+ <EventDescription>Shipment exception</EventDescription>
97
+ <StatusExceptionCode>099</StatusExceptionCode>
98
+ <StatusExceptionDescription>Unable to deliver</StatusExceptionDescription>
99
+ <Address>
100
+ <City>FORT WORTH</City>
101
+ <StateOrProvinceCode>TX</StateOrProvinceCode>
102
+ <PostalCode>76119</PostalCode>
103
+ <CountryCode>US</CountryCode>
104
+ <CountryName>United States</CountryName>
105
+ <Residential>false</Residential>
106
+ </Address>
107
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
108
+ </Events>
109
+ <Events>
110
+ <Timestamp>2014-01-28T10:23:34-06:00</Timestamp>
111
+ <EventType>DP</EventType>
112
+ <EventDescription>Departed FedEx location</EventDescription>
113
+ <Address>
114
+ <City>FORT WORTH</City>
115
+ <StateOrProvinceCode>TX</StateOrProvinceCode>
116
+ <PostalCode>76119</PostalCode>
117
+ <CountryCode>US</CountryCode>
118
+ <CountryName>United States</CountryName>
119
+ <Residential>false</Residential>
120
+ </Address>
121
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
122
+ </Events>
123
+ <Events>
124
+ <Timestamp>2014-01-28T02:41:00-06:00</Timestamp>
125
+ <EventType>AR</EventType>
126
+ <EventDescription>Arrived at FedEx location</EventDescription>
127
+ <Address>
128
+ <City>FORT WORTH</City>
129
+ <StateOrProvinceCode>TX</StateOrProvinceCode>
130
+ <PostalCode>76119</PostalCode>
131
+ <CountryCode>US</CountryCode>
132
+ <CountryName>United States</CountryName>
133
+ <Residential>false</Residential>
134
+ </Address>
135
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
136
+ </Events>
137
+ <Events>
138
+ <Timestamp>2014-01-27T22:05:41-06:00</Timestamp>
139
+ <EventType>DP</EventType>
140
+ <EventDescription>Left FedEx origin facility</EventDescription>
141
+ <Address>
142
+ <City>AUSTIN</City>
143
+ <StateOrProvinceCode>TX</StateOrProvinceCode>
144
+ <PostalCode>78744</PostalCode>
145
+ <CountryCode>US</CountryCode>
146
+ <CountryName>United States</CountryName>
147
+ <Residential>false</Residential>
148
+ </Address>
149
+ <ArrivalLocation>ORIGIN_FEDEX_FACILITY</ArrivalLocation>
150
+ </Events>
151
+ <Events>
152
+ <Timestamp>2014-01-27T20:23:00-06:00</Timestamp>
153
+ <EventType>AR</EventType>
154
+ <EventDescription>Arrived at FedEx location</EventDescription>
155
+ <Address>
156
+ <City>AUSTIN</City>
157
+ <StateOrProvinceCode>TX</StateOrProvinceCode>
158
+ <PostalCode>78744</PostalCode>
159
+ <CountryCode>US</CountryCode>
160
+ <CountryName>United States</CountryName>
161
+ <Residential>false</Residential>
162
+ </Address>
163
+ <ArrivalLocation>FEDEX_FACILITY</ArrivalLocation>
164
+ </Events>
165
+ <Events>
166
+ <Timestamp>2014-01-27T19:13:00-06:00</Timestamp>
167
+ <EventType>PU</EventType>
168
+ <EventDescription>Picked up</EventDescription>
169
+ <Address>
170
+ <City>AUSTIN</City>
171
+ <StateOrProvinceCode>TX</StateOrProvinceCode>
172
+ <PostalCode>78744</PostalCode>
173
+ <CountryCode>US</CountryCode>
174
+ <CountryName>United States</CountryName>
175
+ <Residential>false</Residential>
176
+ </Address>
177
+ <ArrivalLocation>PICKUP_LOCATION</ArrivalLocation>
178
+ </Events>
179
+ <Events>
180
+ <Timestamp>2014-01-27T18:10:00-06:00</Timestamp>
181
+ <EventType>IP</EventType>
182
+ <EventDescription>In FedEx possession</EventDescription>
183
+ <StatusExceptionCode>084</StatusExceptionCode>
184
+ <StatusExceptionDescription>Tendered at FedEx location</StatusExceptionDescription>
185
+ <Address>
186
+ <City>AUSTIN</City>
187
+ <StateOrProvinceCode>TX</StateOrProvinceCode>
188
+ <PostalCode>78704</PostalCode>
189
+ <CountryCode>US</CountryCode>
190
+ <CountryName>United States</CountryName>
191
+ <Residential>false</Residential>
192
+ </Address>
193
+ <ArrivalLocation>FEDEX_OFFICE_LOCATION</ArrivalLocation>
194
+ </Events>
195
+ <Events>
196
+ <Timestamp>2014-01-27T17:00:00-05:00</Timestamp>
197
+ <EventType>OC</EventType>
198
+ <EventDescription>Shipment information sent to FedEx</EventDescription>
199
+ <Address>
200
+ <PostalCode>13502</PostalCode>
201
+ <CountryCode>US</CountryCode>
202
+ <CountryName>United States</CountryName>
203
+ <Residential>false</Residential>
204
+ </Address>
205
+ <ArrivalLocation>CUSTOMER</ArrivalLocation>
206
+ </Events>
207
+ </TrackDetails>
208
+ </CompletedTrackDetails>
209
+ </TrackReply>