nbudin-google4r-checkout 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/.gitignore +3 -0
  2. data/CHANGES +83 -0
  3. data/LICENSE +22 -0
  4. data/README +58 -0
  5. data/Rakefile +80 -0
  6. data/VERSION +1 -0
  7. data/lib/google4r/checkout/commands.rb +515 -0
  8. data/lib/google4r/checkout/frontend.rb +204 -0
  9. data/lib/google4r/checkout/merchant_calculation.rb +321 -0
  10. data/lib/google4r/checkout/notifications.rb +708 -0
  11. data/lib/google4r/checkout/shared.rb +1249 -0
  12. data/lib/google4r/checkout/utils.rb +94 -0
  13. data/lib/google4r/checkout/xml_generation.rb +920 -0
  14. data/lib/google4r/checkout.rb +34 -0
  15. data/test/frontend_configuration.rb +13 -0
  16. data/test/integration/checkout_command_test.rb +246 -0
  17. data/test/test_helper.rb +115 -0
  18. data/test/unit/add_merchant_order_number_command_test.rb +70 -0
  19. data/test/unit/add_tracking_data_command_test.rb +75 -0
  20. data/test/unit/address_test.rb +131 -0
  21. data/test/unit/anonymous_address_test.rb +75 -0
  22. data/test/unit/archive_order_command_test.rb +66 -0
  23. data/test/unit/area_test.rb +44 -0
  24. data/test/unit/authorization_amount_notification_test.rb +69 -0
  25. data/test/unit/authorize_order_command_test.rb +66 -0
  26. data/test/unit/backorder_items_command_test.rb +83 -0
  27. data/test/unit/callback_handler_test.rb +83 -0
  28. data/test/unit/cancel_items_command_test.rb +89 -0
  29. data/test/unit/cancel_order_command_test.rb +83 -0
  30. data/test/unit/carrier_calculated_shipping_test.rb +57 -0
  31. data/test/unit/charge_amount_notification_test.rb +64 -0
  32. data/test/unit/charge_order_command_test.rb +77 -0
  33. data/test/unit/chargeback_amount_notification_test.rb +65 -0
  34. data/test/unit/checkout_command_test.rb +125 -0
  35. data/test/unit/checkout_command_xml_generator_test.rb +218 -0
  36. data/test/unit/command_test.rb +116 -0
  37. data/test/unit/deliver_order_command_test.rb +70 -0
  38. data/test/unit/delivery_method_test.rb +42 -0
  39. data/test/unit/digital_content_test.rb +105 -0
  40. data/test/unit/flat_rate_shipping_test.rb +132 -0
  41. data/test/unit/frontend_test.rb +136 -0
  42. data/test/unit/item_info_test.rb +69 -0
  43. data/test/unit/item_test.rb +171 -0
  44. data/test/unit/marketing_preferences_test.rb +65 -0
  45. data/test/unit/merchant_calculated_shipping_test.rb +172 -0
  46. data/test/unit/merchant_calculation_callback_test.rb +137 -0
  47. data/test/unit/merchant_calculation_result_test.rb +78 -0
  48. data/test/unit/merchant_calculation_results_test.rb +178 -0
  49. data/test/unit/merchant_code_result_test.rb +51 -0
  50. data/test/unit/merchant_code_test.rb +122 -0
  51. data/test/unit/new_order_notification_test.rb +115 -0
  52. data/test/unit/notification_acknowledgement_test.rb +67 -0
  53. data/test/unit/notification_handler_test.rb +113 -0
  54. data/test/unit/order_adjustment_test.rb +119 -0
  55. data/test/unit/order_state_change_notification_test.rb +158 -0
  56. data/test/unit/pickup_shipping_test.rb +70 -0
  57. data/test/unit/postal_area_test.rb +71 -0
  58. data/test/unit/private_data_parser_test.rb +68 -0
  59. data/test/unit/refund_amount_notification_test.rb +65 -0
  60. data/test/unit/refund_order_command_test.rb +86 -0
  61. data/test/unit/reset_items_shipping_information_command_test.rb +83 -0
  62. data/test/unit/return_items_command_test.rb +83 -0
  63. data/test/unit/risk_information_notification_test.rb +98 -0
  64. data/test/unit/send_buyer_message_command_test.rb +73 -0
  65. data/test/unit/ship_items_command_test.rb +101 -0
  66. data/test/unit/shipping_adjustment_test.rb +100 -0
  67. data/test/unit/shopping_cart_test.rb +146 -0
  68. data/test/unit/tax_rule_test.rb +70 -0
  69. data/test/unit/tax_table_test.rb +82 -0
  70. data/test/unit/tracking_data_test.rb +54 -0
  71. data/test/unit/unarchive_order_command_test.rb +66 -0
  72. data/test/unit/us_country_area_test.rb +76 -0
  73. data/test/unit/us_state_area_test.rb +70 -0
  74. data/test/unit/us_zip_area_test.rb +66 -0
  75. data/test/unit/world_area_test.rb +48 -0
  76. data/test/xml/apiv2.xsd +997 -0
  77. data/test/xml/test_check_persisting_works_expected.xml +213 -0
  78. data/var/cacert.pem +7815 -0
  79. metadata +200 -0
