ups-ruby 0.14.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ups/builders/builder_base.rb +7 -0
- data/lib/ups/version.rb +2 -2
- data/spec/support/AccessRequest.xsd +12 -0
- data/spec/support/IF.xsd +352 -0
- data/spec/support/RateRequest.xsd +454 -1
- data/spec/support/ShipAcceptRequest.xsd +4 -15
- data/spec/support/ShipConfirmRequest.xsd +99 -367
- data/spec/support/xsd_validator.rb +1 -1
- data/spec/ups/builders/rate_builder_spec.rb +1 -0
- data/spec/ups/builders/ship_confirm_builder_spec.rb +1 -0
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98eb4d0e532a9f1d70550ad5657b73365d2ae70e4d98611fdaaade27f391dbe8
|
4
|
+
data.tar.gz: a732b68cc271d6f0961ad0bb42b34d4f616f2ebbe0724d04da0b2fb3130deade
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72295e8a50e1f056894dbcb2e8e00d92a56f49f920d7fcb17ef22fba9fec4282c6141dea5948a9cf051026fa343e6c2e7126fd14c1f37c7c71543589a658acf4
|
7
|
+
data.tar.gz: 1abc90c0d00eb9c6421576a1e41b2f7bc60002a865a3135b8889ba29ab86452c6cb23d6d1ea2428d541c06485239693bf08a1a15a090bb4002fda9a29a83886c
|
data/Gemfile.lock
CHANGED
@@ -186,6 +186,13 @@ module UPS
|
|
186
186
|
end
|
187
187
|
end
|
188
188
|
|
189
|
+
# Adds Direct Delivery Only indicator to the shipment service options
|
190
|
+
#
|
191
|
+
# @return [void]
|
192
|
+
def add_shipment_direct_delivery_only
|
193
|
+
shipment_service_options << Element.new('DirectDeliveryOnlyIndicator')
|
194
|
+
end
|
195
|
+
|
189
196
|
# Returns a String representation of the XML document being built
|
190
197
|
#
|
191
198
|
# @return [String]
|
data/lib/ups/version.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ups="http://www.ups.com/XMLSchema" elementFormDefault="unqualified">
|
3
|
+
<xsd:element name="AccessRequest">
|
4
|
+
<xsd:complexType>
|
5
|
+
<xsd:sequence>
|
6
|
+
<xsd:element name="AccessLicenseNumber" type="xsd:string"/>
|
7
|
+
<xsd:element name="UserId" type="xsd:string"/>
|
8
|
+
<xsd:element name="Password" type="xsd:string"/>
|
9
|
+
</xsd:sequence>
|
10
|
+
</xsd:complexType>
|
11
|
+
</xsd:element>
|
12
|
+
</xsd:schema>
|
data/spec/support/IF.xsd
ADDED
@@ -0,0 +1,352 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" version="201801">
|
3
|
+
<xsd:element name="InternationalForms" type="InternationalFormsType"/>
|
4
|
+
<xsd:complexType name="InternationalFormsType">
|
5
|
+
<xsd:sequence>
|
6
|
+
<xsd:element name="FormType" type="xsd:string" maxOccurs="unbounded"/>
|
7
|
+
<xsd:element name="UserCreatedForm" type="UserCreatedFormType" minOccurs="0"/>
|
8
|
+
<xsd:element name="CN22Form" type="CN22FormType" minOccurs="0"/>
|
9
|
+
<xsd:element name="UPSPremiumCareForm" type="UPSPremiumCareFormType" minOccurs="0"/>
|
10
|
+
<xsd:element name="AdditionalDocumentIndicator" type="xsd:string" minOccurs="0"/>
|
11
|
+
<xsd:element name="FormGroupIdName" type="xsd:string" minOccurs="0"/>
|
12
|
+
<xsd:element name="SEDFilingOption" type="xsd:string" minOccurs="0"/>
|
13
|
+
<xsd:element name="Contacts" type="ContactsType" minOccurs="0"/>
|
14
|
+
<xsd:element name="Product" type="ProductType" maxOccurs="unbounded"/>
|
15
|
+
<xsd:element ref="InvoiceNumber" minOccurs="0"/>
|
16
|
+
<xsd:element name="InvoiceDate" type="xsd:string" minOccurs="0"/>
|
17
|
+
<xsd:element name="PurchaseOrderNumber" type="xsd:string" minOccurs="0"/>
|
18
|
+
<xsd:element ref="TermsOfShipment" minOccurs="0"/>
|
19
|
+
<xsd:element ref="ReasonForExport" minOccurs="0"/>
|
20
|
+
<xsd:element ref="Comments" minOccurs="0"/>
|
21
|
+
<xsd:element ref="DeclarationStatement" minOccurs="0"/>
|
22
|
+
<xsd:element name="Discount" type="DiscountType" minOccurs="0"/>
|
23
|
+
<xsd:element name="FreightCharges" type="FreightChargesType" minOccurs="0"/>
|
24
|
+
<xsd:element name="InsuranceCharges" type="InsuranceChargesType" minOccurs="0"/>
|
25
|
+
<xsd:element name="OtherCharges" type="OtherChargesType" minOccurs="0"/>
|
26
|
+
<xsd:element ref="CurrencyCode" minOccurs="0"/>
|
27
|
+
<xsd:element name="BlanketPeriod" type="BlanketPeriodType" minOccurs="0"/>
|
28
|
+
<xsd:element name="ExportDate" type="xsd:string" minOccurs="0"/>
|
29
|
+
<xsd:element name="ExportingCarrier" type="xsd:string" minOccurs="0"/>
|
30
|
+
<xsd:element ref="CarrierID" minOccurs="0"/>
|
31
|
+
<xsd:element name="InBondCode" type="xsd:string" minOccurs="0"/>
|
32
|
+
<xsd:element name="EntryNumber" type="xsd:string" minOccurs="0"/>
|
33
|
+
<xsd:element name="PointOfOrigin" type="xsd:string" minOccurs="0"/>
|
34
|
+
<xsd:element name="ModeOfTransport" type="xsd:string" minOccurs="0"/>
|
35
|
+
<xsd:element name="PortOfExport" type="xsd:string" minOccurs="0"/>
|
36
|
+
<xsd:element name="PortOfUnloading" type="xsd:string" minOccurs="0"/>
|
37
|
+
<xsd:element name="LoadingPier" type="xsd:string" minOccurs="0"/>
|
38
|
+
<xsd:element ref="PartiesToTransaction" minOccurs="0"/>
|
39
|
+
<xsd:element name="RoutedExportTransactionIndicator" type="xsd:string" minOccurs="0"/>
|
40
|
+
<xsd:element name="ContainerizedIndicator" type="xsd:string" minOccurs="0"/>
|
41
|
+
<xsd:element name="License" type="LicenseType" minOccurs="0"/>
|
42
|
+
<xsd:element name="ECCNNumber" type="xsd:string" minOccurs="0"/>
|
43
|
+
<xsd:element name="ShipperMemo" type="xsd:string" minOccurs="0"/>
|
44
|
+
<xsd:element name="OverridePaperlessIndicator" type="xsd:string" minOccurs="0"/>
|
45
|
+
<xsd:element name="MultiCurrencyInvoiceLineTotal" type="xsd:string" minOccurs="0"/>
|
46
|
+
<xsd:element name="PointOfOriginType" type="xsd:string" minOccurs="0"/>
|
47
|
+
<xsd:element name="EEIFilingOption" type="EEIFilingOptionType" minOccurs="0"/>
|
48
|
+
<xsd:element name="HazardousMaterialsIndicator" type="xsd:string" minOccurs="0"/>
|
49
|
+
</xsd:sequence>
|
50
|
+
</xsd:complexType>
|
51
|
+
<xsd:complexType name="UPSPremiumCareFormType">
|
52
|
+
<xsd:sequence>
|
53
|
+
<xsd:element name="ShipmentDate" type="xsd:string"/>
|
54
|
+
<xsd:element name="PageSize" type="xsd:string"/>
|
55
|
+
<xsd:element name="PrintType" type="xsd:string"/>
|
56
|
+
<xsd:element name="NumOfCopies" type="xsd:string"/>
|
57
|
+
<xsd:element name="LanguageForUPSPremiumCare" type="LanguageForUPSPremiumCareType"/>
|
58
|
+
</xsd:sequence>
|
59
|
+
</xsd:complexType>
|
60
|
+
<xsd:complexType name="LanguageForUPSPremiumCareType">
|
61
|
+
<xsd:sequence>
|
62
|
+
<xsd:element name="Language" type="xsd:string" maxOccurs="2"/>
|
63
|
+
</xsd:sequence>
|
64
|
+
</xsd:complexType>
|
65
|
+
<xsd:complexType name="UserCreatedFormType">
|
66
|
+
<xsd:sequence>
|
67
|
+
<xsd:element name="DocumentID" type="xsd:string" maxOccurs="13"/>
|
68
|
+
</xsd:sequence>
|
69
|
+
</xsd:complexType>
|
70
|
+
<xsd:complexType name="CN22FormType">
|
71
|
+
<xsd:sequence>
|
72
|
+
<xsd:element name="LabelSize" type="xsd:string" minOccurs="0"/>
|
73
|
+
<xsd:element name="PrintsPerPage" type="xsd:string" minOccurs="0"/>
|
74
|
+
<xsd:element name="LabelPrintType" type="xsd:string" minOccurs="0"/>
|
75
|
+
<xsd:element name="CN22Type" type="xsd:string" minOccurs="0"/>
|
76
|
+
<xsd:element name="CN22OtherDescription" type="xsd:string" minOccurs="0"/>
|
77
|
+
<xsd:element name="FoldHereText" type="xsd:string" minOccurs="0"/>
|
78
|
+
<xsd:element name="CN22Content" type="CN22ContentType" minOccurs="0" maxOccurs="30"/>
|
79
|
+
</xsd:sequence>
|
80
|
+
</xsd:complexType>
|
81
|
+
<xsd:complexType name="CN22ContentType">
|
82
|
+
<xsd:sequence>
|
83
|
+
<xsd:element name="CN22ContentQuantity" type="xsd:string" minOccurs="0"/>
|
84
|
+
<xsd:element name="CN22ContentDescription" type="xsd:string" minOccurs="0"/>
|
85
|
+
<xsd:element name="CN22ContentWeight" type="ProductWeightType" minOccurs="0"/>
|
86
|
+
<xsd:element name="CN22ContentTotalValue" type="xsd:string" minOccurs="0"/>
|
87
|
+
<xsd:element name="CN22ContentCurrencyCode" type="xsd:string" minOccurs="0"/>
|
88
|
+
<xsd:element name="CN22ContentCountryOfOrigin" type="xsd:string" minOccurs="0"/>
|
89
|
+
<xsd:element name="CN22ContentTariffNumber" type="xsd:string" minOccurs="0"/>
|
90
|
+
</xsd:sequence>
|
91
|
+
</xsd:complexType>
|
92
|
+
<xsd:element name="AddressLine1" type="xsd:string"/>
|
93
|
+
<xsd:element name="AddressLine2" type="xsd:string"/>
|
94
|
+
<xsd:element name="AddressLine3" type="xsd:string"/>
|
95
|
+
<xsd:complexType name="AddressType">
|
96
|
+
<xsd:sequence>
|
97
|
+
<xsd:element ref="AddressLine1" minOccurs="0"/>
|
98
|
+
<xsd:element ref="AddressLine2" minOccurs="0"/>
|
99
|
+
<xsd:element ref="AddressLine3" minOccurs="0"/>
|
100
|
+
<xsd:element ref="City" minOccurs="0"/>
|
101
|
+
<xsd:element ref="StateProvinceCode" minOccurs="0"/>
|
102
|
+
<xsd:element ref="PostalCode" minOccurs="0"/>
|
103
|
+
<xsd:element ref="CountryCode"/>
|
104
|
+
</xsd:sequence>
|
105
|
+
</xsd:complexType>
|
106
|
+
<xsd:element name="BeginDate" type="xsd:string"/>
|
107
|
+
<xsd:complexType name="BlanketPeriodType">
|
108
|
+
<xsd:sequence>
|
109
|
+
<xsd:element ref="BeginDate"/>
|
110
|
+
<xsd:element ref="EndDate"/>
|
111
|
+
</xsd:sequence>
|
112
|
+
</xsd:complexType>
|
113
|
+
<xsd:element name="CarrierID" type="xsd:string"/>
|
114
|
+
<xsd:element name="City" type="xsd:string"/>
|
115
|
+
<xsd:complexType name="ContactsType">
|
116
|
+
<xsd:sequence>
|
117
|
+
<xsd:element name="ForwardAgent" type="ForwardAgentType" minOccurs="0"/>
|
118
|
+
<xsd:element name="UltimateConsignee" type="UltimateConsigneeType" minOccurs="0"/>
|
119
|
+
<xsd:element name="IntermediateConsignee" type="IntermediateConsigneeType" minOccurs="0"/>
|
120
|
+
<xsd:element name="Producer" type="ProducerType" minOccurs="0"/>
|
121
|
+
</xsd:sequence>
|
122
|
+
</xsd:complexType>
|
123
|
+
<xsd:element name="CompanyName" type="xsd:string"/>
|
124
|
+
<xsd:element name="Code" type="xsd:string"/>
|
125
|
+
<xsd:complexType name="CodeType">
|
126
|
+
<xsd:sequence>
|
127
|
+
<xsd:element ref="Code"/>
|
128
|
+
<xsd:element ref="Description" minOccurs="0"/>
|
129
|
+
</xsd:sequence>
|
130
|
+
</xsd:complexType>
|
131
|
+
<xsd:element name="CurrencyCode" type="xsd:string"/>
|
132
|
+
<xsd:element name="CountryCode" type="xsd:string"/>
|
133
|
+
<xsd:element name="Comments" type="xsd:string"/>
|
134
|
+
<xsd:element name="CommodityCode" type="xsd:string"/>
|
135
|
+
<xsd:element name="Date" type="xsd:string"/>
|
136
|
+
<xsd:element name="DeclarationStatement" type="xsd:string"/>
|
137
|
+
<xsd:element name="Description" type="xsd:string"/>
|
138
|
+
<xsd:complexType name="DiscountType">
|
139
|
+
<xsd:sequence>
|
140
|
+
<xsd:element ref="MonetaryValue"/>
|
141
|
+
</xsd:sequence>
|
142
|
+
</xsd:complexType>
|
143
|
+
<xsd:element name="EndDate" type="xsd:string"/>
|
144
|
+
<xsd:element name="ExportDate" type="xsd:string"/>
|
145
|
+
<xsd:element name="ExportingCarrier" type="xsd:string"/>
|
146
|
+
<xsd:complexType name="ForwardAgentType">
|
147
|
+
<xsd:sequence>
|
148
|
+
<xsd:element ref="CompanyName" minOccurs="0"/>
|
149
|
+
<xsd:element ref="TaxIdentificationNumber" minOccurs="0"/>
|
150
|
+
<xsd:element name="Address" type="AddressType" minOccurs="0"/>
|
151
|
+
</xsd:sequence>
|
152
|
+
</xsd:complexType>
|
153
|
+
<xsd:complexType name="FreightChargesType">
|
154
|
+
<xsd:sequence>
|
155
|
+
<xsd:element ref="MonetaryValue"/>
|
156
|
+
</xsd:sequence>
|
157
|
+
</xsd:complexType>
|
158
|
+
<xsd:complexType name="InsuranceChargesType">
|
159
|
+
<xsd:sequence>
|
160
|
+
<xsd:element ref="MonetaryValue"/>
|
161
|
+
</xsd:sequence>
|
162
|
+
</xsd:complexType>
|
163
|
+
<xsd:complexType name="IntermediateConsigneeType">
|
164
|
+
<xsd:sequence>
|
165
|
+
<xsd:element ref="CompanyName" minOccurs="0"/>
|
166
|
+
<xsd:element name="Address" type="AddressType" minOccurs="0"/>
|
167
|
+
</xsd:sequence>
|
168
|
+
</xsd:complexType>
|
169
|
+
<xsd:element name="InvoiceNumber" type="xsd:string"/>
|
170
|
+
<xsd:complexType name="LicenseType">
|
171
|
+
<xsd:sequence>
|
172
|
+
<xsd:element ref="Number"/>
|
173
|
+
<xsd:element ref="Date"/>
|
174
|
+
<xsd:element name="ExceptionCode" type="xsd:string" minOccurs="0"/>
|
175
|
+
</xsd:sequence>
|
176
|
+
</xsd:complexType>
|
177
|
+
<xsd:element name="MarksAndNumbers" type="xsd:string"/>
|
178
|
+
<xsd:element name="MonetaryValue" type="xsd:string"/>
|
179
|
+
<xsd:complexType name="NetCostDateRangeType">
|
180
|
+
<xsd:sequence>
|
181
|
+
<xsd:element ref="BeginDate"/>
|
182
|
+
<xsd:element ref="EndDate"/>
|
183
|
+
</xsd:sequence>
|
184
|
+
</xsd:complexType>
|
185
|
+
<xsd:element name="Number" type="xsd:string"/>
|
186
|
+
<xsd:element name="NumberOfPackagesPerCommodity" type="xsd:string"/>
|
187
|
+
<xsd:element name="OriginCountryCode" type="xsd:string"/>
|
188
|
+
<xsd:complexType name="OtherChargesType">
|
189
|
+
<xsd:sequence>
|
190
|
+
<xsd:element ref="MonetaryValue"/>
|
191
|
+
<xsd:element ref="Description" minOccurs="0"/>
|
192
|
+
</xsd:sequence>
|
193
|
+
</xsd:complexType>
|
194
|
+
<xsd:element name="PartiesToTransaction" type="xsd:string"/>
|
195
|
+
<xsd:element name="PartNumber" type="xsd:string"/>
|
196
|
+
<xsd:complexType name="PhoneType">
|
197
|
+
<xsd:sequence>
|
198
|
+
<xsd:element name="Number" type="xsd:string"/>
|
199
|
+
<xsd:element name="Extension" type="xsd:string" minOccurs="0"/>
|
200
|
+
</xsd:sequence>
|
201
|
+
</xsd:complexType>
|
202
|
+
<xsd:element name="PostalCode" type="xsd:string"/>
|
203
|
+
<xsd:complexType name="ProductType">
|
204
|
+
<xsd:sequence>
|
205
|
+
<xsd:element ref="Description" maxOccurs="unbounded"/>
|
206
|
+
<xsd:element name="Unit" type="UnitType" minOccurs="0"/>
|
207
|
+
<xsd:element ref="CommodityCode" minOccurs="0"/>
|
208
|
+
<xsd:element ref="PartNumber" minOccurs="0"/>
|
209
|
+
<xsd:element ref="OriginCountryCode" minOccurs="0"/>
|
210
|
+
<xsd:element name="JointProductionIndicator" type="xsd:string" minOccurs="0"/>
|
211
|
+
<xsd:element name="NetCostCode" type="xsd:string" minOccurs="0"/>
|
212
|
+
<xsd:element name="NetCostDateRange" type="NetCostDateRangeType" minOccurs="0"/>
|
213
|
+
<xsd:element name="PreferenceCriteria" type="xsd:string" minOccurs="0"/>
|
214
|
+
<xsd:element name="ProducerInfo" type="xsd:string" minOccurs="0"/>
|
215
|
+
<xsd:element ref="MarksAndNumbers" minOccurs="0"/>
|
216
|
+
<xsd:element ref="NumberOfPackagesPerCommodity" minOccurs="0"/>
|
217
|
+
<xsd:element name="ProductWeight" type="ProductWeightType" minOccurs="0"/>
|
218
|
+
<xsd:element name="VehicleID" type="xsd:string" minOccurs="0"/>
|
219
|
+
<xsd:element name="ScheduleB" type="ScheduleBType" minOccurs="0"/>
|
220
|
+
<xsd:element name="ExportType" type="xsd:string" minOccurs="0"/>
|
221
|
+
<xsd:element name="SEDTotalValue" type="xsd:string" minOccurs="0"/>
|
222
|
+
<xsd:element name="ExcludeFromForm" type="ExcludeFromFormType" minOccurs="0"/>
|
223
|
+
<xsd:element name="ProductCurrencyCode" type="xsd:string" minOccurs="0"/>
|
224
|
+
<xsd:element name="PackingListInfo" type="PackingListInfoType" minOccurs="0"/>
|
225
|
+
<xsd:element name="EEIInformation" type="EEIInformationType" minOccurs="0"/>
|
226
|
+
</xsd:sequence>
|
227
|
+
</xsd:complexType>
|
228
|
+
<xsd:complexType name="ExcludeFromFormType">
|
229
|
+
<xsd:sequence>
|
230
|
+
<xsd:element name="FormType" type="xsd:string" maxOccurs="unbounded"/>
|
231
|
+
</xsd:sequence>
|
232
|
+
</xsd:complexType>
|
233
|
+
<xsd:complexType name="ProducerType">
|
234
|
+
<xsd:sequence>
|
235
|
+
<xsd:element name="Option" type="xsd:string" minOccurs="0"/>
|
236
|
+
<xsd:element ref="CompanyName" minOccurs="0"/>
|
237
|
+
<xsd:element ref="TaxIdentificationNumber" minOccurs="0"/>
|
238
|
+
<xsd:element name="Address" type="AddressType" minOccurs="0"/>
|
239
|
+
<xsd:element name="AttentionName" type="xsd:string" minOccurs="0"/>
|
240
|
+
<xsd:element name="Phone" type="PhoneType" minOccurs="0"/>
|
241
|
+
<xsd:element name="EMailAddress" type="xsd:string" minOccurs="0"/>
|
242
|
+
</xsd:sequence>
|
243
|
+
</xsd:complexType>
|
244
|
+
<xsd:complexType name="ProductWeightType">
|
245
|
+
<xsd:sequence>
|
246
|
+
<xsd:element ref="UnitOfMeasurement" minOccurs="0"/>
|
247
|
+
<xsd:element ref="Weight"/>
|
248
|
+
</xsd:sequence>
|
249
|
+
</xsd:complexType>
|
250
|
+
<xsd:element name="Quantity" type="xsd:string"/>
|
251
|
+
<xsd:element name="ReasonForExport" type="xsd:string"/>
|
252
|
+
<xsd:element name="StateProvinceCode" type="xsd:string"/>
|
253
|
+
<xsd:complexType name="ScheduleBType">
|
254
|
+
<xsd:sequence>
|
255
|
+
<xsd:element ref="Number"/>
|
256
|
+
<xsd:element ref="Quantity" minOccurs="0" maxOccurs="2"/>
|
257
|
+
<xsd:element ref="UnitOfMeasurement" minOccurs="0" maxOccurs="2"/>
|
258
|
+
</xsd:sequence>
|
259
|
+
</xsd:complexType>
|
260
|
+
<xsd:element name="TaxIdentificationNumber" type="xsd:string"/>
|
261
|
+
<xsd:element name="TermsOfShipment" type="xsd:string"/>
|
262
|
+
<xsd:complexType name="UltimateConsigneeType">
|
263
|
+
<xsd:sequence>
|
264
|
+
<xsd:element ref="CompanyName" minOccurs="0"/>
|
265
|
+
<xsd:element name="Address" type="AddressType" minOccurs="0"/>
|
266
|
+
<xsd:element name="UltimateConsigneeType" type="UltimateConsigneeTypeType" minOccurs="0"/>
|
267
|
+
</xsd:sequence>
|
268
|
+
</xsd:complexType>
|
269
|
+
<xsd:complexType name="UnitType">
|
270
|
+
<xsd:sequence>
|
271
|
+
<xsd:element ref="Number"/>
|
272
|
+
<xsd:element ref="Value"/>
|
273
|
+
<xsd:element ref="UnitOfMeasurement"/>
|
274
|
+
</xsd:sequence>
|
275
|
+
</xsd:complexType>
|
276
|
+
<xsd:complexType name="PackingListInfoType">
|
277
|
+
<xsd:sequence>
|
278
|
+
<xsd:element name="PackageAssociated" type="PackageAssociatedType" maxOccurs="unbounded"/>
|
279
|
+
</xsd:sequence>
|
280
|
+
</xsd:complexType>
|
281
|
+
<xsd:complexType name="PackageAssociatedType">
|
282
|
+
<xsd:sequence>
|
283
|
+
<xsd:element name="PackageNumber" type="xsd:string" minOccurs="0"/>
|
284
|
+
<xsd:element name="ProductAmount" type="xsd:string" minOccurs="0"/>
|
285
|
+
</xsd:sequence>
|
286
|
+
</xsd:complexType>
|
287
|
+
<xsd:element name="UnitOfMeasurement" type="CodeType"/>
|
288
|
+
<xsd:element name="Value" type="xsd:string"/>
|
289
|
+
<xsd:element name="Weight" type="xsd:string"/>
|
290
|
+
<xsd:complexType name="EEILicenseType">
|
291
|
+
<xsd:sequence>
|
292
|
+
<xsd:element name="Number" type="xsd:string" minOccurs="0"/>
|
293
|
+
<xsd:element name="Code" type="xsd:string" minOccurs="0"/>
|
294
|
+
<xsd:element name="LicenseLineValue" type="xsd:string" minOccurs="0"/>
|
295
|
+
<xsd:element name="ECCNNumber" type="xsd:string" minOccurs="0"/>
|
296
|
+
</xsd:sequence>
|
297
|
+
</xsd:complexType>
|
298
|
+
<xsd:complexType name="EEIFilingOptionType">
|
299
|
+
<xsd:sequence>
|
300
|
+
<xsd:element name="Code" type="xsd:string" minOccurs="0"/>
|
301
|
+
<xsd:element name="EMailAddress" type="xsd:string" minOccurs="0"/>
|
302
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
303
|
+
<xsd:element name="UPSFiled" type="UPSFiledType" minOccurs="0"/>
|
304
|
+
<xsd:element name="ShipperFiled" type="ShipperFiledType" minOccurs="0"/>
|
305
|
+
</xsd:sequence>
|
306
|
+
</xsd:complexType>
|
307
|
+
<xsd:complexType name="UPSFiledType">
|
308
|
+
<xsd:sequence>
|
309
|
+
<xsd:element name="POA" type="POAType"/>
|
310
|
+
</xsd:sequence>
|
311
|
+
</xsd:complexType>
|
312
|
+
<xsd:complexType name="ShipperFiledType">
|
313
|
+
<xsd:sequence>
|
314
|
+
<xsd:element name="Code" type="xsd:string" minOccurs="0"/>
|
315
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
316
|
+
<xsd:element name="PreDepartureITNNumber" type="xsd:string" minOccurs="0"/>
|
317
|
+
<xsd:element name="ExemptionLegend" type="xsd:string" minOccurs="0"/>
|
318
|
+
<xsd:element name="EEIShipmentReferenceNumber" type="xsd:string" minOccurs="0"/>
|
319
|
+
</xsd:sequence>
|
320
|
+
</xsd:complexType>
|
321
|
+
<xsd:complexType name="EEIInformationType">
|
322
|
+
<xsd:sequence>
|
323
|
+
<xsd:element name="ExportInformation" type="xsd:string" minOccurs="0"/>
|
324
|
+
<xsd:element name="License" type="EEILicenseType" minOccurs="0"/>
|
325
|
+
<xsd:element name="DDTCInformation" type="DDTCInformationType" minOccurs="0"/>
|
326
|
+
</xsd:sequence>
|
327
|
+
</xsd:complexType>
|
328
|
+
<xsd:complexType name="POAType">
|
329
|
+
<xsd:sequence>
|
330
|
+
<xsd:element name="Code" type="xsd:string" minOccurs="0"/>
|
331
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
332
|
+
</xsd:sequence>
|
333
|
+
</xsd:complexType>
|
334
|
+
<xsd:complexType name="UltimateConsigneeTypeType">
|
335
|
+
<xsd:sequence>
|
336
|
+
<xsd:element name="Code" type="xsd:string" minOccurs="0"/>
|
337
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
338
|
+
</xsd:sequence>
|
339
|
+
</xsd:complexType>
|
340
|
+
<xsd:complexType name="DDTCInformationType">
|
341
|
+
<xsd:sequence>
|
342
|
+
<xsd:element name="ITARExemptionNumber" type="xsd:string" minOccurs="0"/>
|
343
|
+
<xsd:element name="USMLCategoryCode" type="xsd:string" minOccurs="0"/>
|
344
|
+
<xsd:element name="EligiblePartyIndicator" type="xsd:string" minOccurs="0"/>
|
345
|
+
<xsd:element name="RegistrationNumber" type="xsd:string" minOccurs="0"/>
|
346
|
+
<xsd:element name="Quantity" type="xsd:string" minOccurs="0"/>
|
347
|
+
<xsd:element name="UnitOfMeasurement" type="CodeType" minOccurs="0"/>
|
348
|
+
<xsd:element name="SignificantMilitaryEquipmentIndicator" type="xsd:string" minOccurs="0"/>
|
349
|
+
<xsd:element name="ACMNumber" type="xsd:string" minOccurs="0"/>
|
350
|
+
</xsd:sequence>
|
351
|
+
</xsd:complexType>
|
352
|
+
</xsd:schema>
|
@@ -1 +1,454 @@
|
|
1
|
-
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- edited with XML Spy v4.1 U (http://www.xmlspy.com) by Chinmoy tripathy (UPS GACOR850393,) -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ups="http://www.ups.com/XMLSchema" elementFormDefault="qualified" version="201801">
|
4
|
+
<xsd:element name="RatingServiceSelectionRequest">
|
5
|
+
<xsd:complexType>
|
6
|
+
<xsd:sequence>
|
7
|
+
<xsd:element name="Request" type="RequestType"/>
|
8
|
+
<xsd:element name="PickupType" type="CodeType" minOccurs="0"/>
|
9
|
+
<xsd:element name="CustomerClassification" type="CodeType" minOccurs="0"/>
|
10
|
+
<xsd:element name="Shipment" type="ShipmentType"/>
|
11
|
+
</xsd:sequence>
|
12
|
+
</xsd:complexType>
|
13
|
+
</xsd:element>
|
14
|
+
<xsd:complexType name="RequestType">
|
15
|
+
<xsd:sequence>
|
16
|
+
<xsd:sequence>
|
17
|
+
<xsd:element name="RequestAction" type="xsd:string"/>
|
18
|
+
<xsd:element name="RequestOption" type="xsd:string" minOccurs="0"/>
|
19
|
+
<xsd:element name="TransactionReference" type="TransactionReferenceType" minOccurs="0"/>
|
20
|
+
<xsd:element name="SubVersion" type="xsd:string" minOccurs="0"/>
|
21
|
+
</xsd:sequence>
|
22
|
+
</xsd:sequence>
|
23
|
+
</xsd:complexType>
|
24
|
+
<xsd:complexType name="TransactionReferenceType">
|
25
|
+
<xsd:sequence>
|
26
|
+
<xsd:element name="CustomerContext" type="xsd:string" minOccurs="0"/>
|
27
|
+
</xsd:sequence>
|
28
|
+
</xsd:complexType>
|
29
|
+
<xsd:complexType name="CodeType">
|
30
|
+
<xsd:sequence>
|
31
|
+
<xsd:sequence>
|
32
|
+
<xsd:element name="Code" type="xsd:string"/>
|
33
|
+
</xsd:sequence>
|
34
|
+
</xsd:sequence>
|
35
|
+
</xsd:complexType>
|
36
|
+
<xsd:complexType name="CodeDescriptionType">
|
37
|
+
<xsd:sequence>
|
38
|
+
<xsd:sequence>
|
39
|
+
<xsd:element name="Code" type="xsd:string"/>
|
40
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
41
|
+
</xsd:sequence>
|
42
|
+
</xsd:sequence>
|
43
|
+
</xsd:complexType>
|
44
|
+
<xsd:complexType name="ShipmentType">
|
45
|
+
<xsd:sequence>
|
46
|
+
<xsd:element name="OriginRecordTransactionTimestamp" type="xsd:string" minOccurs="0"/>
|
47
|
+
<xsd:element name="Shipper" type="ShipperType"/>
|
48
|
+
<xsd:element name="ShipTo" type="ShipToType"/>
|
49
|
+
<xsd:element name="ShipFrom" type="ShipFromType" minOccurs="0"/>
|
50
|
+
<xsd:element name="AlternateDeliveryAddress" type="AlternateDeliveryAddressType" minOccurs="0"/>
|
51
|
+
<xsd:element name="ShipmentIndicationType" type="IndicationType" minOccurs="0" maxOccurs="unbounded"/>
|
52
|
+
<xsd:element name="PaymentDetails" type="PaymentDetailsType" minOccurs="0"/>
|
53
|
+
<xsd:element name="GoodsNotInFreeCirculationIndicator" type="xsd:string" minOccurs="0"/>
|
54
|
+
<xsd:element name="Service" type="CodeDescriptionType" minOccurs="0"/>
|
55
|
+
<xsd:element name="DocumentsOnly" type="xsd:string" minOccurs="0"/>
|
56
|
+
<xsd:element name="NumOfPieces" type="xsd:string" minOccurs="0"/>
|
57
|
+
<xsd:element name="ShipmentTotalWeight" type="ShipmentWeightType" minOccurs="0"/>
|
58
|
+
<xsd:element name="Package" type="PackageType" minOccurs="0" maxOccurs="unbounded"/>
|
59
|
+
<xsd:element name="ShipmentServiceOptions" type="ShipmentServiceOptionsType" minOccurs="0"/>
|
60
|
+
<xsd:element name="RateInformation" type="RateInformationType" minOccurs="0"/>
|
61
|
+
<xsd:element name="InvoiceLineTotal" type="InvoiceLineTotalType" minOccurs="0"/>
|
62
|
+
<xsd:element name="RatingMethodRequestedIndicator" type="xsd:string" minOccurs="0"/>
|
63
|
+
<xsd:element name="TaxInformationIndicator" type="xsd:string" minOccurs="0"/>
|
64
|
+
<xsd:element name="DeliveryTimeInformation" type="TimeInTransitRequestType" minOccurs="0"/>
|
65
|
+
<xsd:element name="PromotionalDiscountInformation" type="PromotionalDiscountInformationType" minOccurs="0"/>
|
66
|
+
</xsd:sequence>
|
67
|
+
</xsd:complexType>
|
68
|
+
<xsd:complexType name="TimeInTransitRequestType">
|
69
|
+
<xsd:sequence>
|
70
|
+
<xsd:element name="PackageBillType" type="xsd:string" minOccurs="0"/>
|
71
|
+
<xsd:element name="Pickup" type="PickupType" minOccurs="0"/>
|
72
|
+
<xsd:element name="ReturnContractServices" type="ReturnContractServicesType" minOccurs="0" maxOccurs="unbounded"/>
|
73
|
+
</xsd:sequence>
|
74
|
+
</xsd:complexType>
|
75
|
+
<xsd:complexType name="PickupType">
|
76
|
+
<xsd:sequence>
|
77
|
+
<xsd:element name="Date" type="xsd:string"/>
|
78
|
+
<xsd:element name="Time" type="xsd:string" minOccurs="0"/>
|
79
|
+
</xsd:sequence>
|
80
|
+
</xsd:complexType>
|
81
|
+
<xsd:complexType name="ReturnContractServicesType">
|
82
|
+
<xsd:sequence>
|
83
|
+
<xsd:element name="Code" type="xsd:string"/>
|
84
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
85
|
+
</xsd:sequence>
|
86
|
+
</xsd:complexType>
|
87
|
+
<xsd:complexType name="PromotionalDiscountInformationType">
|
88
|
+
<xsd:sequence>
|
89
|
+
<xsd:element name="PromoCode" type="xsd:string"/>
|
90
|
+
<xsd:element name="PromoAliasCode" type="xsd:string"/>
|
91
|
+
</xsd:sequence>
|
92
|
+
</xsd:complexType>
|
93
|
+
<xsd:complexType name="ShipmentWeightType">
|
94
|
+
<xsd:sequence>
|
95
|
+
<xsd:element name="UnitOfMeasurement" type="CodeDescriptionType"/>
|
96
|
+
<xsd:element name="Weight" type="xsd:string"/>
|
97
|
+
</xsd:sequence>
|
98
|
+
</xsd:complexType>
|
99
|
+
<xsd:complexType name="PaymentDetailsType">
|
100
|
+
<xsd:sequence>
|
101
|
+
<xsd:element name="ShipmentCharge" type="ShipmentChargeType" minOccurs="0" maxOccurs="2"/>
|
102
|
+
<xsd:element name="SplitDutyVATIndicator" type="xsd:string" minOccurs="0"/>
|
103
|
+
</xsd:sequence>
|
104
|
+
</xsd:complexType>
|
105
|
+
<xsd:complexType name="ShipmentChargeType">
|
106
|
+
<xsd:sequence>
|
107
|
+
<xsd:element name="Type" type="xsd:string"/>
|
108
|
+
<xsd:element name="BillShipper" type="BillShipperChargeType" minOccurs="0"/>
|
109
|
+
<xsd:element name="BillReceiver" type="BillReceiverChargeType" minOccurs="0"/>
|
110
|
+
<xsd:element name="BillThirdParty" type="BillThirdPartyChargeType" minOccurs="0"/>
|
111
|
+
<xsd:element name="ConsigneeBilledIndicator" type="xsd:string" minOccurs="0"/>
|
112
|
+
</xsd:sequence>
|
113
|
+
</xsd:complexType>
|
114
|
+
<xsd:complexType name="BillShipperChargeType">
|
115
|
+
<xsd:sequence>
|
116
|
+
<xsd:element name="AccountNumber" type="xsd:string" minOccurs="0"/>
|
117
|
+
</xsd:sequence>
|
118
|
+
</xsd:complexType>
|
119
|
+
<xsd:complexType name="BillReceiverChargeType">
|
120
|
+
<xsd:sequence>
|
121
|
+
<xsd:element name="AccountNumber" type="xsd:string" minOccurs="0"/>
|
122
|
+
<xsd:element name="Address" type="BillReceiverAddressType" minOccurs="0"/>
|
123
|
+
</xsd:sequence>
|
124
|
+
</xsd:complexType>
|
125
|
+
<xsd:complexType name="BillThirdPartyChargeType">
|
126
|
+
<xsd:sequence>
|
127
|
+
<xsd:element name="AccountNumber" type="xsd:string" minOccurs="0"/>
|
128
|
+
<xsd:element name="Address" type="ShipAddressType" minOccurs="0"/>
|
129
|
+
</xsd:sequence>
|
130
|
+
</xsd:complexType>
|
131
|
+
<xsd:complexType name="BillReceiverAddressType">
|
132
|
+
<xsd:sequence>
|
133
|
+
<xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/>
|
134
|
+
</xsd:sequence>
|
135
|
+
</xsd:complexType>
|
136
|
+
<xsd:complexType name="ShipperType">
|
137
|
+
<xsd:sequence>
|
138
|
+
<xsd:element name="Name" type="xsd:string" minOccurs="0"/>
|
139
|
+
<xsd:element name="AttentionName" type="xsd:string" minOccurs="0"/>
|
140
|
+
<xsd:element name="ShipperNumber" type="xsd:string" minOccurs="0"/>
|
141
|
+
<xsd:element name="Address" type="AddressType"/>
|
142
|
+
</xsd:sequence>
|
143
|
+
</xsd:complexType>
|
144
|
+
<xsd:complexType name="PhoneNumberType">
|
145
|
+
<xsd:sequence>
|
146
|
+
<xsd:element name="StructuredPhoneNumber" type="StructuredPhoneNumberType" minOccurs="0"/>
|
147
|
+
</xsd:sequence>
|
148
|
+
</xsd:complexType>
|
149
|
+
<xsd:complexType name="StructuredPhoneNumberType">
|
150
|
+
<xsd:sequence>
|
151
|
+
<xsd:element name="PhoneCountryCode" type="xsd:string" minOccurs="0"/>
|
152
|
+
<xsd:element name="PhoneDialPlanNumber" type="xsd:string"/>
|
153
|
+
<xsd:element name="PhoneLineNumber" type="xsd:string"/>
|
154
|
+
<xsd:element name="PhoneExtension" type="xsd:string" minOccurs="0"/>
|
155
|
+
</xsd:sequence>
|
156
|
+
</xsd:complexType>
|
157
|
+
<xsd:complexType name="AddressType">
|
158
|
+
<xsd:sequence>
|
159
|
+
<xsd:element name="AddressLine1" type="xsd:string" minOccurs="0"/>
|
160
|
+
<xsd:element name="AddressLine2" type="xsd:string" minOccurs="0"/>
|
161
|
+
<xsd:element name="AddressLine3" type="xsd:string" minOccurs="0"/>
|
162
|
+
<xsd:element name="City" type="xsd:string" minOccurs="0"/>
|
163
|
+
<xsd:element name="StateProvinceCode" type="xsd:string" minOccurs="0"/>
|
164
|
+
<xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/>
|
165
|
+
<xsd:element name="CountryCode" type="xsd:string"/>
|
166
|
+
<xsd:element name="ResidentialAddressIndicator" type="xsd:string" minOccurs="0"/>
|
167
|
+
</xsd:sequence>
|
168
|
+
</xsd:complexType>
|
169
|
+
<xsd:complexType name="ShipAddressType">
|
170
|
+
<xsd:sequence>
|
171
|
+
<xsd:element name="AddressLine1" type="xsd:string" minOccurs="0"/>
|
172
|
+
<xsd:element name="AddressLine2" type="xsd:string" minOccurs="0"/>
|
173
|
+
<xsd:element name="AddressLine3" type="xsd:string" minOccurs="0"/>
|
174
|
+
<xsd:element name="City" type="xsd:string" minOccurs="0"/>
|
175
|
+
<xsd:element name="StateProvinceCode" type="xsd:string" minOccurs="0"/>
|
176
|
+
<xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/>
|
177
|
+
<xsd:element name="CountryCode" type="xsd:string"/>
|
178
|
+
</xsd:sequence>
|
179
|
+
</xsd:complexType>
|
180
|
+
<xsd:complexType name="ShipToType">
|
181
|
+
<xsd:sequence>
|
182
|
+
<xsd:element name="CompanyName" type="xsd:string" minOccurs="0"/>
|
183
|
+
<xsd:element name="AttentionName" type="xsd:string" minOccurs="0"/>
|
184
|
+
<xsd:element name="Address" type="AddressType"/>
|
185
|
+
</xsd:sequence>
|
186
|
+
</xsd:complexType>
|
187
|
+
<xsd:complexType name="ShipFromType">
|
188
|
+
<xsd:sequence>
|
189
|
+
<xsd:element name="CompanyName" type="xsd:string" minOccurs="0"/>
|
190
|
+
<xsd:element name="AttentionName" type="xsd:string" minOccurs="0"/>
|
191
|
+
<xsd:element name="Address" type="AddressType"/>
|
192
|
+
</xsd:sequence>
|
193
|
+
</xsd:complexType>
|
194
|
+
<xsd:complexType name="AlternateDeliveryAddressType">
|
195
|
+
<xsd:sequence>
|
196
|
+
<xsd:element name="Name" type="xsd:string" minOccurs="0"/>
|
197
|
+
<xsd:element name="Address" type="ADRType"/>
|
198
|
+
</xsd:sequence>
|
199
|
+
</xsd:complexType>
|
200
|
+
<xsd:complexType name="ADRType">
|
201
|
+
<xsd:sequence>
|
202
|
+
<xsd:element name="AddressLine1" type="xsd:string" minOccurs="0"/>
|
203
|
+
<xsd:element name="AddressLine2" type="xsd:string" minOccurs="0"/>
|
204
|
+
<xsd:element name="AddressLine3" type="xsd:string" minOccurs="0"/>
|
205
|
+
<xsd:element name="City" type="xsd:string" minOccurs="0"/>
|
206
|
+
<xsd:element name="StateProvinceCode" type="xsd:string" minOccurs="0"/>
|
207
|
+
<xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/>
|
208
|
+
<xsd:element name="CountryCode" type="xsd:string"/>
|
209
|
+
<xsd:element name="ResidentialAddressIndicator" type="xsd:string" minOccurs="0"/>
|
210
|
+
<xsd:element name="POBoxIndicator" type="xsd:string" minOccurs="0"/>
|
211
|
+
</xsd:sequence>
|
212
|
+
</xsd:complexType>
|
213
|
+
<xsd:complexType name="IndicationType">
|
214
|
+
<xsd:sequence>
|
215
|
+
<xsd:element name="Code" type="xsd:string"/>
|
216
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
217
|
+
</xsd:sequence>
|
218
|
+
</xsd:complexType>
|
219
|
+
<xsd:complexType name="WeightType">
|
220
|
+
<xsd:sequence>
|
221
|
+
<xsd:element name="UnitOfMeasurement" type="UnitOfMeasurementType"/>
|
222
|
+
<xsd:element name="Weight" type="xsd:string"/>
|
223
|
+
</xsd:sequence>
|
224
|
+
</xsd:complexType>
|
225
|
+
<xsd:complexType name="UnitOfMeasurementType">
|
226
|
+
<xsd:sequence>
|
227
|
+
<xsd:element name="Code" type="xsd:string"/>
|
228
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
229
|
+
</xsd:sequence>
|
230
|
+
</xsd:complexType>
|
231
|
+
<xsd:complexType name="PackageType">
|
232
|
+
<xsd:sequence>
|
233
|
+
<xsd:element name="PackagingType" type="CodeDescriptionType" minOccurs="0"/>
|
234
|
+
<xsd:element name="Dimensions" type="DimensionsType" minOccurs="0"/>
|
235
|
+
<xsd:element name="DimWeight" type="WeightType" minOccurs="0"/>
|
236
|
+
<xsd:element name="PackageWeight" type="WeightType" minOccurs="0"/>
|
237
|
+
<xsd:element name="LargePackageIndicator" type="xsd:string" minOccurs="0"/>
|
238
|
+
<xsd:element name="PackageServiceOptions" type="PackageServiceOptionsType" minOccurs="0"/>
|
239
|
+
<xsd:element name="AdditionalHandling" type="xsd:string" minOccurs="0"/>
|
240
|
+
</xsd:sequence>
|
241
|
+
</xsd:complexType>
|
242
|
+
<xsd:complexType name="PackagingTypeType">
|
243
|
+
<xsd:sequence>
|
244
|
+
<xsd:element name="Code" type="xsd:string"/>
|
245
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
246
|
+
</xsd:sequence>
|
247
|
+
</xsd:complexType>
|
248
|
+
<xsd:complexType name="DimensionsType">
|
249
|
+
<xsd:sequence>
|
250
|
+
<xsd:element name="UnitOfMeasurement" type="UnitOfMeasurementType" minOccurs="0"/>
|
251
|
+
<xsd:element name="Length" type="xsd:string"/>
|
252
|
+
<xsd:element name="Width" type="xsd:string"/>
|
253
|
+
<xsd:element name="Height" type="xsd:string"/>
|
254
|
+
</xsd:sequence>
|
255
|
+
</xsd:complexType>
|
256
|
+
<xsd:complexType name="PackageServiceOptionsType">
|
257
|
+
<xsd:sequence>
|
258
|
+
<xsd:element name="InsuredValue" type="InsuredValueType" minOccurs="0"/>
|
259
|
+
<xsd:element name="AccessPointCOD" type="PackageServiceOptionsAccessPointCODType" minOccurs="0"/>
|
260
|
+
<xsd:element name="COD" type="CODType" minOccurs="0"/>
|
261
|
+
<xsd:element name="DeliveryConfirmation" type="DeliveryConfirmationType" minOccurs="0"/>
|
262
|
+
<xsd:element name="ShipperDeclaredValue" type="ShipperDeclaredValueType" minOccurs="0"/>
|
263
|
+
<xsd:element name="ProactiveIndicator" type="xsd:string" minOccurs="0"/>
|
264
|
+
<xsd:element name="RefrigerationIndicator" type="xsd:string" minOccurs="0"/>
|
265
|
+
<xsd:element name="Insurance" type="InsuranceType" minOccurs="0"/>
|
266
|
+
<xsd:element name="VerbalConfirmation" type="VerbalConfirmationType" minOccurs="0"/>
|
267
|
+
<xsd:element name="UPSPremiumCareIndicator" type="xsd:string" minOccurs="0"/>
|
268
|
+
<xsd:element name="HazMat" type="HazMatType" minOccurs="0"/>
|
269
|
+
<xsd:element name="DryIce" type="DryIceType" minOccurs="0"/>
|
270
|
+
</xsd:sequence>
|
271
|
+
</xsd:complexType>
|
272
|
+
<xsd:complexType name="HazMatType">
|
273
|
+
<xsd:sequence>
|
274
|
+
<xsd:element name="PackageIdentifier" type="xsd:string" minOccurs="0"/>
|
275
|
+
<xsd:element name="QValue" type="xsd:string" minOccurs="0"/>
|
276
|
+
<xsd:element name="OverPackedIndicator" type="xsd:string" minOccurs="0"/>
|
277
|
+
<xsd:element name="AllPackedInOneIndicator" type="xsd:string" minOccurs="0"/>
|
278
|
+
<xsd:element name="HazMatChemicalRecord" type="HazMatChemicalRecordType" maxOccurs="3"/>
|
279
|
+
</xsd:sequence>
|
280
|
+
</xsd:complexType>
|
281
|
+
<xsd:complexType name="HazMatChemicalRecordType">
|
282
|
+
<xsd:sequence>
|
283
|
+
<xsd:element name="ChemicalRecordIdentifier" type="xsd:string" minOccurs="0"/>
|
284
|
+
<xsd:element name="ClassDivisionNumber" type="xsd:string" minOccurs="0"/>
|
285
|
+
<xsd:element name="IDNumber" type="xsd:string" minOccurs="0"/>
|
286
|
+
<xsd:element name="TransportationMode" type="xsd:string"/>
|
287
|
+
<xsd:element name="RegulationSet" type="xsd:string"/>
|
288
|
+
<xsd:element name="EmergencyPhone" type="xsd:string" minOccurs="0"/>
|
289
|
+
<xsd:element name="EmergencyContact" type="xsd:string" minOccurs="0"/>
|
290
|
+
<xsd:element name="ReportableQuantity" type="xsd:string" minOccurs="0"/>
|
291
|
+
<xsd:element name="SubRiskClass" type="xsd:string" minOccurs="0"/>
|
292
|
+
<xsd:element name="PackagingGroupType" type="xsd:string" minOccurs="0"/>
|
293
|
+
<xsd:element name="Quantity" type="xsd:string" minOccurs="0"/>
|
294
|
+
<xsd:element name="UOM" type="xsd:string" minOccurs="0"/>
|
295
|
+
<xsd:element name="PackagingInstructionCode" type="xsd:string" minOccurs="0"/>
|
296
|
+
<xsd:element name="ProperShippingName" type="xsd:string" minOccurs="0"/>
|
297
|
+
<xsd:element name="TechnicalName" type="xsd:string" minOccurs="0"/>
|
298
|
+
<xsd:element name="AdditionalDescription" type="xsd:string" minOccurs="0"/>
|
299
|
+
<xsd:element name="PackagingType" type="xsd:string" minOccurs="0"/>
|
300
|
+
<xsd:element name="HazardLabelRequired" type="xsd:string" minOccurs="0"/>
|
301
|
+
<xsd:element name="PackagingTypeQuantity" type="xsd:string" minOccurs="0"/>
|
302
|
+
<xsd:element name="CommodityRegulatedLevelCode" type="xsd:string" minOccurs="0"/>
|
303
|
+
<xsd:element name="TransportCategory" type="xsd:string" minOccurs="0"/>
|
304
|
+
<xsd:element name="TunnelRestrictionCode" type="xsd:string" minOccurs="0"/>
|
305
|
+
</xsd:sequence>
|
306
|
+
</xsd:complexType>
|
307
|
+
<xsd:complexType name="DryIceType">
|
308
|
+
<xsd:sequence>
|
309
|
+
<xsd:element name="RegulationSet" type="xsd:string"/>
|
310
|
+
<xsd:element name="DryIceWeight" type="DryIceWeightType"/>
|
311
|
+
<xsd:element name="MedicalUseIndicator" type="xsd:string" minOccurs="0"/>
|
312
|
+
<xsd:element name="AuditRequired" type="xsd:string" minOccurs="0"/>
|
313
|
+
</xsd:sequence>
|
314
|
+
</xsd:complexType>
|
315
|
+
<xsd:complexType name="DryIceWeightType">
|
316
|
+
<xsd:sequence>
|
317
|
+
<xsd:element name="UnitOfMeasurement" type="UnitOfMeasurementType"/>
|
318
|
+
<xsd:element name="Weight" type="xsd:string"/>
|
319
|
+
</xsd:sequence>
|
320
|
+
</xsd:complexType>
|
321
|
+
<xsd:complexType name="ShipperDeclaredValueType">
|
322
|
+
<xsd:sequence>
|
323
|
+
<xsd:element name="CurrencyCode" type="xsd:string"/>
|
324
|
+
<xsd:element name="MonetaryValue" type="xsd:string"/>
|
325
|
+
</xsd:sequence>
|
326
|
+
</xsd:complexType>
|
327
|
+
<xsd:complexType name="InsuranceType">
|
328
|
+
<xsd:sequence>
|
329
|
+
<xsd:element name="BasicFlexibleParcelIndicator" type="InsuranceValueType" minOccurs="0"/>
|
330
|
+
<xsd:element name="ExtendedFlexibleParcelIndicator" type="InsuranceValueType" minOccurs="0"/>
|
331
|
+
<xsd:element name="TimeInTransitFlexibleParcelIndicator" type="InsuranceValueType" minOccurs="0"/>
|
332
|
+
</xsd:sequence>
|
333
|
+
</xsd:complexType>
|
334
|
+
<xsd:complexType name="InsuranceValueType">
|
335
|
+
<xsd:sequence>
|
336
|
+
<xsd:element name="CurrencyCode" type="xsd:string"/>
|
337
|
+
<xsd:element name="MonetaryValue" type="xsd:string"/>
|
338
|
+
</xsd:sequence>
|
339
|
+
</xsd:complexType>
|
340
|
+
<xsd:complexType name="InsuredValueType">
|
341
|
+
<xsd:sequence>
|
342
|
+
<xsd:element name="CurrencyCode" type="xsd:string" minOccurs="0"/>
|
343
|
+
<xsd:element name="MonetaryValue" type="xsd:string"/>
|
344
|
+
</xsd:sequence>
|
345
|
+
</xsd:complexType>
|
346
|
+
<xsd:complexType name="PackageServiceOptionsAccessPointCODType">
|
347
|
+
<xsd:sequence>
|
348
|
+
<xsd:element name="CurrencyCode" type="xsd:string"/>
|
349
|
+
<xsd:element name="MonetaryValue" type="xsd:string"/>
|
350
|
+
</xsd:sequence>
|
351
|
+
</xsd:complexType>
|
352
|
+
<xsd:complexType name="CODType">
|
353
|
+
<xsd:sequence>
|
354
|
+
<xsd:element name="CODFundsCode" type="xsd:string" minOccurs="0"/>
|
355
|
+
<xsd:element name="CODAmount" type="AmountType"/>
|
356
|
+
</xsd:sequence>
|
357
|
+
</xsd:complexType>
|
358
|
+
<xsd:complexType name="AmountType">
|
359
|
+
<xsd:sequence>
|
360
|
+
<xsd:element name="CurrencyCode" type="xsd:string" minOccurs="0"/>
|
361
|
+
<xsd:element name="MonetaryValue" type="xsd:string"/>
|
362
|
+
</xsd:sequence>
|
363
|
+
</xsd:complexType>
|
364
|
+
<xsd:complexType name="DeliveryConfirmationType">
|
365
|
+
<xsd:sequence>
|
366
|
+
<xsd:element name="DCISType" type="xsd:string"/>
|
367
|
+
</xsd:sequence>
|
368
|
+
</xsd:complexType>
|
369
|
+
<xsd:complexType name="VerbalConfirmationType">
|
370
|
+
<xsd:sequence>
|
371
|
+
<xsd:element name="Name" type="xsd:string" minOccurs="0"/>
|
372
|
+
<xsd:element name="PhoneNumber" type="PhoneNumberType" minOccurs="0"/>
|
373
|
+
</xsd:sequence>
|
374
|
+
</xsd:complexType>
|
375
|
+
<xsd:complexType name="ShipmentServiceOptionsType">
|
376
|
+
<xsd:sequence>
|
377
|
+
<xsd:element name="SaturdayPickup" type="xsd:string" minOccurs="0"/>
|
378
|
+
<xsd:element name="SaturdayDelivery" type="xsd:string" minOccurs="0"/>
|
379
|
+
<xsd:element name="AccessPointCOD" type="ShipmentServiceOptionsAccessPointCODType" minOccurs="0"/>
|
380
|
+
<xsd:element name="DeliverToAddresseeOnlyIndicator" type="xsd:string" minOccurs="0"/>
|
381
|
+
<xsd:element name="DirectDeliveryOnlyIndicator" type="xsd:string" minOccurs="0"/>
|
382
|
+
<xsd:element name="COD" type="CODType" minOccurs="0"/>
|
383
|
+
<xsd:element name="ReturnOfDocumentIndicator" type="xsd:string" minOccurs="0"/>
|
384
|
+
<xsd:element name="DeliveryConfirmation" type="DeliveryConfirmationType" minOccurs="0"/>
|
385
|
+
<xsd:element name="UPScarbonneutralIndicator" type="xsd:string" minOccurs="0"/>
|
386
|
+
<xsd:element name="CertificateOfOriginIndicator" type="xsd:string" minOccurs="0"/>
|
387
|
+
<xsd:element name="PickupOptions" type="PickupOptionsType" minOccurs="0"/>
|
388
|
+
<xsd:element name="DeliveryOptions" type="DeliveryOptionsType" minOccurs="0"/>
|
389
|
+
<xsd:element name="RestrictedArticles" type="RestrictedArticlesType" minOccurs="0"/>
|
390
|
+
<xsd:element name="ShipperExportDeclarationIndicator" type="xsd:string" minOccurs="0"/>
|
391
|
+
<xsd:element name="CommercialInvoiceRemovalIndicator" type="xsd:string" minOccurs="0"/>
|
392
|
+
<xsd:element name="ImportControl" type="ImportControlType" minOccurs="0"/>
|
393
|
+
<xsd:element name="ReturnService" type="ReturnServiceType" minOccurs="0"/>
|
394
|
+
<xsd:element name="SDLShipmentIndicator" type="xsd:string" minOccurs="0"/>
|
395
|
+
<xsd:element name="EPRAIndicator" type="xsd:string" minOccurs="0"/>
|
396
|
+
<xsd:element name="InsideDelivery" type="xsd:string" minOccurs="0"/>
|
397
|
+
<xsd:element name="ItemDisposalIndicator" type="xsd:string" minOccurs="0"/>
|
398
|
+
</xsd:sequence>
|
399
|
+
</xsd:complexType>
|
400
|
+
<xsd:complexType name="ShipmentServiceOptionsAccessPointCODType">
|
401
|
+
<xsd:sequence>
|
402
|
+
<xsd:element name="CurrencyCode" type="xsd:string"/>
|
403
|
+
<xsd:element name="MonetaryValue" type="xsd:string"/>
|
404
|
+
</xsd:sequence>
|
405
|
+
</xsd:complexType>
|
406
|
+
<xsd:complexType name="ReturnServiceType">
|
407
|
+
<xsd:sequence>
|
408
|
+
<xsd:element name="Code" type="xsd:string"/>
|
409
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
410
|
+
</xsd:sequence>
|
411
|
+
</xsd:complexType>
|
412
|
+
<xsd:complexType name="ImportControlType">
|
413
|
+
<xsd:sequence>
|
414
|
+
<xsd:element name="Code" type="xsd:string"/>
|
415
|
+
<xsd:element name="Description" type="xsd:string" minOccurs="0"/>
|
416
|
+
</xsd:sequence>
|
417
|
+
</xsd:complexType>
|
418
|
+
<xsd:complexType name="RestrictedArticlesType">
|
419
|
+
<xsd:sequence>
|
420
|
+
<xsd:element name="AlcoholicBeveragesIndicator" type="xsd:string" minOccurs="0"/>
|
421
|
+
<xsd:element name="DiagnosticSpecimensIndicator" type="xsd:string" minOccurs="0"/>
|
422
|
+
<xsd:element name="PerishablesIndicator" type="xsd:string" minOccurs="0"/>
|
423
|
+
<xsd:element name="PlantsIndicator" type="xsd:string" minOccurs="0"/>
|
424
|
+
<xsd:element name="SeedsIndicator" type="xsd:string" minOccurs="0"/>
|
425
|
+
<xsd:element name="SpecialExceptionsIndicator" type="xsd:string" minOccurs="0"/>
|
426
|
+
<xsd:element name="TobaccoIndicator" type="xsd:string" minOccurs="0"/>
|
427
|
+
</xsd:sequence>
|
428
|
+
</xsd:complexType>
|
429
|
+
<xsd:complexType name="PickupOptionsType">
|
430
|
+
<xsd:sequence>
|
431
|
+
<xsd:element name="LiftGateAtPickupIndicator" type="xsd:string" minOccurs="0"/>
|
432
|
+
<xsd:element name="HoldForPickupIndicator" type="xsd:string" minOccurs="0"/>
|
433
|
+
</xsd:sequence>
|
434
|
+
</xsd:complexType>
|
435
|
+
<xsd:complexType name="DeliveryOptionsType">
|
436
|
+
<xsd:sequence>
|
437
|
+
<xsd:element name="LiftGateAtDeliveryIndicator" type="xsd:string" minOccurs="0"/>
|
438
|
+
<xsd:element name="DropOffAtUPSFacilityIndicator" type="xsd:string" minOccurs="0"/>
|
439
|
+
</xsd:sequence>
|
440
|
+
</xsd:complexType>
|
441
|
+
<xsd:complexType name="RateInformationType">
|
442
|
+
<xsd:sequence>
|
443
|
+
<xsd:element name="NegotiatedRatesIndicator" type="xsd:string" minOccurs="0"/>
|
444
|
+
<xsd:element name="RateChartIndicator" type="xsd:string" minOccurs="0"/>
|
445
|
+
<xsd:element name="UserLevelDiscountIndicator" type="xsd:string" minOccurs="0"/>
|
446
|
+
</xsd:sequence>
|
447
|
+
</xsd:complexType>
|
448
|
+
<xsd:complexType name="InvoiceLineTotalType">
|
449
|
+
<xsd:sequence>
|
450
|
+
<xsd:element name="CurrencyCode" type="xsd:string" minOccurs="0"/>
|
451
|
+
<xsd:element name="MonetaryValue" type="xsd:string"/>
|
452
|
+
</xsd:sequence>
|
453
|
+
</xsd:complexType>
|
454
|
+
</xsd:schema>
|