g4s_client 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,581 @@
1
+ require 'default.rb'
2
+ require 'soap/mapping'
3
+
4
+ module DefaultMappingRegistry
5
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
6
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
7
+ NsWSG4SICOM = "http://WS.G4SI.COM/"
8
+
9
+ EncodedRegistry.register(
10
+ :class => PriceEstimateResponse,
11
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "PriceEstimateResponse"),
12
+ :schema_element => [
13
+ ["baseCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "BaseCharges")]],
14
+ ["fuelSurCharge", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "FuelSurCharge")]],
15
+ ["additionalWeightCharge", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "AdditionalWeightCharge")]],
16
+ ["schedulePickupCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "SchedulePickupCharges")]],
17
+ ["saturdayPickupCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "SaturdayPickupCharges")]],
18
+ ["adultSignatureCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "AdultSignatureCharges")]],
19
+ ["directSignatureCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "DirectSignatureCharges")]],
20
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ErrorCode")], [0, 1]],
21
+ ["errorDescription", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ErrorDescription")], [0, 1]],
22
+ ["innerException", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "InnerException")], [0, 1]]
23
+ ]
24
+ )
25
+
26
+ EncodedRegistry.register(
27
+ :class => G4SIAuthentication,
28
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "G4SIAuthentication"),
29
+ :schema_element => [
30
+ ["username", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Username")], [0, 1]],
31
+ ["password", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Password")], [0, 1]],
32
+ ["accessKey", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "AccessKey")], [0, 1]]
33
+ ]
34
+ )
35
+
36
+ EncodedRegistry.register(
37
+ :class => ShipmentRequest,
38
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ShipmentRequest"),
39
+ :schema_element => [
40
+ ["commodityCollection", ["ArrayOfCommodityList", XSD::QName.new(NsWSG4SICOM, "CommodityCollection")], [0, 1]],
41
+ ["carrierName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CarrierName")], [0, 1]],
42
+ ["shipmentDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsWSG4SICOM, "ShipmentDate")]],
43
+ ["billFreightTo", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BillFreightTo")], [0, 1]],
44
+ ["serviceLevelName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ServiceLevelName")], [0, 1]],
45
+ ["packageTypeName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PackageTypeName")], [0, 1]],
46
+ ["declaredWeight", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "DeclaredWeight")]],
47
+ ["declareValue", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "DeclareValue")]],
48
+ ["weightType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "WeightType")], [0, 1]],
49
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Description")], [0, 1]],
50
+ ["dimensions", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Dimensions")], [0, 1]],
51
+ ["dimensionUnitType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "DimensionUnitType")], [0, 1]],
52
+ ["thermalPrinter", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ThermalPrinter")]],
53
+ ["sEDNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SEDNumber")], [0, 1]],
54
+ ["dutiesPayorType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "DutiesPayorType")], [0, 1]],
55
+ ["recipientAddress", ["Address", XSD::QName.new(NsWSG4SICOM, "RecipientAddress")], [0, 1]],
56
+ ["saveNewRecipientAddress", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SaveNewRecipientAddress")]],
57
+ ["shipperAddress", ["Address", XSD::QName.new(NsWSG4SICOM, "ShipperAddress")], [0, 1]],
58
+ ["cODAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CODAmount")]],
59
+ ["holdAtLocation", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "HoldAtLocation")]],
60
+ ["schedulePickup", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SchedulePickup")]],
61
+ ["schedulePickupLocation", ["SchedulePickup", XSD::QName.new(NsWSG4SICOM, "SchedulePickupLocation")], [0, 1]],
62
+ ["cODInfo", ["COD", XSD::QName.new(NsWSG4SICOM, "CODInfo")], [0, 1]],
63
+ ["holdAtLocationInfo", ["HoldAtLocation", XSD::QName.new(NsWSG4SICOM, "HoldAtLocationInfo")], [0, 1]],
64
+ ["purchaseOrderNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PurchaseOrderNumber")], [0, 1]],
65
+ ["salesOrderNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SalesOrderNumber")], [0, 1]],
66
+ ["brokerInfo", ["BrokerInfo", XSD::QName.new(NsWSG4SICOM, "BrokerInfo")], [0, 1]],
67
+ ["recipientShipNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RecipientShipNotification")]],
68
+ ["receiveAlerts", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ReceiveAlerts")]],
69
+ ["saturdayDelivery", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SaturdayDelivery")]],
70
+ ["saturdayPickup", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SaturdayPickup")]],
71
+ ["residential", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "Residential")]],
72
+ ["signatureOption", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SignatureOption")], [0, 1]],
73
+ ["recipientAlertEmail", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "RecipientAlertEmail")], [0, 1]],
74
+ ["recipientDeliveryNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RecipientDeliveryNotification")]],
75
+ ["recipientExceptionNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RecipientExceptionNotification")]],
76
+ ["shipperShipNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ShipperShipNotification")]],
77
+ ["shipperDeliveryNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ShipperDeliveryNotification")]],
78
+ ["shipperExceptionNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ShipperExceptionNotification")]],
79
+ ["restrictedWordsCompliance", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RestrictedWordsCompliance")]],
80
+ ["trackingNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "TrackingNumber")], [0, 1]]
81
+ ]
82
+ )
83
+
84
+ EncodedRegistry.register(
85
+ :class => ArrayOfCommodityList,
86
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ArrayOfCommodityList"),
87
+ :schema_element => [
88
+ ["commodityList", ["CommodityList[]", XSD::QName.new(NsWSG4SICOM, "CommodityList")], [0, nil]]
89
+ ]
90
+ )
91
+
92
+ EncodedRegistry.register(
93
+ :class => CommodityList,
94
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "CommodityList"),
95
+ :schema_element => [
96
+ ["commodityDescription", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CommodityDescription")], [0, 1]],
97
+ ["harmonizedCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "HarmonizedCode")], [0, 1]],
98
+ ["commodityQuantity", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CommodityQuantity")]],
99
+ ["measurement", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Measurement")], [0, 1]],
100
+ ["customValue", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CustomValue")]],
101
+ ["commodityWeight", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CommodityWeight")]],
102
+ ["codeCountryOfManufacture", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CodeCountryOfManufacture")], [0, 1]],
103
+ ["nameOnLabel", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "NameOnLabel")], [0, 1]]
104
+ ]
105
+ )
106
+
107
+ EncodedRegistry.register(
108
+ :class => Address,
109
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "Address"),
110
+ :schema_element => [
111
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Name")], [0, 1]],
112
+ ["company", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Company")], [0, 1]],
113
+ ["address1", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address1")], [0, 1]],
114
+ ["address2", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address2")], [0, 1]],
115
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "City")], [0, 1]],
116
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "State")], [0, 1]],
117
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CountryCode")], [0, 1]],
118
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Zip")], [0, 1]],
119
+ ["phone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Phone")], [0, 1]],
120
+ ["email", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Email")], [0, 1]]
121
+ ]
122
+ )
123
+
124
+ EncodedRegistry.register(
125
+ :class => SchedulePickup,
126
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "SchedulePickup"),
127
+ :schema_element => [
128
+ ["contactName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ContactName")], [0, 1]],
129
+ ["companyName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CompanyName")], [0, 1]],
130
+ ["packageLatestAvailableTime", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PackageLatestAvailableTime")], [0, 1]],
131
+ ["readyTime", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ReadyTime")], [0, 1]],
132
+ ["suiteNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SuiteNumber")], [0, 1]],
133
+ ["floorID", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "FloorID")], [0, 1]],
134
+ ["differentPickupLocation", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "DifferentPickupLocation")]],
135
+ ["packageLocation", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PackageLocation")], [0, 1]],
136
+ ["address1", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address1")], [0, 1]],
137
+ ["address2", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address2")], [0, 1]],
138
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "City")], [0, 1]],
139
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "State")], [0, 1]],
140
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CountryCode")], [0, 1]],
141
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Zip")], [0, 1]],
142
+ ["phone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Phone")], [0, 1]],
143
+ ["phoneExtn", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PhoneExtn")], [0, 1]],
144
+ ["pickupDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsWSG4SICOM, "PickupDate")]]
145
+ ]
146
+ )
147
+
148
+ EncodedRegistry.register(
149
+ :class => COD,
150
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "COD"),
151
+ :schema_element => [
152
+ ["collectType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CollectType")], [0, 1]],
153
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Name")], [0, 1]],
154
+ ["company", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Company")], [0, 1]],
155
+ ["country", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Country")], [0, 1]],
156
+ ["address", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address")], [0, 1]],
157
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "City")], [0, 1]],
158
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "State")], [0, 1]],
159
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CountryCode")], [0, 1]],
160
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Zip")], [0, 1]],
161
+ ["phone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Phone")], [0, 1]]
162
+ ]
163
+ )
164
+
165
+ EncodedRegistry.register(
166
+ :class => HoldAtLocation,
167
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "HoldAtLocation"),
168
+ :schema_element => [
169
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Name")], [0, 1]],
170
+ ["company", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Company")], [0, 1]],
171
+ ["address", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address")], [0, 1]],
172
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "City")], [0, 1]],
173
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "State")], [0, 1]],
174
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CountryCode")], [0, 1]],
175
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Zip")], [0, 1]],
176
+ ["phone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Phone")], [0, 1]],
177
+ ["phoneExtn", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PhoneExtn")], [0, 1]]
178
+ ]
179
+ )
180
+
181
+ EncodedRegistry.register(
182
+ :class => BrokerInfo,
183
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "BrokerInfo"),
184
+ :schema_element => [
185
+ ["brokerName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerName")], [0, 1]],
186
+ ["brokerTIN", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerTIN")], [0, 1]],
187
+ ["brokerCompany", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerCompany")], [0, 1]],
188
+ ["brokerAddress", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerAddress")], [0, 1]],
189
+ ["brokerAddress1", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerAddress1")], [0, 1]],
190
+ ["brokerAddress2", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerAddress2")], [0, 1]],
191
+ ["brokerCity", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerCity")], [0, 1]],
192
+ ["brokerState", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerState")], [0, 1]],
193
+ ["brokerCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerCountryCode")], [0, 1]],
194
+ ["brokerZip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerZip")], [0, 1]],
195
+ ["brokerPhone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerPhone")], [0, 1]],
196
+ ["brokerEmail", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerEmail")], [0, 1]]
197
+ ]
198
+ )
199
+
200
+ EncodedRegistry.register(
201
+ :class => ShipmentResponse,
202
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ShipmentResponse"),
203
+ :schema_element => [
204
+ ["shipmentTrackingNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ShipmentTrackingNumber")], [0, 1]],
205
+ ["shipmentLabel", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ShipmentLabel")], [0, 1]],
206
+ ["status", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "Status")]],
207
+ ["shipmentResponseErrorCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ShipmentResponseErrorCode")], [0, 1]],
208
+ ["shipmentResponseError", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ShipmentResponseError")], [0, 1]]
209
+ ]
210
+ )
211
+
212
+ EncodedRegistry.register(
213
+ :class => ShipmentVoidResponse,
214
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ShipmentVoidResponse"),
215
+ :schema_element => [
216
+ ["status", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "Status")]],
217
+ ["errorDescription", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ErrorDescription")], [0, 1]],
218
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ErrorCode")], [0, 1]],
219
+ ["additionalInfo", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "AdditionalInfo")], [0, 1]]
220
+ ]
221
+ )
222
+
223
+ EncodedRegistry.register(
224
+ :class => ShipmentVoidRequest,
225
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ShipmentVoidRequest"),
226
+ :schema_element => [
227
+ ["trackingNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "TrackingNumber")], [0, 1]],
228
+ ["carrierName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CarrierName")], [0, 1]],
229
+ ["shipmentDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsWSG4SICOM, "ShipmentDate")]]
230
+ ]
231
+ )
232
+
233
+ LiteralRegistry.register(
234
+ :class => PriceEstimateResponse,
235
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "PriceEstimateResponse"),
236
+ :schema_element => [
237
+ ["baseCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "BaseCharges")]],
238
+ ["fuelSurCharge", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "FuelSurCharge")]],
239
+ ["additionalWeightCharge", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "AdditionalWeightCharge")]],
240
+ ["schedulePickupCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "SchedulePickupCharges")]],
241
+ ["saturdayPickupCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "SaturdayPickupCharges")]],
242
+ ["adultSignatureCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "AdultSignatureCharges")]],
243
+ ["directSignatureCharges", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "DirectSignatureCharges")]],
244
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ErrorCode")], [0, 1]],
245
+ ["errorDescription", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ErrorDescription")], [0, 1]],
246
+ ["innerException", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "InnerException")], [0, 1]]
247
+ ]
248
+ )
249
+
250
+ LiteralRegistry.register(
251
+ :class => G4SIAuthentication,
252
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "G4SIAuthentication"),
253
+ :schema_element => [
254
+ ["username", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Username")], [0, 1]],
255
+ ["password", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Password")], [0, 1]],
256
+ ["accessKey", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "AccessKey")], [0, 1]]
257
+ ]
258
+ )
259
+
260
+ LiteralRegistry.register(
261
+ :class => ShipmentRequest,
262
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ShipmentRequest"),
263
+ :schema_element => [
264
+ ["commodityCollection", ["ArrayOfCommodityList", XSD::QName.new(NsWSG4SICOM, "CommodityCollection")], [0, 1]],
265
+ ["carrierName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CarrierName")], [0, 1]],
266
+ ["shipmentDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsWSG4SICOM, "ShipmentDate")]],
267
+ ["billFreightTo", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BillFreightTo")], [0, 1]],
268
+ ["serviceLevelName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ServiceLevelName")], [0, 1]],
269
+ ["packageTypeName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PackageTypeName")], [0, 1]],
270
+ ["declaredWeight", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "DeclaredWeight")]],
271
+ ["declareValue", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "DeclareValue")]],
272
+ ["weightType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "WeightType")], [0, 1]],
273
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Description")], [0, 1]],
274
+ ["dimensions", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Dimensions")], [0, 1]],
275
+ ["dimensionUnitType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "DimensionUnitType")], [0, 1]],
276
+ ["thermalPrinter", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ThermalPrinter")]],
277
+ ["sEDNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SEDNumber")], [0, 1]],
278
+ ["dutiesPayorType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "DutiesPayorType")], [0, 1]],
279
+ ["recipientAddress", ["Address", XSD::QName.new(NsWSG4SICOM, "RecipientAddress")], [0, 1]],
280
+ ["saveNewRecipientAddress", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SaveNewRecipientAddress")]],
281
+ ["shipperAddress", ["Address", XSD::QName.new(NsWSG4SICOM, "ShipperAddress")], [0, 1]],
282
+ ["cODAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CODAmount")]],
283
+ ["holdAtLocation", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "HoldAtLocation")]],
284
+ ["schedulePickup", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SchedulePickup")]],
285
+ ["schedulePickupLocation", ["SchedulePickup", XSD::QName.new(NsWSG4SICOM, "SchedulePickupLocation")], [0, 1]],
286
+ ["cODInfo", ["COD", XSD::QName.new(NsWSG4SICOM, "CODInfo")], [0, 1]],
287
+ ["holdAtLocationInfo", ["HoldAtLocation", XSD::QName.new(NsWSG4SICOM, "HoldAtLocationInfo")], [0, 1]],
288
+ ["purchaseOrderNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PurchaseOrderNumber")], [0, 1]],
289
+ ["salesOrderNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SalesOrderNumber")], [0, 1]],
290
+ ["brokerInfo", ["BrokerInfo", XSD::QName.new(NsWSG4SICOM, "BrokerInfo")], [0, 1]],
291
+ ["recipientShipNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RecipientShipNotification")]],
292
+ ["receiveAlerts", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ReceiveAlerts")]],
293
+ ["saturdayDelivery", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SaturdayDelivery")]],
294
+ ["saturdayPickup", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SaturdayPickup")]],
295
+ ["residential", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "Residential")]],
296
+ ["signatureOption", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SignatureOption")], [0, 1]],
297
+ ["recipientAlertEmail", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "RecipientAlertEmail")], [0, 1]],
298
+ ["recipientDeliveryNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RecipientDeliveryNotification")]],
299
+ ["recipientExceptionNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RecipientExceptionNotification")]],
300
+ ["shipperShipNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ShipperShipNotification")]],
301
+ ["shipperDeliveryNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ShipperDeliveryNotification")]],
302
+ ["shipperExceptionNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ShipperExceptionNotification")]],
303
+ ["restrictedWordsCompliance", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RestrictedWordsCompliance")]],
304
+ ["trackingNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "TrackingNumber")], [0, 1]]
305
+ ]
306
+ )
307
+
308
+ LiteralRegistry.register(
309
+ :class => ArrayOfCommodityList,
310
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ArrayOfCommodityList"),
311
+ :schema_element => [
312
+ ["commodityList", ["CommodityList[]", XSD::QName.new(NsWSG4SICOM, "CommodityList")], [0, nil]]
313
+ ]
314
+ )
315
+
316
+ LiteralRegistry.register(
317
+ :class => CommodityList,
318
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "CommodityList"),
319
+ :schema_element => [
320
+ ["commodityDescription", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CommodityDescription")], [0, 1]],
321
+ ["harmonizedCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "HarmonizedCode")], [0, 1]],
322
+ ["commodityQuantity", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CommodityQuantity")]],
323
+ ["measurement", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Measurement")], [0, 1]],
324
+ ["customValue", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CustomValue")]],
325
+ ["commodityWeight", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CommodityWeight")]],
326
+ ["codeCountryOfManufacture", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CodeCountryOfManufacture")], [0, 1]],
327
+ ["nameOnLabel", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "NameOnLabel")], [0, 1]]
328
+ ]
329
+ )
330
+
331
+ LiteralRegistry.register(
332
+ :class => Address,
333
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "Address"),
334
+ :schema_element => [
335
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Name")], [0, 1]],
336
+ ["company", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Company")], [0, 1]],
337
+ ["address1", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address1")], [0, 1]],
338
+ ["address2", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address2")], [0, 1]],
339
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "City")], [0, 1]],
340
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "State")], [0, 1]],
341
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CountryCode")], [0, 1]],
342
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Zip")], [0, 1]],
343
+ ["phone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Phone")], [0, 1]],
344
+ ["email", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Email")], [0, 1]]
345
+ ]
346
+ )
347
+
348
+ LiteralRegistry.register(
349
+ :class => SchedulePickup,
350
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "SchedulePickup"),
351
+ :schema_element => [
352
+ ["contactName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ContactName")], [0, 1]],
353
+ ["companyName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CompanyName")], [0, 1]],
354
+ ["packageLatestAvailableTime", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PackageLatestAvailableTime")], [0, 1]],
355
+ ["readyTime", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ReadyTime")], [0, 1]],
356
+ ["suiteNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SuiteNumber")], [0, 1]],
357
+ ["floorID", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "FloorID")], [0, 1]],
358
+ ["differentPickupLocation", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "DifferentPickupLocation")]],
359
+ ["packageLocation", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PackageLocation")], [0, 1]],
360
+ ["address1", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address1")], [0, 1]],
361
+ ["address2", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address2")], [0, 1]],
362
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "City")], [0, 1]],
363
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "State")], [0, 1]],
364
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CountryCode")], [0, 1]],
365
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Zip")], [0, 1]],
366
+ ["phone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Phone")], [0, 1]],
367
+ ["phoneExtn", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PhoneExtn")], [0, 1]],
368
+ ["pickupDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsWSG4SICOM, "PickupDate")]]
369
+ ]
370
+ )
371
+
372
+ LiteralRegistry.register(
373
+ :class => COD,
374
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "COD"),
375
+ :schema_element => [
376
+ ["collectType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CollectType")], [0, 1]],
377
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Name")], [0, 1]],
378
+ ["company", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Company")], [0, 1]],
379
+ ["country", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Country")], [0, 1]],
380
+ ["address", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address")], [0, 1]],
381
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "City")], [0, 1]],
382
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "State")], [0, 1]],
383
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CountryCode")], [0, 1]],
384
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Zip")], [0, 1]],
385
+ ["phone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Phone")], [0, 1]]
386
+ ]
387
+ )
388
+
389
+ LiteralRegistry.register(
390
+ :class => HoldAtLocation,
391
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "HoldAtLocation"),
392
+ :schema_element => [
393
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Name")], [0, 1]],
394
+ ["company", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Company")], [0, 1]],
395
+ ["address", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Address")], [0, 1]],
396
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "City")], [0, 1]],
397
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "State")], [0, 1]],
398
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CountryCode")], [0, 1]],
399
+ ["zip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Zip")], [0, 1]],
400
+ ["phone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Phone")], [0, 1]],
401
+ ["phoneExtn", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PhoneExtn")], [0, 1]]
402
+ ]
403
+ )
404
+
405
+ LiteralRegistry.register(
406
+ :class => BrokerInfo,
407
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "BrokerInfo"),
408
+ :schema_element => [
409
+ ["brokerName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerName")], [0, 1]],
410
+ ["brokerTIN", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerTIN")], [0, 1]],
411
+ ["brokerCompany", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerCompany")], [0, 1]],
412
+ ["brokerAddress", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerAddress")], [0, 1]],
413
+ ["brokerAddress1", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerAddress1")], [0, 1]],
414
+ ["brokerAddress2", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerAddress2")], [0, 1]],
415
+ ["brokerCity", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerCity")], [0, 1]],
416
+ ["brokerState", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerState")], [0, 1]],
417
+ ["brokerCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerCountryCode")], [0, 1]],
418
+ ["brokerZip", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerZip")], [0, 1]],
419
+ ["brokerPhone", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerPhone")], [0, 1]],
420
+ ["brokerEmail", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BrokerEmail")], [0, 1]]
421
+ ]
422
+ )
423
+
424
+ LiteralRegistry.register(
425
+ :class => ShipmentResponse,
426
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ShipmentResponse"),
427
+ :schema_element => [
428
+ ["shipmentTrackingNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ShipmentTrackingNumber")], [0, 1]],
429
+ ["shipmentLabel", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ShipmentLabel")], [0, 1]],
430
+ ["status", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "Status")]],
431
+ ["shipmentResponseErrorCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ShipmentResponseErrorCode")], [0, 1]],
432
+ ["shipmentResponseError", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ShipmentResponseError")], [0, 1]]
433
+ ]
434
+ )
435
+
436
+ LiteralRegistry.register(
437
+ :class => ShipmentVoidResponse,
438
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ShipmentVoidResponse"),
439
+ :schema_element => [
440
+ ["status", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "Status")]],
441
+ ["errorDescription", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ErrorDescription")], [0, 1]],
442
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ErrorCode")], [0, 1]],
443
+ ["additionalInfo", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "AdditionalInfo")], [0, 1]]
444
+ ]
445
+ )
446
+
447
+ LiteralRegistry.register(
448
+ :class => ShipmentVoidRequest,
449
+ :schema_type => XSD::QName.new(NsWSG4SICOM, "ShipmentVoidRequest"),
450
+ :schema_element => [
451
+ ["trackingNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "TrackingNumber")], [0, 1]],
452
+ ["carrierName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CarrierName")], [0, 1]],
453
+ ["shipmentDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsWSG4SICOM, "ShipmentDate")]]
454
+ ]
455
+ )
456
+
457
+ LiteralRegistry.register(
458
+ :class => CalculateEstimatedPrice,
459
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "CalculateEstimatedPrice"),
460
+ :schema_element => []
461
+ )
462
+
463
+ LiteralRegistry.register(
464
+ :class => CalculateEstimatedPriceResponse,
465
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "CalculateEstimatedPriceResponse"),
466
+ :schema_element => [
467
+ ["calculateEstimatedPriceResult", ["PriceEstimateResponse", XSD::QName.new(NsWSG4SICOM, "CalculateEstimatedPriceResult")], [0, 1]]
468
+ ]
469
+ )
470
+
471
+ LiteralRegistry.register(
472
+ :class => G4SIAuthentication,
473
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "G4SIAuthentication"),
474
+ :schema_element => [
475
+ ["username", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Username")], [0, 1]],
476
+ ["password", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Password")], [0, 1]],
477
+ ["accessKey", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "AccessKey")], [0, 1]]
478
+ ]
479
+ )
480
+
481
+ LiteralRegistry.register(
482
+ :class => ShipmentRequest,
483
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "ShipmentRequest"),
484
+ :schema_element => [
485
+ ["commodityCollection", ["ArrayOfCommodityList", XSD::QName.new(NsWSG4SICOM, "CommodityCollection")], [0, 1]],
486
+ ["carrierName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CarrierName")], [0, 1]],
487
+ ["shipmentDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsWSG4SICOM, "ShipmentDate")]],
488
+ ["billFreightTo", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "BillFreightTo")], [0, 1]],
489
+ ["serviceLevelName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "ServiceLevelName")], [0, 1]],
490
+ ["packageTypeName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PackageTypeName")], [0, 1]],
491
+ ["declaredWeight", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "DeclaredWeight")]],
492
+ ["declareValue", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "DeclareValue")]],
493
+ ["weightType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "WeightType")], [0, 1]],
494
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Description")], [0, 1]],
495
+ ["dimensions", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Dimensions")], [0, 1]],
496
+ ["dimensionUnitType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "DimensionUnitType")], [0, 1]],
497
+ ["thermalPrinter", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ThermalPrinter")]],
498
+ ["sEDNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SEDNumber")], [0, 1]],
499
+ ["dutiesPayorType", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "DutiesPayorType")], [0, 1]],
500
+ ["recipientAddress", ["Address", XSD::QName.new(NsWSG4SICOM, "RecipientAddress")], [0, 1]],
501
+ ["saveNewRecipientAddress", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SaveNewRecipientAddress")]],
502
+ ["shipperAddress", ["Address", XSD::QName.new(NsWSG4SICOM, "ShipperAddress")], [0, 1]],
503
+ ["cODAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CODAmount")]],
504
+ ["holdAtLocation", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "HoldAtLocation")]],
505
+ ["schedulePickup", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SchedulePickup")]],
506
+ ["schedulePickupLocation", ["SchedulePickup", XSD::QName.new(NsWSG4SICOM, "SchedulePickupLocation")], [0, 1]],
507
+ ["cODInfo", ["COD", XSD::QName.new(NsWSG4SICOM, "CODInfo")], [0, 1]],
508
+ ["holdAtLocationInfo", ["HoldAtLocation", XSD::QName.new(NsWSG4SICOM, "HoldAtLocationInfo")], [0, 1]],
509
+ ["purchaseOrderNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "PurchaseOrderNumber")], [0, 1]],
510
+ ["salesOrderNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SalesOrderNumber")], [0, 1]],
511
+ ["brokerInfo", ["BrokerInfo", XSD::QName.new(NsWSG4SICOM, "BrokerInfo")], [0, 1]],
512
+ ["recipientShipNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RecipientShipNotification")]],
513
+ ["receiveAlerts", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ReceiveAlerts")]],
514
+ ["saturdayDelivery", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SaturdayDelivery")]],
515
+ ["saturdayPickup", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "SaturdayPickup")]],
516
+ ["residential", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "Residential")]],
517
+ ["signatureOption", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "SignatureOption")], [0, 1]],
518
+ ["recipientAlertEmail", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "RecipientAlertEmail")], [0, 1]],
519
+ ["recipientDeliveryNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RecipientDeliveryNotification")]],
520
+ ["recipientExceptionNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RecipientExceptionNotification")]],
521
+ ["shipperShipNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ShipperShipNotification")]],
522
+ ["shipperDeliveryNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ShipperDeliveryNotification")]],
523
+ ["shipperExceptionNotification", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "ShipperExceptionNotification")]],
524
+ ["restrictedWordsCompliance", ["SOAP::SOAPBoolean", XSD::QName.new(NsWSG4SICOM, "RestrictedWordsCompliance")]],
525
+ ["trackingNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "TrackingNumber")], [0, 1]]
526
+ ]
527
+ )
528
+
529
+ LiteralRegistry.register(
530
+ :class => CreateShipment,
531
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "CreateShipment"),
532
+ :schema_element => []
533
+ )
534
+
535
+ LiteralRegistry.register(
536
+ :class => CreateShipmentResponse,
537
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "CreateShipmentResponse"),
538
+ :schema_element => [
539
+ ["createShipmentResult", ["ShipmentResponse", XSD::QName.new(NsWSG4SICOM, "CreateShipmentResult")], [0, 1]]
540
+ ]
541
+ )
542
+
543
+ LiteralRegistry.register(
544
+ :class => CommodityList,
545
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "CommodityList"),
546
+ :schema_element => [
547
+ ["commodityDescription", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CommodityDescription")], [0, 1]],
548
+ ["harmonizedCode", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "HarmonizedCode")], [0, 1]],
549
+ ["commodityQuantity", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CommodityQuantity")]],
550
+ ["measurement", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "Measurement")], [0, 1]],
551
+ ["customValue", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CustomValue")]],
552
+ ["commodityWeight", ["SOAP::SOAPDouble", XSD::QName.new(NsWSG4SICOM, "CommodityWeight")]],
553
+ ["codeCountryOfManufacture", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CodeCountryOfManufacture")], [0, 1]],
554
+ ["nameOnLabel", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "NameOnLabel")], [0, 1]]
555
+ ]
556
+ )
557
+
558
+ LiteralRegistry.register(
559
+ :class => VoidShipment,
560
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "VoidShipment"),
561
+ :schema_element => []
562
+ )
563
+
564
+ LiteralRegistry.register(
565
+ :class => VoidShipmentResponse,
566
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "VoidShipmentResponse"),
567
+ :schema_element => [
568
+ ["voidShipmentResult", ["ShipmentVoidResponse", XSD::QName.new(NsWSG4SICOM, "VoidShipmentResult")], [0, 1]]
569
+ ]
570
+ )
571
+
572
+ LiteralRegistry.register(
573
+ :class => ShipmentVoidRequest,
574
+ :schema_name => XSD::QName.new(NsWSG4SICOM, "ShipmentVoidRequest"),
575
+ :schema_element => [
576
+ ["trackingNumber", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "TrackingNumber")], [0, 1]],
577
+ ["carrierName", ["SOAP::SOAPString", XSD::QName.new(NsWSG4SICOM, "CarrierName")], [0, 1]],
578
+ ["shipmentDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsWSG4SICOM, "ShipmentDate")]]
579
+ ]
580
+ )
581
+ end