@@ -0,0 +1,997 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Copyright 2006 Google Inc. All Rights Reserved.
4
+
5
+ Google Confidential
6
+ -->
7
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://checkout.google.com/schema/2" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd" targetNamespace="http://checkout.google.com/schema/2" elementFormDefault="qualified" attributeFormDefault="unqualified">
8
+ <xs:complexType name="Hello" />
9
+
10
+ <xs:complexType name="Bye">
11
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
12
+ </xs:complexType>
13
+
14
+ <xs:complexType name="DemoFailure">
15
+ <xs:attribute name="message" type="xs:string" use="required" />
16
+ </xs:complexType>
17
+
18
+ <xs:complexType name="CheckoutShoppingCart">
19
+ <xs:all>
20
+ <xs:element name="shopping-cart" type="tns:ShoppingCart" />
21
+ <xs:element name="checkout-flow-support">
22
+ <xs:complexType>
23
+ <xs:choice>
24
+ <xs:element name="merchant-checkout-flow-support" type="tns:MerchantCheckoutFlowSupport" />
25
+ </xs:choice>
26
+ </xs:complexType>
27
+ </xs:element>
28
+ <xs:element name="order-processing-support" type="tns:OrderProcessingSupport" minOccurs="0" />
29
+ </xs:all>
30
+ </xs:complexType>
31
+
32
+ <xs:complexType name="CheckoutRedirect">
33
+ <xs:all>
34
+ <xs:element name="redirect-url" type="xs:string" />
35
+ </xs:all>
36
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
37
+ </xs:complexType>
38
+
39
+ <xs:complexType name="MerchantCheckoutFlowSupport">
40
+ <xs:all>
41
+ <xs:element name="edit-cart-url" type="xs:anyURI" minOccurs="0" />
42
+ <xs:element name="continue-shopping-url" type="xs:anyURI" minOccurs="0" />
43
+ <xs:element name="tax-tables" type="tns:TaxTables" minOccurs="0" />
44
+ <xs:element name="shipping-methods" minOccurs="0">
45
+ <xs:complexType>
46
+ <xs:sequence>
47
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
48
+ <xs:element name="flat-rate-shipping" type="tns:FlatRateShipping" />
49
+ <xs:element name="merchant-calculated-shipping" type="tns:MerchantCalculatedShipping" />
50
+ <xs:element name="pickup" type="tns:Pickup" />
51
+ </xs:choice>
52
+ </xs:sequence>
53
+ </xs:complexType>
54
+ </xs:element>
55
+ <xs:element name="parameterized-urls" minOccurs="0">
56
+ <xs:complexType>
57
+ <xs:sequence>
58
+ <xs:element name="parameterized-url" type="tns:ParameterizedUrl" minOccurs="0" maxOccurs="unbounded" />
59
+ </xs:sequence>
60
+ </xs:complexType>
61
+ </xs:element>
62
+ <xs:element name="merchant-calculations" type="tns:MerchantCalculations" minOccurs="0" />
63
+ <xs:element name="request-buyer-phone-number" type="xs:boolean" minOccurs="0" />
64
+ <xs:element name="analytics-data" type="xs:string" minOccurs="0" />
65
+ <xs:element name="platform-id" type="xs:long" minOccurs="0" />
66
+ <xs:element name="rounding-policy" type="tns:RoundingPolicy" minOccurs="0" />
67
+ </xs:all>
68
+ </xs:complexType>
69
+
70
+ <xs:complexType name="MerchantCalculations">
71
+ <xs:all>
72
+ <xs:element name="merchant-calculations-url" type="xs:anyURI" />
73
+ <xs:element name="accept-merchant-coupons" type="xs:boolean" minOccurs="0" />
74
+ <xs:element name="accept-gift-certificates" type="xs:boolean" minOccurs="0" />
75
+ </xs:all>
76
+ </xs:complexType>
77
+
78
+ <xs:complexType name="RoundingPolicy">
79
+ <xs:all>
80
+ <xs:element name="mode" type="tns:RoundingMode" />
81
+ <xs:element name="rule" type="tns:RoundingRule" />
82
+ </xs:all>
83
+ </xs:complexType>
84
+
85
+ <xs:complexType name="ParameterizedUrl">
86
+ <xs:all>
87
+ <xs:element name="parameters" minOccurs="0">
88
+ <xs:complexType>
89
+ <xs:sequence>
90
+ <xs:element name="url-parameter" type="tns:UrlParameter" minOccurs="0" maxOccurs="unbounded" />
91
+ </xs:sequence>
92
+ </xs:complexType>
93
+ </xs:element>
94
+ </xs:all>
95
+ <xs:attribute name="url" type="xs:anyURI" use="required" />
96
+ </xs:complexType>
97
+
98
+ <xs:complexType name="UrlParameter">
99
+ <xs:attribute name="name" type="xs:string" use="required" />
100
+ <xs:attribute name="type" type="xs:string" use="required" />
101
+ </xs:complexType>
102
+
103
+ <xs:complexType name="ShoppingCart">
104
+ <xs:all>
105
+ <xs:element name="merchant-private-data" type="tns:anyMultiple" minOccurs="0" />
106
+ <xs:element name="cart-expiration" type="tns:CartExpiration" minOccurs="0" />
107
+ <xs:element name="items">
108
+ <xs:complexType>
109
+ <xs:sequence>
110
+ <xs:element name="item" type="tns:Item" minOccurs="0" maxOccurs="unbounded" />
111
+ </xs:sequence>
112
+ </xs:complexType>
113
+ </xs:element>
114
+ </xs:all>
115
+ </xs:complexType>
116
+
117
+ <xs:complexType name="Item">
118
+ <xs:all>
119
+ <xs:element name="tax-table-selector" minOccurs="0">
120
+ <xs:simpleType>
121
+ <xs:restriction base="xs:string">
122
+ <xs:minLength value="0" />
123
+ <xs:maxLength value="255" />
124
+ </xs:restriction>
125
+ </xs:simpleType>
126
+ </xs:element>
127
+ <xs:element name="item-name" type="xs:string" />
128
+ <xs:element name="item-description" type="xs:string" />
129
+ <xs:element name="unit-price" type="tns:Money" />
130
+ <xs:element name="quantity">
131
+ <xs:simpleType>
132
+ <xs:restriction base="xs:int">
133
+ <xs:minInclusive value="1" />
134
+ </xs:restriction>
135
+ </xs:simpleType>
136
+ </xs:element>
137
+ <xs:element name="merchant-item-id" type="xs:string" minOccurs="0" />
138
+ <xs:element name="merchant-private-item-data" type="tns:anyMultiple" minOccurs="0" />
139
+ </xs:all>
140
+ </xs:complexType>
141
+
142
+ <xs:complexType name="CartExpiration">
143
+ <xs:all>
144
+ <xs:element name="good-until-date" type="xs:dateTime" />
145
+ </xs:all>
146
+ </xs:complexType>
147
+
148
+ <xs:complexType name="USStateArea">
149
+ <xs:all>
150
+ <xs:element name="state" type="xs:string" />
151
+ </xs:all>
152
+ </xs:complexType>
153
+
154
+ <xs:complexType name="USZipArea">
155
+ <xs:all>
156
+ <xs:element name="zip-pattern" type="xs:string" />
157
+ </xs:all>
158
+ </xs:complexType>
159
+
160
+ <xs:complexType name="USCountryArea">
161
+ <xs:attribute name="country-area" type="tns:USAreas" use="required" />
162
+ </xs:complexType>
163
+
164
+ <xs:complexType name="PostalArea">
165
+ <xs:all>
166
+ <xs:element name="country-code" type="xs:string" />
167
+ <xs:element name="postal-code-pattern" type="xs:string" minOccurs="0" />
168
+ </xs:all>
169
+ </xs:complexType>
170
+
171
+ <xs:complexType name="WorldArea" />
172
+
173
+ <xs:complexType name="Address">
174
+ <xs:all>
175
+ <xs:element name="email" type="xs:string" minOccurs="0" />
176
+ <xs:element name="phone" type="xs:string" minOccurs="0" />
177
+ <xs:element name="contact-name" type="xs:string" minOccurs="0" />
178
+ <xs:element name="company-name" type="xs:string" minOccurs="0" />
179
+ <xs:element name="fax" type="xs:string" minOccurs="0" />
180
+ <xs:element name="address1" type="xs:string" />
181
+ <xs:element name="address2" type="xs:string" minOccurs="0" />
182
+ <xs:element name="country-code" type="xs:string" />
183
+ <xs:element name="region" type="xs:string" />
184
+ <xs:element name="city" type="xs:string" />
185
+ <xs:element name="postal-code" type="xs:string" />
186
+ </xs:all>
187
+ </xs:complexType>
188
+
189
+ <xs:complexType name="ShippingRestrictions">
190
+ <xs:all>
191
+ <xs:element name="allowed-areas">
192
+ <xs:complexType>
193
+ <xs:sequence>
194
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
195
+ <xs:element name="us-state-area" type="tns:USStateArea" />
196
+ <xs:element name="us-zip-area" type="tns:USZipArea" />
197
+ <xs:element name="us-country-area" type="tns:USCountryArea" />
198
+ <xs:element name="postal-area" type="tns:PostalArea" />
199
+ <xs:element name="world-area" type="tns:WorldArea" />
200
+ </xs:choice>
201
+ </xs:sequence>
202
+ </xs:complexType>
203
+ </xs:element>
204
+ <xs:element name="excluded-areas" minOccurs="0">
205
+ <xs:complexType>
206
+ <xs:sequence>
207
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
208
+ <xs:element name="us-state-area" type="tns:USStateArea" />
209
+ <xs:element name="us-zip-area" type="tns:USZipArea" />
210
+ <xs:element name="us-country-area" type="tns:USCountryArea" />
211
+ <xs:element name="postal-area" type="tns:PostalArea" />
212
+ <xs:element name="world-area" type="tns:WorldArea" />
213
+ </xs:choice>
214
+ </xs:sequence>
215
+ </xs:complexType>
216
+ </xs:element>
217
+ <xs:element name="allow-us-po-box" type="xs:boolean" minOccurs="0" />
218
+ </xs:all>
219
+ </xs:complexType>
220
+
221
+ <xs:complexType name="FlatRateShipping">
222
+ <xs:all>
223
+ <xs:element name="price">
224
+ <xs:complexType>
225
+ <xs:simpleContent>
226
+ <xs:restriction base="tns:Money">
227
+ <xs:minInclusive value="0.0" />
228
+ </xs:restriction>
229
+ </xs:simpleContent>
230
+ </xs:complexType>
231
+ </xs:element>
232
+ <xs:element name="shipping-restrictions" type="tns:ShippingRestrictions" minOccurs="0" />
233
+ </xs:all>
234
+ <xs:attribute name="name" use="required">
235
+ <xs:simpleType>
236
+ <xs:restriction base="xs:string">
237
+ <xs:minLength value="1" />
238
+ <xs:maxLength value="255" />
239
+ </xs:restriction>
240
+ </xs:simpleType>
241
+ </xs:attribute>
242
+ </xs:complexType>
243
+
244
+ <xs:complexType name="MerchantCalculatedShipping">
245
+ <xs:all>
246
+ <xs:element name="address-filters" type="tns:ShippingRestrictions" minOccurs="0" />
247
+ <xs:element name="shipping-restrictions" type="tns:ShippingRestrictions" minOccurs="0" />
248
+ <xs:element name="price">
249
+ <xs:complexType>
250
+ <xs:simpleContent>
251
+ <xs:restriction base="tns:Money">
252
+ <xs:minInclusive value="0.0" />
253
+ </xs:restriction>
254
+ </xs:simpleContent>
255
+ </xs:complexType>
256
+ </xs:element>
257
+ </xs:all>
258
+ <xs:attribute name="name" use="required">
259
+ <xs:simpleType>
260
+ <xs:restriction base="xs:string">
261
+ <xs:minLength value="1" />
262
+ <xs:maxLength value="255" />
263
+ </xs:restriction>
264
+ </xs:simpleType>
265
+ </xs:attribute>
266
+ </xs:complexType>
267
+
268
+ <xs:complexType name="Pickup">
269
+ <xs:all>
270
+ <xs:element name="price">
271
+ <xs:complexType>
272
+ <xs:simpleContent>
273
+ <xs:restriction base="tns:Money">
274
+ <xs:minInclusive value="0.0" />
275
+ </xs:restriction>
276
+ </xs:simpleContent>
277
+ </xs:complexType>
278
+ </xs:element>
279
+ </xs:all>
280
+ <xs:attribute name="name" use="required">
281
+ <xs:simpleType>
282
+ <xs:restriction base="xs:string">
283
+ <xs:minLength value="1" />
284
+ <xs:maxLength value="255" />
285
+ </xs:restriction>
286
+ </xs:simpleType>
287
+ </xs:attribute>
288
+ </xs:complexType>
289
+
290
+ <xs:complexType name="ChargeOrderRequest">
291
+ <xs:all>
292
+ <xs:element name="amount" type="tns:Money" minOccurs="0" />
293
+ </xs:all>
294
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
295
+ </xs:complexType>
296
+
297
+ <xs:complexType name="RefundOrderRequest">
298
+ <xs:all>
299
+ <xs:element name="amount" type="tns:Money" minOccurs="0" />
300
+ <xs:element name="comment" type="xs:string" minOccurs="0" />
301
+ <xs:element name="reason" type="xs:string" />
302
+ </xs:all>
303
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
304
+ </xs:complexType>
305
+
306
+ <xs:complexType name="CancelOrderRequest">
307
+ <xs:all>
308
+ <xs:element name="comment" type="xs:string" minOccurs="0" />
309
+ <xs:element name="reason" type="xs:string" />
310
+ </xs:all>
311
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
312
+ </xs:complexType>
313
+
314
+ <xs:complexType name="AuthorizeOrderRequest">
315
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
316
+ </xs:complexType>
317
+
318
+ <xs:complexType name="ProcessOrderRequest">
319
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
320
+ </xs:complexType>
321
+
322
+ <xs:complexType name="DeliverOrderRequest">
323
+ <xs:all>
324
+ <xs:element name="tracking-data" type="tns:TrackingData" minOccurs="0" />
325
+ <xs:element name="send-email" type="xs:boolean" minOccurs="0" />
326
+ </xs:all>
327
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
328
+ </xs:complexType>
329
+
330
+ <xs:complexType name="AddTrackingDataRequest">
331
+ <xs:all>
332
+ <xs:element name="tracking-data" type="tns:TrackingData" />
333
+ </xs:all>
334
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
335
+ </xs:complexType>
336
+
337
+ <xs:complexType name="SendBuyerMessageRequest">
338
+ <xs:all>
339
+ <xs:element name="send-email" type="xs:boolean" minOccurs="0" />
340
+ <xs:element name="message" type="xs:string" />
341
+ </xs:all>
342
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
343
+ </xs:complexType>
344
+
345
+ <xs:complexType name="ArchiveOrderRequest">
346
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
347
+ </xs:complexType>
348
+
349
+ <xs:complexType name="UnarchiveOrderRequest">
350
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
351
+ </xs:complexType>
352
+
353
+ <xs:complexType name="AddMerchantOrderNumberRequest">
354
+ <xs:all>
355
+ <xs:element name="merchant-order-number" type="xs:string" />
356
+ </xs:all>
357
+ <xs:attribute name="google-order-number" type="xs:token" use="required" />
358
+ </xs:complexType>
359
+
360
+ <xs:complexType name="RequestReceivedResponse">
361
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
362
+ </xs:complexType>
363
+
364
+ <xs:complexType name="TrackingData">
365
+ <xs:all>
366
+ <xs:element name="carrier" type="xs:string" />
367
+ <xs:element name="tracking-number" type="xs:string" />
368
+ </xs:all>
369
+ </xs:complexType>
370
+
371
+ <xs:complexType name="TaxTables">
372
+ <xs:all>
373
+ <xs:element name="default-tax-table" type="tns:DefaultTaxTable" minOccurs="0" />
374
+ <xs:element name="alternate-tax-tables" minOccurs="0">
375
+ <xs:complexType>
376
+ <xs:sequence>
377
+ <xs:element name="alternate-tax-table" type="tns:AlternateTaxTable" minOccurs="0" maxOccurs="unbounded" />
378
+ </xs:sequence>
379
+ </xs:complexType>
380
+ </xs:element>
381
+ </xs:all>
382
+ <xs:attribute name="merchant-calculated" type="xs:boolean" use="optional" />
383
+ </xs:complexType>
384
+
385
+ <xs:complexType name="DefaultTaxTable">
386
+ <xs:all>
387
+ <xs:element name="tax-rules">
388
+ <xs:complexType>
389
+ <xs:sequence>
390
+ <xs:element name="default-tax-rule" type="tns:DefaultTaxRule" minOccurs="0" maxOccurs="unbounded" />
391
+ </xs:sequence>
392
+ </xs:complexType>
393
+ </xs:element>
394
+ </xs:all>
395
+ </xs:complexType>
396
+
397
+ <xs:complexType name="AlternateTaxTable">
398
+ <xs:all>
399
+ <xs:element name="alternate-tax-rules">
400
+ <xs:complexType>
401
+ <xs:sequence>
402
+ <xs:element name="alternate-tax-rule" type="tns:AlternateTaxRule" minOccurs="0" maxOccurs="unbounded" />
403
+ </xs:sequence>
404
+ </xs:complexType>
405
+ </xs:element>
406
+ </xs:all>
407
+ <xs:attribute name="standalone" type="xs:boolean" use="optional" />
408
+ <xs:attribute name="name" use="required">
409
+ <xs:simpleType>
410
+ <xs:restriction base="xs:string">
411
+ <xs:minLength value="0" />
412
+ <xs:maxLength value="255" />
413
+ </xs:restriction>
414
+ </xs:simpleType>
415
+ </xs:attribute>
416
+ </xs:complexType>
417
+
418
+ <xs:complexType name="DefaultTaxRule">
419
+ <xs:all>
420
+ <xs:element name="shipping-taxed" type="xs:boolean" minOccurs="0" />
421
+ <xs:element name="rate">
422
+ <xs:simpleType>
423
+ <xs:restriction base="xs:double">
424
+ <xs:minInclusive value="0.0" />
425
+ </xs:restriction>
426
+ </xs:simpleType>
427
+ </xs:element>
428
+ <xs:element name="tax-area">
429
+ <xs:complexType>
430
+ <xs:choice>
431
+ <xs:element name="us-state-area" type="tns:USStateArea" />
432
+ <xs:element name="us-zip-area" type="tns:USZipArea" />
433
+ <xs:element name="us-country-area" type="tns:USCountryArea" />
434
+ <xs:element name="postal-area" type="tns:PostalArea" />
435
+ <xs:element name="world-area" type="tns:WorldArea" />
436
+ </xs:choice>
437
+ </xs:complexType>
438
+ </xs:element>
439
+ </xs:all>
440
+ </xs:complexType>
441
+
442
+ <xs:complexType name="AlternateTaxRule">
443
+ <xs:all>
444
+ <xs:element name="rate">
445
+ <xs:simpleType>
446
+ <xs:restriction base="xs:double">
447
+ <xs:minInclusive value="0.0" />
448
+ </xs:restriction>
449
+ </xs:simpleType>
450
+ </xs:element>
451
+ <xs:element name="tax-area">
452
+ <xs:complexType>
453
+ <xs:choice>
454
+ <xs:element name="us-state-area" type="tns:USStateArea" />
455
+ <xs:element name="us-zip-area" type="tns:USZipArea" />
456
+ <xs:element name="us-country-area" type="tns:USCountryArea" />
457
+ <xs:element name="postal-area" type="tns:PostalArea" />
458
+ <xs:element name="world-area" type="tns:WorldArea" />
459
+ </xs:choice>
460
+ </xs:complexType>
461
+ </xs:element>
462
+ </xs:all>
463
+ </xs:complexType>
464
+
465
+ <xs:complexType name="OrderAdjustment">
466
+ <xs:all>
467
+ <xs:element name="merchant-calculation-successful" type="xs:boolean" minOccurs="0" />
468
+ <xs:element name="merchant-codes" minOccurs="0">
469
+ <xs:complexType>
470
+ <xs:sequence>
471
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
472
+ <xs:element name="gift-certificate-adjustment" type="tns:GiftCertificateAdjustment" />
473
+ <xs:element name="coupon-adjustment" type="tns:CouponAdjustment" />
474
+ </xs:choice>
475
+ </xs:sequence>
476
+ </xs:complexType>
477
+ </xs:element>
478
+ <xs:element name="total-tax" minOccurs="0">
479
+ <xs:complexType>
480
+ <xs:simpleContent>
481
+ <xs:restriction base="tns:Money">
482
+ <xs:minInclusive value="0.0" />
483
+ </xs:restriction>
484
+ </xs:simpleContent>
485
+ </xs:complexType>
486
+ </xs:element>
487
+ <xs:element name="shipping">
488
+ <xs:complexType>
489
+ <xs:choice>
490
+ <xs:element name="merchant-calculated-shipping-adjustment" type="tns:MerchantCalculatedShippingAdjustment" />
491
+ <xs:element name="flat-rate-shipping-adjustment" type="tns:FlatRateShippingAdjustment" />
492
+ <xs:element name="pickup-shipping-adjustment" type="tns:PickupShippingAdjustment" />
493
+ </xs:choice>
494
+ </xs:complexType>
495
+ </xs:element>
496
+ <xs:element name="adjustment-total" type="tns:Money" minOccurs="0" />
497
+ </xs:all>
498
+ </xs:complexType>
499
+
500
+ <xs:complexType name="MerchantCalculatedShippingAdjustment">
501
+ <xs:all>
502
+ <xs:element name="shipping-name" type="xs:string" />
503
+ <xs:element name="shipping-cost">
504
+ <xs:complexType>
505
+ <xs:simpleContent>
506
+ <xs:restriction base="tns:Money">
507
+ <xs:minInclusive value="0.0" />
508
+ </xs:restriction>
509
+ </xs:simpleContent>
510
+ </xs:complexType>
511
+ </xs:element>
512
+ </xs:all>
513
+ </xs:complexType>
514
+
515
+ <xs:complexType name="FlatRateShippingAdjustment">
516
+ <xs:all>
517
+ <xs:element name="shipping-name" type="xs:string" />
518
+ <xs:element name="shipping-cost">
519
+ <xs:complexType>
520
+ <xs:simpleContent>
521
+ <xs:restriction base="tns:Money">
522
+ <xs:minInclusive value="0.0" />
523
+ </xs:restriction>
524
+ </xs:simpleContent>
525
+ </xs:complexType>
526
+ </xs:element>
527
+ </xs:all>
528
+ </xs:complexType>
529
+
530
+ <xs:complexType name="PickupShippingAdjustment">
531
+ <xs:all>
532
+ <xs:element name="shipping-name" type="xs:string" />
533
+ <xs:element name="shipping-cost">
534
+ <xs:complexType>
535
+ <xs:simpleContent>
536
+ <xs:restriction base="tns:Money">
537
+ <xs:minInclusive value="0.0" />
538
+ </xs:restriction>
539
+ </xs:simpleContent>
540
+ </xs:complexType>
541
+ </xs:element>
542
+ </xs:all>
543
+ </xs:complexType>
544
+
545
+ <xs:complexType name="NewOrderNotification">
546
+ <xs:all>
547
+ <xs:element name="shopping-cart" type="tns:ShoppingCart" />
548
+ <xs:element name="google-order-number" type="xs:token" />
549
+ <xs:element name="buyer-shipping-address" type="tns:Address" />
550
+ <xs:element name="buyer-billing-address" type="tns:Address" />
551
+ <xs:element name="buyer-marketing-preferences" type="tns:BuyerMarketingPreferences" />
552
+ <xs:element name="order-adjustment" type="tns:OrderAdjustment" />
553
+ <xs:element name="order-total" type="tns:Money" />
554
+ <xs:element name="fulfillment-order-state" type="tns:FulfillmentOrderState" />
555
+ <xs:element name="financial-order-state" type="tns:FinancialOrderState" />
556
+ <xs:element name="buyer-id" type="xs:long" />
557
+ <xs:element name="timestamp" type="xs:dateTime" />
558
+ </xs:all>
559
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
560
+ </xs:complexType>
561
+
562
+ <xs:complexType name="OrderStateChangeNotification">
563
+ <xs:all>
564
+ <xs:element name="google-order-number" type="xs:token" />
565
+ <xs:element name="new-fulfillment-order-state" type="tns:FulfillmentOrderState" />
566
+ <xs:element name="new-financial-order-state" type="tns:FinancialOrderState" />
567
+ <xs:element name="previous-fulfillment-order-state" type="tns:FulfillmentOrderState" />
568
+ <xs:element name="previous-financial-order-state" type="tns:FinancialOrderState" />
569
+ <xs:element name="timestamp" type="xs:dateTime" />
570
+ <xs:element name="reason" type="xs:string" minOccurs="0" />
571
+ </xs:all>
572
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
573
+ </xs:complexType>
574
+
575
+ <xs:complexType name="ChargeAmountNotification">
576
+ <xs:all>
577
+ <xs:element name="google-order-number" type="xs:token" />
578
+ <xs:element name="latest-charge-amount" type="tns:Money" />
579
+ <xs:element name="total-charge-amount" type="tns:Money" />
580
+ <xs:element name="timestamp" type="xs:dateTime" />
581
+ </xs:all>
582
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
583
+ </xs:complexType>
584
+
585
+ <xs:complexType name="ChargebackAmountNotification">
586
+ <xs:all>
587
+ <xs:element name="google-order-number" type="xs:token" />
588
+ <xs:element name="latest-chargeback-amount" type="tns:Money" />
589
+ <xs:element name="total-chargeback-amount" type="tns:Money" />
590
+ <xs:element name="timestamp" type="xs:dateTime" />
591
+ </xs:all>
592
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
593
+ </xs:complexType>
594
+
595
+ <xs:complexType name="RefundAmountNotification">
596
+ <xs:all>
597
+ <xs:element name="google-order-number" type="xs:token" />
598
+ <xs:element name="latest-refund-amount" type="tns:Money" />
599
+ <xs:element name="total-refund-amount" type="tns:Money" />
600
+ <xs:element name="timestamp" type="xs:dateTime" />
601
+ </xs:all>
602
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
603
+ </xs:complexType>
604
+
605
+ <xs:complexType name="RiskInformationNotification">
606
+ <xs:all>
607
+ <xs:element name="google-order-number" type="xs:token" />
608
+ <xs:element name="risk-information" type="tns:RiskInformation" />
609
+ <xs:element name="timestamp" type="xs:dateTime" />
610
+ </xs:all>
611
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
612
+ </xs:complexType>
613
+
614
+ <xs:complexType name="AuthorizationAmountNotification">
615
+ <xs:all>
616
+ <xs:element name="google-order-number" type="xs:token" />
617
+ <xs:element name="avs-response" type="xs:string" />
618
+ <xs:element name="cvn-response" type="xs:string" />
619
+ <xs:element name="authorization-amount" type="tns:Money" />
620
+ <xs:element name="authorization-expiration-date" type="xs:dateTime" />
621
+ <xs:element name="timestamp" type="xs:dateTime" />
622
+ </xs:all>
623
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
624
+ </xs:complexType>
625
+
626
+ <xs:complexType name="NotificationAcknowledgment" />
627
+
628
+ <xs:complexType name="RiskInformation">
629
+ <xs:all>
630
+ <xs:element name="eligible-for-protection" type="xs:boolean" />
631
+ <xs:element name="billing-address" type="tns:Address" />
632
+ <xs:element name="avs-response" type="xs:string" />
633
+ <xs:element name="cvn-response" type="xs:string" />
634
+ <xs:element name="partial-cc-number" type="xs:string" />
635
+ <xs:element name="buyer-account-age" type="xs:int" />
636
+ <xs:element name="ip-address" type="xs:string" />
637
+ </xs:all>
638
+ </xs:complexType>
639
+
640
+ <xs:complexType name="BuyerMarketingPreferences">
641
+ <xs:all>
642
+ <xs:element name="email-allowed" type="xs:boolean" />
643
+ </xs:all>
644
+ </xs:complexType>
645
+
646
+ <xs:complexType name="GiftCertificateAdjustment">
647
+ <xs:all>
648
+ <xs:element name="calculated-amount" minOccurs="0">
649
+ <xs:complexType>
650
+ <xs:simpleContent>
651
+ <xs:restriction base="tns:Money">
652
+ <xs:minInclusive value="0.0" />
653
+ </xs:restriction>
654
+ </xs:simpleContent>
655
+ </xs:complexType>
656
+ </xs:element>
657
+ <xs:element name="applied-amount">
658
+ <xs:complexType>
659
+ <xs:simpleContent>
660
+ <xs:restriction base="tns:Money">
661
+ <xs:minInclusive value="0.0" />
662
+ </xs:restriction>
663
+ </xs:simpleContent>
664
+ </xs:complexType>
665
+ </xs:element>
666
+ <xs:element name="code" type="xs:string" />
667
+ <xs:element name="message" type="xs:string" minOccurs="0" />
668
+ </xs:all>
669
+ </xs:complexType>
670
+
671
+ <xs:complexType name="CouponAdjustment">
672
+ <xs:all>
673
+ <xs:element name="calculated-amount" minOccurs="0">
674
+ <xs:complexType>
675
+ <xs:simpleContent>
676
+ <xs:restriction base="tns:Money">
677
+ <xs:minInclusive value="0.0" />
678
+ </xs:restriction>
679
+ </xs:simpleContent>
680
+ </xs:complexType>
681
+ </xs:element>
682
+ <xs:element name="applied-amount">
683
+ <xs:complexType>
684
+ <xs:simpleContent>
685
+ <xs:restriction base="tns:Money">
686
+ <xs:minInclusive value="0.0" />
687
+ </xs:restriction>
688
+ </xs:simpleContent>
689
+ </xs:complexType>
690
+ </xs:element>
691
+ <xs:element name="code" type="xs:string" />
692
+ <xs:element name="message" type="xs:string" minOccurs="0" />
693
+ </xs:all>
694
+ </xs:complexType>
695
+
696
+ <xs:complexType name="MerchantCodeString">
697
+ <xs:attribute name="code" type="xs:string" use="required" />
698
+ </xs:complexType>
699
+
700
+ <xs:complexType name="CouponResult">
701
+ <xs:all>
702
+ <xs:element name="valid" type="xs:boolean" />
703
+ <xs:element name="calculated-amount" minOccurs="0">
704
+ <xs:complexType>
705
+ <xs:simpleContent>
706
+ <xs:restriction base="tns:Money">
707
+ <xs:minInclusive value="0.0" />
708
+ </xs:restriction>
709
+ </xs:simpleContent>
710
+ </xs:complexType>
711
+ </xs:element>
712
+ <xs:element name="code" type="xs:string" />
713
+ <xs:element name="message" type="xs:string" minOccurs="0" />
714
+ </xs:all>
715
+ </xs:complexType>
716
+
717
+ <xs:complexType name="GiftCertificateResult">
718
+ <xs:all>
719
+ <xs:element name="valid" type="xs:boolean" />
720
+ <xs:element name="calculated-amount" minOccurs="0">
721
+ <xs:complexType>
722
+ <xs:simpleContent>
723
+ <xs:restriction base="tns:Money">
724
+ <xs:minInclusive value="0.0" />
725
+ </xs:restriction>
726
+ </xs:simpleContent>
727
+ </xs:complexType>
728
+ </xs:element>
729
+ <xs:element name="code" type="xs:string" />
730
+ <xs:element name="message" type="xs:string" minOccurs="0" />
731
+ </xs:all>
732
+ </xs:complexType>
733
+
734
+ <xs:complexType name="Method">
735
+ <xs:attribute name="name" type="xs:string" use="required" />
736
+ </xs:complexType>
737
+
738
+ <xs:complexType name="AnonymousAddress">
739
+ <xs:all>
740
+ <xs:element name="country-code" type="xs:string" />
741
+ <xs:element name="region" type="xs:string" />
742
+ <xs:element name="city" type="xs:string" />
743
+ <xs:element name="postal-code" type="xs:string" />
744
+ </xs:all>
745
+ <xs:attribute name="id" type="xs:string" use="required" />
746
+ </xs:complexType>
747
+
748
+ <xs:complexType name="Calculate">
749
+ <xs:all>
750
+ <xs:element name="tax" type="xs:boolean" />
751
+ <xs:element name="shipping" minOccurs="0">
752
+ <xs:complexType>
753
+ <xs:sequence>
754
+ <xs:element name="method" type="tns:Method" minOccurs="0" maxOccurs="unbounded" />
755
+ </xs:sequence>
756
+ </xs:complexType>
757
+ </xs:element>
758
+ <xs:element name="merchant-code-strings" minOccurs="0">
759
+ <xs:complexType>
760
+ <xs:sequence>
761
+ <xs:element name="merchant-code-string" type="tns:MerchantCodeString" minOccurs="0" maxOccurs="unbounded" />
762
+ </xs:sequence>
763
+ </xs:complexType>
764
+ </xs:element>
765
+ <xs:element name="addresses" minOccurs="0">
766
+ <xs:complexType>
767
+ <xs:sequence>
768
+ <xs:element name="anonymous-address" type="tns:AnonymousAddress" minOccurs="0" maxOccurs="unbounded" />
769
+ </xs:sequence>
770
+ </xs:complexType>
771
+ </xs:element>
772
+ </xs:all>
773
+ </xs:complexType>
774
+
775
+ <xs:complexType name="MerchantCalculationCallback">
776
+ <xs:all>
777
+ <xs:element name="shopping-cart" type="tns:ShoppingCart" />
778
+ <xs:element name="buyer-id" type="xs:long" minOccurs="0" />
779
+ <xs:element name="buyer-language" type="xs:string" />
780
+ <xs:element name="calculate" type="tns:Calculate" />
781
+ </xs:all>
782
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
783
+ </xs:complexType>
784
+
785
+ <xs:complexType name="Result">
786
+ <xs:all>
787
+ <xs:element name="total-tax" minOccurs="0">
788
+ <xs:complexType>
789
+ <xs:simpleContent>
790
+ <xs:restriction base="tns:Money">
791
+ <xs:minInclusive value="0.0" />
792
+ </xs:restriction>
793
+ </xs:simpleContent>
794
+ </xs:complexType>
795
+ </xs:element>
796
+ <xs:element name="shipping-rate" minOccurs="0">
797
+ <xs:complexType>
798
+ <xs:simpleContent>
799
+ <xs:restriction base="tns:Money">
800
+ <xs:minInclusive value="0.0" />
801
+ </xs:restriction>
802
+ </xs:simpleContent>
803
+ </xs:complexType>
804
+ </xs:element>
805
+ <xs:element name="shippable" type="xs:boolean" minOccurs="0" />
806
+ <xs:element name="merchant-code-results" minOccurs="0">
807
+ <xs:complexType>
808
+ <xs:sequence>
809
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
810
+ <xs:element name="coupon-result" type="tns:CouponResult" />
811
+ <xs:element name="gift-certificate-result" type="tns:GiftCertificateResult" />
812
+ </xs:choice>
813
+ </xs:sequence>
814
+ </xs:complexType>
815
+ </xs:element>
816
+ </xs:all>
817
+ <xs:attribute name="shipping-name" type="xs:string" use="optional" />
818
+ <xs:attribute name="address-id" type="xs:string" use="required" />
819
+ </xs:complexType>
820
+
821
+ <xs:complexType name="MerchantCalculationResults">
822
+ <xs:all>
823
+ <xs:element name="results">
824
+ <xs:complexType>
825
+ <xs:sequence>
826
+ <xs:element name="result" type="tns:Result" minOccurs="0" maxOccurs="unbounded" />
827
+ </xs:sequence>
828
+ </xs:complexType>
829
+ </xs:element>
830
+ </xs:all>
831
+ </xs:complexType>
832
+
833
+ <xs:complexType name="ErrorResponse">
834
+ <xs:all>
835
+ <xs:element name="error-message" type="xs:string" />
836
+ <xs:element name="warning-messages" minOccurs="0">
837
+ <xs:complexType>
838
+ <xs:sequence>
839
+ <xs:element name="string" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
840
+ </xs:sequence>
841
+ </xs:complexType>
842
+ </xs:element>
843
+ </xs:all>
844
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
845
+ </xs:complexType>
846
+
847
+ <xs:complexType name="DiagnoseResponse">
848
+ <xs:all>
849
+ <xs:element name="input-xml" type="tns:anyType" />
850
+ <xs:element name="warnings" minOccurs="0">
851
+ <xs:complexType>
852
+ <xs:sequence>
853
+ <xs:element name="string" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
854
+ </xs:sequence>
855
+ </xs:complexType>
856
+ </xs:element>
857
+ </xs:all>
858
+ <xs:attribute name="serial-number" type="xs:string" use="required" />
859
+ </xs:complexType>
860
+
861
+ <xs:complexType name="OrderProcessingSupport">
862
+ <xs:all>
863
+ <xs:element name="request-initial-auth-details" type="xs:boolean" minOccurs="0" />
864
+ </xs:all>
865
+ </xs:complexType>
866
+
867
+ <xs:simpleType name="RoundingMode">
868
+ <xs:restriction base="xs:token">
869
+ <xs:enumeration value="UP" />
870
+ <xs:enumeration value="DOWN" />
871
+ <xs:enumeration value="CEILING" />
872
+ <xs:enumeration value="FLOOR" />
873
+ <xs:enumeration value="HALF_UP" />
874
+ <xs:enumeration value="HALF_DOWN" />
875
+ <xs:enumeration value="HALF_EVEN" />
876
+ <xs:enumeration value="UNNECESSARY" />
877
+ </xs:restriction>
878
+ </xs:simpleType>
879
+
880
+ <xs:simpleType name="RoundingRule">
881
+ <xs:restriction base="xs:token">
882
+ <xs:enumeration value="PER_LINE" />
883
+ <xs:enumeration value="TOTAL" />
884
+ </xs:restriction>
885
+ </xs:simpleType>
886
+
887
+ <xs:complexType name="anyMultiple" mixed="true">
888
+ <xs:sequence>
889
+ <xs:any namespace="##any" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
890
+ </xs:sequence>
891
+ </xs:complexType>
892
+
893
+ <xs:complexType name="Money">
894
+ <xs:simpleContent>
895
+ <xs:extension base="xs:decimal">
896
+ <xs:attribute name="currency" type="xs:token" use="required" />
897
+ </xs:extension>
898
+ </xs:simpleContent>
899
+ </xs:complexType>
900
+
901
+ <xs:simpleType name="USAreas">
902
+ <xs:restriction base="xs:token">
903
+ <xs:enumeration value="CONTINENTAL_48" />
904
+ <xs:enumeration value="FULL_50_STATES" />
905
+ <xs:enumeration value="ALL" />
906
+ </xs:restriction>
907
+ </xs:simpleType>
908
+
909
+ <xs:simpleType name="FulfillmentOrderState">
910
+ <xs:restriction base="xs:token">
911
+ <xs:enumeration value="NEW" />
912
+ <xs:enumeration value="PROCESSING" />
913
+ <xs:enumeration value="DELIVERED" />
914
+ <xs:enumeration value="WILL_NOT_DELIVER" />
915
+ </xs:restriction>
916
+ </xs:simpleType>
917
+
918
+ <xs:simpleType name="FinancialOrderState">
919
+ <xs:restriction base="xs:token">
920
+ <xs:enumeration value="REVIEWING" />
921
+ <xs:enumeration value="CHARGEABLE" />
922
+ <xs:enumeration value="CHARGING" />
923
+ <xs:enumeration value="CHARGED" />
924
+ <xs:enumeration value="PAYMENT_DECLINED" />
925
+ <xs:enumeration value="CANCELLED_BY_GOOGLE" />
926
+ <xs:enumeration value="CANCELLED" />
927
+ </xs:restriction>
928
+ </xs:simpleType>
929
+
930
+ <xs:complexType name="anyType">
931
+ <xs:sequence>
932
+ <xs:any namespace="##any" processContents="skip" />
933
+ </xs:sequence>
934
+ </xs:complexType>
935
+
936
+ <xs:element name="hello" type="tns:Hello" />
937
+
938
+ <xs:element name="bye" type="tns:Bye" />
939
+
940
+ <xs:element name="demo-failure" type="tns:DemoFailure" />
941
+
942
+ <xs:element name="checkout-shopping-cart" type="tns:CheckoutShoppingCart" />
943
+
944
+ <xs:element name="checkout-redirect" type="tns:CheckoutRedirect" />
945
+
946
+ <xs:element name="charge-order" type="tns:ChargeOrderRequest" />
947
+
948
+ <xs:element name="refund-order" type="tns:RefundOrderRequest" />
949
+
950
+ <xs:element name="cancel-order" type="tns:CancelOrderRequest" />
951
+
952
+ <xs:element name="authorize-order" type="tns:AuthorizeOrderRequest" />
953
+
954
+ <xs:element name="process-order" type="tns:ProcessOrderRequest" />
955
+
956
+ <xs:element name="deliver-order" type="tns:DeliverOrderRequest" />
957
+
958
+ <xs:element name="add-tracking-data" type="tns:AddTrackingDataRequest" />
959
+
960
+ <xs:element name="send-buyer-message" type="tns:SendBuyerMessageRequest" />
961
+
962
+ <xs:element name="archive-order" type="tns:ArchiveOrderRequest" />
963
+
964
+ <xs:element name="unarchive-order" type="tns:UnarchiveOrderRequest" />
965
+
966
+ <xs:element name="add-merchant-order-number" type="tns:AddMerchantOrderNumberRequest" />
967
+
968
+ <xs:element name="request-received" type="tns:RequestReceivedResponse" />
969
+
970
+ <xs:element name="new-order-notification" type="tns:NewOrderNotification" />
971
+
972
+ <xs:element name="order-state-change-notification" type="tns:OrderStateChangeNotification" />
973
+
974
+ <xs:element name="charge-amount-notification" type="tns:ChargeAmountNotification" />
975
+
976
+ <xs:element name="chargeback-amount-notification" type="tns:ChargebackAmountNotification" />
977
+
978
+ <xs:element name="refund-amount-notification" type="tns:RefundAmountNotification" />
979
+
980
+ <xs:element name="risk-information-notification" type="tns:RiskInformationNotification" />
981
+
982
+ <xs:element name="authorization-amount-notification" type="tns:AuthorizationAmountNotification" />
983
+
984
+ <xs:element name="notification-acknowledgment" type="tns:NotificationAcknowledgment" />
985
+
986
+ <xs:element name="buyer-marketing-preferences" type="tns:BuyerMarketingPreferences" />
987
+
988
+ <xs:element name="merchant-calculation-callback" type="tns:MerchantCalculationCallback" />
989
+
990
+ <xs:element name="merchant-calculation-results" type="tns:MerchantCalculationResults" />
991
+
992
+ <xs:element name="error" type="tns:ErrorResponse" />
993
+
994
+ <xs:element name="diagnosis" type="tns:DiagnoseResponse" />
995
+
996
+ </xs:schema>
997
+