active_zuora 1.3.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/.octopolo.yml +4 -0
  4. data/.soyuz.yml +13 -0
  5. data/.travis.yml +7 -0
  6. data/CHANGELOG.markdown +41 -0
  7. data/Gemfile +4 -0
  8. data/MIT-LICENSE +20 -0
  9. data/README.md +191 -0
  10. data/Rakefile +9 -53
  11. data/TODO.md +2 -0
  12. data/active_zuora.gemspec +25 -59
  13. data/lib/active_zuora.rb +44 -12
  14. data/lib/active_zuora/amend.rb +43 -0
  15. data/lib/active_zuora/base.rb +84 -0
  16. data/lib/active_zuora/batch_subscribe.rb +53 -0
  17. data/lib/active_zuora/belongs_to_associations.rb +56 -0
  18. data/lib/active_zuora/billing_preview.rb +49 -0
  19. data/lib/active_zuora/collection_proxy.rb +38 -0
  20. data/lib/active_zuora/connection.rb +47 -0
  21. data/lib/active_zuora/fields.rb +129 -0
  22. data/lib/active_zuora/fields/array_field_decorator.rb +28 -0
  23. data/lib/active_zuora/fields/boolean_field.rb +12 -0
  24. data/lib/active_zuora/fields/date_field.rb +18 -0
  25. data/lib/active_zuora/fields/date_time_field.rb +19 -0
  26. data/lib/active_zuora/fields/decimal_field.rb +12 -0
  27. data/lib/active_zuora/fields/field.rb +76 -0
  28. data/lib/active_zuora/fields/integer_field.rb +11 -0
  29. data/lib/active_zuora/fields/object_field.rb +31 -0
  30. data/lib/active_zuora/fields/string_field.rb +11 -0
  31. data/lib/active_zuora/generate.rb +43 -0
  32. data/lib/active_zuora/generator.rb +244 -0
  33. data/lib/active_zuora/has_many_associations.rb +37 -0
  34. data/lib/active_zuora/has_many_proxy.rb +50 -0
  35. data/lib/active_zuora/lazy_attr.rb +52 -0
  36. data/lib/active_zuora/persistence.rb +172 -0
  37. data/lib/active_zuora/relation.rb +260 -0
  38. data/lib/active_zuora/scoping.rb +50 -0
  39. data/lib/active_zuora/subscribe.rb +42 -0
  40. data/lib/active_zuora/version.rb +3 -0
  41. data/lib/active_zuora/z_object.rb +21 -0
  42. data/spec/account_integration_spec.rb +41 -0
  43. data/spec/base_spec.rb +39 -0
  44. data/spec/belongs_to_associations_spec.rb +35 -0
  45. data/spec/collection_proxy_spec.rb +28 -0
  46. data/spec/connection_spec.rb +66 -0
  47. data/spec/fields/date_field_spec.rb +35 -0
  48. data/spec/has_many_integration_spec.rb +53 -0
  49. data/spec/lazy_attr_spec.rb +22 -0
  50. data/spec/spec_helper.rb +34 -0
  51. data/spec/subscribe_integration_spec.rb +344 -0
  52. data/spec/zobject_integration_spec.rb +104 -0
  53. data/wsdl/zuora.wsdl +1548 -0
  54. metadata +141 -53
  55. data/LICENSE +0 -202
  56. data/README.rdoc +0 -15
  57. data/VERSION +0 -1
  58. data/custom_fields.yml +0 -17
  59. data/lib/zuora/ZUORA.rb +0 -1398
  60. data/lib/zuora/ZUORADriver.rb +0 -128
  61. data/lib/zuora/ZUORAMappingRegistry.rb +0 -1488
  62. data/lib/zuora/ZuoraServiceClient.rb +0 -124
  63. data/lib/zuora/account.rb +0 -4
  64. data/lib/zuora/api.rb +0 -18
  65. data/lib/zuora/contact.rb +0 -4
  66. data/lib/zuora/rate_plan.rb +0 -4
  67. data/lib/zuora/rate_plan_data.rb +0 -4
  68. data/lib/zuora/subscribe_options.rb +0 -4
  69. data/lib/zuora/subscribe_request.rb +0 -4
  70. data/lib/zuora/subscribe_with_existing_account_request.rb +0 -4
  71. data/lib/zuora/subscription.rb +0 -4
  72. data/lib/zuora/subscription_data.rb +0 -4
  73. data/lib/zuora/zobject.rb +0 -52
  74. data/lib/zuora_client.rb +0 -181
  75. data/lib/zuora_interface.rb +0 -199
@@ -0,0 +1,1548 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!-- Copyright Zuora, Inc. 2007 - 2010 All Rights Reserved. -->
4
+
5
+ <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
6
+ xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
7
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
8
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
9
+ xmlns:zns="http://api.zuora.com/"
10
+ xmlns:ons="http://object.api.zuora.com/"
11
+ xmlns:fns="http://fault.api.zuora.com/"
12
+ targetNamespace="http://api.zuora.com/">
13
+ <types>
14
+ <schema attributeFormDefault="qualified" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://object.api.zuora.com/">
15
+ <complexType name="zObject">
16
+ <sequence>
17
+ <element minOccurs="0" maxOccurs="unbounded" name="fieldsToNull" nillable="true" type="string" />
18
+ <element minOccurs="0" maxOccurs="1" name="Id" nillable="true" type="zns:ID" />
19
+ </sequence>
20
+ </complexType>
21
+
22
+
23
+ <complexType name="Account">
24
+ <complexContent>
25
+ <extension base="ons:zObject">
26
+ <sequence>
27
+ <element minOccurs="0" name="AccountNumber" nillable="true" type="string" />
28
+ <element minOccurs="0" name="AdditionalEmailAddresses" nillable="true" type="string" />
29
+ <element minOccurs="0" name="AllowInvoiceEdit" nillable="true" type="boolean" />
30
+ <element minOccurs="0" name="AutoPay" nillable="true" type="boolean" />
31
+ <element minOccurs="0" name="Balance" nillable="true" type="decimal" />
32
+ <element minOccurs="0" name="Batch" nillable="true" type="string" />
33
+ <element minOccurs="0" name="BcdSettingOption" nillable="true" type="string" />
34
+ <element minOccurs="0" name="BillCycleDay" type="int" />
35
+ <element minOccurs="0" name="BillToId" nillable="true" type="zns:ID" />
36
+ <element minOccurs="0" name="CommunicationProfileId" nillable="true" type="zns:ID" />
37
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
38
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
39
+ <element minOccurs="0" name="CreditBalance" nillable="true" type="decimal" />
40
+ <element minOccurs="0" name="CrmId" nillable="true" type="string" />
41
+ <element minOccurs="0" name="Currency" nillable="true" type="string" />
42
+ <element minOccurs="0" name="CustomerServiceRepName" nillable="true" type="string" />
43
+ <element minOccurs="0" name="DefaultPaymentMethodId" nillable="true" type="zns:ID" />
44
+ <element minOccurs="0" name="InvoiceDeliveryPrefsEmail" nillable="true" type="boolean" />
45
+ <element minOccurs="0" name="InvoiceDeliveryPrefsPrint" nillable="true" type="boolean" />
46
+ <element minOccurs="0" name="InvoiceTemplateId" nillable="true" type="zns:ID" />
47
+ <element minOccurs="0" name="LastInvoiceDate" nillable="true" type="dateTime" />
48
+ <element minOccurs="0" name="Name" nillable="true" type="string" />
49
+ <element minOccurs="0" name="Notes" nillable="true" type="string" />
50
+ <element minOccurs="0" name="ParentId" nillable="true" type="zns:ID" />
51
+ <element minOccurs="0" name="PaymentGateway" nillable="true" type="string" />
52
+ <element minOccurs="0" name="PaymentTerm" nillable="true" type="string" /><!-- user-defined enum -->
53
+ <element minOccurs="0" name="PurchaseOrderNumber" nillable="true" type="string" />
54
+ <element minOccurs="0" name="SalesRepName" nillable="true" type="string" />
55
+ <element minOccurs="0" name="SoldToId" nillable="true" type="zns:ID" />
56
+ <element minOccurs="0" name="Status" nillable="true" type="string" />
57
+ <element minOccurs="0" name="TotalInvoiceBalance" nillable="true" type="decimal" />
58
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
59
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
60
+ </sequence>
61
+ </extension>
62
+ </complexContent>
63
+ </complexType>
64
+
65
+ <complexType name="InvoiceAdjustment">
66
+ <complexContent>
67
+ <extension base="ons:zObject">
68
+ <sequence>
69
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
70
+ <element minOccurs="0" name="AccountingCode" nillable="true" type="string" />
71
+ <element minOccurs="0" name="AdjustmentDate" nillable="true" type="dateTime" />
72
+ <element minOccurs="0" name="AdjustmentNumber" nillable="true" type="string" />
73
+ <element minOccurs="0" name="Amount" nillable="true" type="decimal" />
74
+ <element minOccurs="0" name="CancelledById" nillable="true" type="zns:ID"/>
75
+ <element minOccurs="0" name="CancelledOn" nillable="true" type="dateTime"/>
76
+ <element minOccurs="0" name="Comments" nillable="true" type="string"/>
77
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
78
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
79
+ <element minOccurs="0" name="CustomerName" nillable="true" type="string" />
80
+ <element minOccurs="0" name="CustomerNumber" nillable="true" type="string" />
81
+ <element minOccurs="0" name="ImpactAmount" nillable="true" type="decimal"/>
82
+ <element minOccurs="0" name="InvoiceId" nillable="true" type="zns:ID" />
83
+ <element minOccurs="0" name="InvoiceNumber" nillable="true" type="string"/>
84
+ <element minOccurs="0" name="ReferenceId" nillable="true" type="string"/>
85
+ <element minOccurs="0" name="Status" nillable="true" type="string" />
86
+ <element minOccurs="0" name="TransferredToAccounting" nillable="true" type="string" />
87
+ <element minOccurs="0" name="Type" nillable="true" type="string"/>
88
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
89
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
90
+ </sequence>
91
+ </extension>
92
+ </complexContent>
93
+ </complexType>
94
+ <complexType name="InvoiceItemAdjustment" >
95
+ <complexContent>
96
+ <extension base="ons:zObject">
97
+ <sequence>
98
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
99
+ <element minOccurs="0" name="AccountingCode" nillable="true" type="string" />
100
+ <element minOccurs="0" name="AdjustmentDate" nillable="true" type="dateTime" />
101
+ <element minOccurs="0" name="AdjustmentNumber" nillable="true" type="string" />
102
+ <element minOccurs="0" name="Amount" nillable="true" type="decimal" />
103
+ <element minOccurs="0" name="CancelledById" nillable="true" type="zns:ID" />
104
+ <element minOccurs="0" name="CancelledDate" nillable="true" type="dateTime" />
105
+ <element minOccurs="0" name="Comment" nillable="true" type="string" />
106
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
107
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
108
+ <element minOccurs="0" name="CustomerName" nillable="true" type="string" />
109
+ <element minOccurs="0" name="CustomerNumber" nillable="true" type="string" />
110
+ <element minOccurs="0" name="InvoiceId" nillable="true" type="zns:ID" />
111
+ <element minOccurs="0" name="InvoiceItemName" nillable="true" type="string" />
112
+ <element minOccurs="0" name="InvoiceNumber" nillable="true" type="string" />
113
+ <element minOccurs="0" name="ReferenceId" nillable="true" type="string" />
114
+ <element minOccurs="0" name="ServiceEndDate" nillable="true" type="dateTime" />
115
+ <element minOccurs="0" name="ServiceStartDate" nillable="true" type="dateTime" />
116
+ <element minOccurs="0" name="SourceId" nillable="true" type="string" />
117
+ <element minOccurs="0" name="SourceType" nillable="true" type="string" />
118
+ <element minOccurs="0" name="Status" nillable="true" type="string" />
119
+ <element minOccurs="0" name="TransferredToAccounting" nillable="true" type="string" />
120
+ <element minOccurs="0" name="Type" nillable="true" type="string" />
121
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
122
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
123
+ </sequence>
124
+ </extension>
125
+ </complexContent>
126
+ </complexType>
127
+
128
+ <complexType name="Amendment">
129
+ <complexContent>
130
+ <extension base="ons:zObject">
131
+ <sequence>
132
+ <element minOccurs="0" name="AutoRenew" nillable="true" type="boolean" />
133
+ <element minOccurs="0" name="Code" nillable="true" type="string" />
134
+ <element minOccurs="0" name="ContractEffectiveDate" nillable="true" type="dateTime" />
135
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
136
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
137
+ <element minOccurs="0" name="CustomerAcceptanceDate" nillable="true" type="dateTime" />
138
+ <element minOccurs="0" name="Description" nillable="true" type="string" />
139
+ <element minOccurs="0" name="DestinationAccountId" nillable="true" type="zns:ID" />
140
+ <element minOccurs="0" name="DestinationInvoiceOwnerId" nillable="true" type="zns:ID" />
141
+ <element minOccurs="0" name="EffectiveDate" nillable="true" type="dateTime" />
142
+ <element minOccurs="0" name="InitialTerm" nillable="true" type="long" />
143
+ <element minOccurs="0" name="Name" nillable="true" type="string" />
144
+ <element minOccurs="0" name="RatePlanData" nillable="true" type="zns:RatePlanData" />
145
+ <element minOccurs="0" name="RenewalTerm" nillable="true" type="long" />
146
+ <element minOccurs="0" name="ServiceActivationDate" nillable="true" type="dateTime" />
147
+ <element minOccurs="0" name="Status" nillable="true" type="string" />
148
+ <element minOccurs="0" name="SubscriptionId" nillable="true" type="zns:ID" />
149
+ <element minOccurs="0" name="TermStartDate" nillable="true" type="dateTime" />
150
+ <element minOccurs="0" name="TermType" nillable="true" type="string" />
151
+ <element minOccurs="0" name="Type" nillable="true" type="string" />
152
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
153
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
154
+ </sequence>
155
+ </extension>
156
+ </complexContent>
157
+ </complexType>
158
+ <complexType name="Contact">
159
+ <complexContent>
160
+ <extension base="ons:zObject">
161
+ <sequence>
162
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
163
+ <element minOccurs="0" name="Address1" nillable="true" type="string" />
164
+ <element minOccurs="0" name="Address2" nillable="true" type="string" />
165
+ <element minOccurs="0" name="City" nillable="true" type="string" />
166
+ <element minOccurs="0" name="Country" nillable="true" type="string" />
167
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
168
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
169
+ <element minOccurs="0" name="Fax" nillable="true" type="string" />
170
+ <element minOccurs="0" name="FirstName" nillable="true" type="string" />
171
+ <element minOccurs="0" name="HomePhone" nillable="true" type="string" />
172
+ <element minOccurs="0" name="LastName" nillable="true" type="string" />
173
+ <element minOccurs="0" name="MobilePhone" nillable="true" type="string" />
174
+ <element minOccurs="0" name="NickName" nillable="true" type="string" />
175
+ <element minOccurs="0" name="OtherPhone" nillable="true" type="string" />
176
+ <element minOccurs="0" name="OtherPhoneType" nillable="true" type="string" />
177
+ <element minOccurs="0" name="PersonalEmail" nillable="true" type="string" />
178
+ <element minOccurs="0" name="PostalCode" nillable="true" type="string" />
179
+ <element minOccurs="0" name="State" nillable="true" type="string" />
180
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
181
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
182
+ <element minOccurs="0" name="WorkEmail" nillable="true" type="string" />
183
+ <element minOccurs="0" name="WorkPhone" nillable="true" type="string" />
184
+ </sequence>
185
+ </extension>
186
+ </complexContent>
187
+ </complexType>
188
+ <complexType name="Invoice" >
189
+ <complexContent>
190
+ <extension base="ons:zObject">
191
+ <sequence>
192
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
193
+ <element minOccurs="0" name="AdjustmentAmount" nillable="true" type="decimal" />
194
+ <element minOccurs="0" name="Amount" nillable="true" type="decimal" />
195
+ <element minOccurs="0" name="Balance" nillable="true" type="decimal" />
196
+ <element minOccurs="0" name="Body" nillable="true" type="string" />
197
+ <element minOccurs="0" name="Comments" nillable="true" type="string" />
198
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
199
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
200
+ <element minOccurs="0" name="DueDate" nillable="true" type="dateTime" />
201
+ <element minOccurs="0" name="IncludesOneTime" nillable="true" type="boolean" />
202
+ <element minOccurs="0" name="IncludesRecurring" nillable="true" type="boolean" />
203
+ <element minOccurs="0" name="IncludesUsage" nillable="true" type="boolean" />
204
+ <element minOccurs="0" name="InvoiceDate" nillable="true" type="dateTime" />
205
+ <element minOccurs="0" name="InvoiceNumber" nillable="true" type="string" />
206
+ <element minOccurs="0" name="LastEmailSentDate" nillable="true" type="dateTime" />
207
+ <element minOccurs="0" name="PaymentAmount" nillable="true" type="decimal" />
208
+ <element minOccurs="0" name="PostedBy" nillable="true" type="zns:ID" />
209
+ <element minOccurs="0" name="PostedDate" nillable="true" type="dateTime" />
210
+ <element minOccurs="0" name="RefundAmount" nillable="true" type="decimal" />
211
+ <element minOccurs="0" name="Status" nillable="true" type="string" />
212
+ <element minOccurs="0" name="TargetDate" nillable="true" type="dateTime" />
213
+ <element minOccurs="0" name="TransferredToAccounting" nillable="true" type="string" />
214
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
215
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
216
+ </sequence>
217
+ </extension>
218
+ </complexContent>
219
+ </complexType>
220
+ <complexType name="Refund">
221
+ <complexContent>
222
+ <extension base="ons:zObject">
223
+ <sequence>
224
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
225
+ <element minOccurs="0" name="AccountingCode" nillable="true" type="string" />
226
+ <element minOccurs="0" name="Amount" nillable="true" type="decimal" />
227
+ <element minOccurs="0" name="CancelledOn" nillable="true" type="dateTime" />
228
+ <element minOccurs="0" name="Comment" nillable="true" type="string" />
229
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
230
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
231
+ <element minOccurs="0" name="Gateway" nillable="true" type="string" />
232
+ <element minOccurs="0" name="GatewayOptionData" nillable="true" type="zns:GatewayOptionData" />
233
+ <element minOccurs="0" name="GatewayResponse" nillable="true" type="string" />
234
+ <element minOccurs="0" name="GatewayResponseCode" nillable="true" type="string" />
235
+ <element minOccurs="0" name="GatewayState" nillable="true" type="string" />
236
+ <element minOccurs="0" name="MarkedForSubmissionOn" nillable="true" type="dateTime" />
237
+ <element minOccurs="0" name="MethodType" nillable="true" type="string" />
238
+ <element minOccurs="0" name="PaymentId" nillable="true" type="zns:ID" />
239
+ <element minOccurs="0" name="PaymentMethodId" nillable="true" type="zns:ID" />
240
+ <element minOccurs="0" name="ReferenceID" nillable="true" type="string" />
241
+ <element minOccurs="0" name="RefundDate" nillable="true" type="dateTime" />
242
+ <element minOccurs="0" name="RefundNumber" nillable="true" type="string" />
243
+ <element minOccurs="0" name="RefundTransactionTime" nillable="true" type="dateTime" />
244
+ <element minOccurs="0" name="SettledOn" nillable="true" type="dateTime" />
245
+ <element minOccurs="0" name="SourceType" nillable="true" type="string" />
246
+ <element minOccurs="0" name="Status" nillable="true" type="string" />
247
+ <element minOccurs="0" name="SubmittedOn" nillable="true" type="dateTime" />
248
+ <element minOccurs="0" name="TransferredToAccounting" nillable="true" type="string" />
249
+ <element minOccurs="0" name="Type" nillable="true" type="string" />
250
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
251
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
252
+ </sequence>
253
+ </extension>
254
+ </complexContent>
255
+ </complexType>
256
+ <complexType name="RefundInvoicePayment">
257
+ <complexContent>
258
+ <extension base="ons:zObject">
259
+ <sequence>
260
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
261
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
262
+ <element minOccurs="0" name="InvoicePaymentId" nillable="true" type="zns:ID" />
263
+ <element minOccurs="0" name="RefundAmount" nillable="true" type="decimal" />
264
+ <element minOccurs="0" name="RefundId" nillable="true" type="zns:ID" />
265
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
266
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
267
+ </sequence>
268
+ </extension>
269
+ </complexContent>
270
+ </complexType>
271
+ <complexType name="RefundTransactionLog">
272
+ <complexContent>
273
+ <extension base="ons:zObject">
274
+ <sequence>
275
+ <element minOccurs="0" name="BatchId" nillable="true" type="string" />
276
+ <element minOccurs="0" name="GatewayReasonCode" nillable="true" type="string"/>
277
+ <element minOccurs="0" name="GatewayReasonCodeDescription" nillable="true" type="string"/>
278
+ <element minOccurs="0" name="GatewayState" nillable="true" type="string" />
279
+ <element minOccurs="0" name="GatewayTransactionType" nillable="true" type="string" />
280
+ <element minOccurs="0" name="RefundId" nillable="true" type="zns:ID" />
281
+ <element minOccurs="0" name="RequestString" nillable="true" type="string"/>
282
+ <element minOccurs="0" name="ResponseString" nillable="true" type="string"/>
283
+ <element minOccurs="0" name="TransactionDate" nillable="true" type="dateTime" />
284
+ <element minOccurs="0" name="TransactionId" nillable="true" type="string"/>
285
+ </sequence>
286
+ </extension>
287
+ </complexContent>
288
+ </complexType>
289
+ <complexType name="InvoiceItem">
290
+ <complexContent>
291
+ <extension base="ons:zObject">
292
+ <sequence>
293
+ <element minOccurs="0" name="AccountingCode" nillable="true" type="string" />
294
+ <element minOccurs="0" name="ChargeAmount" nillable="true" type="decimal" />
295
+ <element minOccurs="0" name="ChargeDate" nillable="true" type="dateTime" />
296
+ <element minOccurs="0" name="ChargeDescription" nillable="true" type="string" />
297
+ <element minOccurs="0" name="ChargeName" nillable="true" type="string" />
298
+ <element minOccurs="0" name="ChargeNumber" nillable="true" type="string" />
299
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
300
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
301
+ <element minOccurs="0" name="InvoiceId" nillable="true" type="zns:ID" />
302
+ <element minOccurs="0" name="ProcessingType" nillable="true" type="decimal"/>
303
+ <element minOccurs="0" name="ProductDescription" nillable="true" type="string" />
304
+ <element minOccurs="0" name="ProductId" nillable="true" type="zns:ID" />
305
+ <element minOccurs="0" name="ProductName" nillable="true" type="string" />
306
+ <element minOccurs="0" name="Quantity" nillable="true" type="decimal" />
307
+ <element minOccurs="0" name="RatePlanChargeId" nillable="true" type="zns:ID" />
308
+ <element minOccurs="0" name="RevRecCode" nillable="true" type="string" />
309
+ <element minOccurs="0" name="RevRecStartDate" nillable="true" type="dateTime" />
310
+ <element minOccurs="0" name="RevRecTriggerCondition" nillable="true" type="string" />
311
+ <element minOccurs="0" name="ServiceEndDate" nillable="true" type="dateTime" />
312
+ <element minOccurs="0" name="ServiceStartDate" nillable="true" type="dateTime" />
313
+ <element minOccurs="0" name="SKU" nillable="true" type="string" />
314
+ <element minOccurs="0" name="SubscriptionId" nillable="true" type="zns:ID" />
315
+ <element minOccurs="0" name="SubscriptionNumber" nillable="true" type="string" />
316
+ <element minOccurs="0" name="UnitPrice" nillable="true" type="decimal" />
317
+ <element minOccurs="0" name="UOM" nillable="true" type="string" />
318
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
319
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
320
+ </sequence>
321
+ </extension>
322
+ </complexContent>
323
+ </complexType>
324
+ <complexType name="InvoicePayment">
325
+ <complexContent>
326
+ <extension base="ons:zObject">
327
+ <sequence>
328
+ <element minOccurs="0" name="Amount" nillable="true" type="decimal" />
329
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
330
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
331
+ <element minOccurs="0" name="InvoiceId" nillable="true" type="zns:ID" />
332
+ <element minOccurs="0" name="PaymentId" nillable="true" type="zns:ID" />
333
+ <element minOccurs="0" name="RefundAmount" nillable="true" type="decimal" />
334
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
335
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
336
+ </sequence>
337
+ </extension>
338
+ </complexContent>
339
+ </complexType>
340
+ <complexType name="Payment">
341
+ <complexContent>
342
+ <extension base="ons:zObject">
343
+ <sequence>
344
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
345
+ <element minOccurs="0" name="AccountingCode" nillable="true" type="string" />
346
+ <element minOccurs="0" name="Amount" nillable="true" type="decimal" />
347
+ <element minOccurs="0" name="AppliedCreditBalanceAmount" nillable="true" type="decimal" />
348
+ <element minOccurs="0" name="AppliedInvoiceAmount" nillable="true" type="decimal" />
349
+ <element minOccurs="0" name="AuthTransactionId" nillable="true" type="string" />
350
+ <element minOccurs="0" name="BankIdentificationNumber" nillable="true" type="string" />
351
+ <element minOccurs="0" name="CancelledOn" nillable="true" type="dateTime"/>
352
+ <element minOccurs="0" name="Comment" nillable="true" type="string" />
353
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
354
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
355
+ <element minOccurs="0" name="EffectiveDate" nillable="true" type="dateTime" />
356
+ <element minOccurs="0" name="GatewayOptionData" nillable="true" type="zns:GatewayOptionData" />
357
+ <element minOccurs="0" name="GatewayOrderId" nillable="true" type="string" />
358
+ <element minOccurs="0" name="GatewayResponse" nillable="true" type="string" />
359
+ <element minOccurs="0" name="GatewayResponseCode" nillable="true" type="string" />
360
+ <element minOccurs="0" name="GatewayState" nillable="true" type="string" />
361
+ <element minOccurs="0" name="InvoiceId" nillable="true" type="zns:ID" />
362
+ <element minOccurs="0" name="InvoiceNumber" nillable="true" type="string" />
363
+ <element minOccurs="0" name="MarkedForSubmissionOn" nillable="true" type="dateTime" />
364
+ <element minOccurs="0" name="PaymentMethodId" nillable="true" type="zns:ID" />
365
+ <element minOccurs="0" name="PaymentNumber" nillable="true" type="string" />
366
+ <element minOccurs="0" name="ReferenceId" nillable="true" type="string" />
367
+ <element minOccurs="0" name="RefundAmount" nillable="true" type="decimal" />
368
+ <element minOccurs="0" name="SecondPaymentReferenceId" nillable="true" type="string" />
369
+ <element minOccurs="0" name="SettledOn" nillable="true" type="dateTime" />
370
+ <element minOccurs="0" name="Status" nillable="true" type="string" />
371
+ <element minOccurs="0" name="SubmittedOn" nillable="true" type="dateTime" />
372
+ <element minOccurs="0" name="TransferredToAccounting" nillable="true" type="string" />
373
+ <element minOccurs="0" name="Type" nillable="true" type="string" />
374
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
375
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
376
+ </sequence>
377
+ </extension>
378
+ </complexContent>
379
+ </complexType>
380
+ <complexType name="PaymentTransactionLog">
381
+ <complexContent>
382
+ <extension base="ons:zObject">
383
+ <sequence>
384
+ <element minOccurs="0" name="AVSResponseCode" nillable="true" type="string"/>
385
+ <element minOccurs="0" name="BatchId" nillable="true" type="string" />
386
+ <element minOccurs="0" name="CVVResponseCode" nillable="true" type="string"/>
387
+ <element minOccurs="0" name="GatewayReasonCode" nillable="true" type="string"/>
388
+ <element minOccurs="0" name="GatewayReasonCodeDescription" nillable="true" type="string"/>
389
+ <element minOccurs="0" name="GatewayState" nillable="true" type="string" />
390
+ <element minOccurs="0" name="GatewayTransactionType" nillable="true" type="string"/>
391
+ <element minOccurs="0" name="PaymentId" nillable="true" type="zns:ID"/>
392
+ <element minOccurs="0" name="RequestString" nillable="true" type="string"/>
393
+ <element minOccurs="0" name="ResponseString" nillable="true" type="string"/>
394
+ <element minOccurs="0" name="TransactionDate" nillable="true" type="dateTime" />
395
+ <element minOccurs="0" name="TransactionId" nillable="true" type="string"/>
396
+ </sequence>
397
+ </extension>
398
+ </complexContent>
399
+ </complexType>
400
+ <complexType name="PaymentMethod">
401
+ <complexContent>
402
+ <extension base="ons:zObject">
403
+ <sequence>
404
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
405
+ <element minOccurs="0" name="AchAbaCode" nillable="true" type="string" />
406
+ <element minOccurs="0" name="AchAccountName" nillable="true" type="string" />
407
+ <element minOccurs="0" name="AchAccountNumber" nillable="true" type="string" />
408
+ <element minOccurs="0" name="AchAccountNumberMask" nillable="true" type="string" />
409
+ <element minOccurs="0" name="AchAccountType" nillable="true" type="string" />
410
+ <element minOccurs="0" name="AchBankName" nillable="true" type="string" />
411
+ <element minOccurs="0" name="Active" nillable="true" type="boolean" />
412
+ <element minOccurs="0" name="BankIdentificationNumber" nillable="true" type="string" />
413
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
414
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
415
+ <element minOccurs="0" name="CreditCardAddress1" nillable="true" type="string" />
416
+ <element minOccurs="0" name="CreditCardAddress2" nillable="true" type="string" />
417
+ <element minOccurs="0" name="CreditCardCity" nillable="true" type="string" />
418
+ <element minOccurs="0" name="CreditCardCountry" nillable="true" type="string" />
419
+ <element minOccurs="0" name="CreditCardExpirationMonth" nillable="true" type="int" />
420
+ <element minOccurs="0" name="CreditCardExpirationYear" nillable="true" type="int" />
421
+ <element minOccurs="0" name="CreditCardHolderName" nillable="true" type="string" />
422
+ <element minOccurs="0" name="CreditCardMaskNumber" nillable="true" type="string" />
423
+ <element minOccurs="0" name="CreditCardNumber" nillable="true" type="string" />
424
+ <element minOccurs="0" name="CreditCardPostalCode" nillable="true" type="string" />
425
+ <element minOccurs="0" name="CreditCardSecurityCode" nillable="true" type="string" />
426
+ <element minOccurs="0" name="CreditCardState" nillable="true" type="string" />
427
+ <element minOccurs="0" name="CreditCardType" nillable="true" type="string" />
428
+ <element minOccurs="0" name="DeviceSessionId" nillable="true" type="string" />
429
+ <element minOccurs="0" name="Email" nillable="true" type="string" />
430
+ <element minOccurs="0" name="GatewayOptionData" nillable="true" type="zns:GatewayOptionData" />
431
+ <element minOccurs="0" name="IPAddress" nillable="true" type="string" />
432
+ <element minOccurs="0" name="LastFailedSaleTransactionDate" nillable="true" type="dateTime" />
433
+ <element minOccurs="0" name="LastTransactionDateTime" nillable="true" type="dateTime" />
434
+ <element minOccurs="0" name="LastTransactionStatus" nillable="true" type="string" />
435
+ <element minOccurs="0" name="MaxConsecutivePaymentFailures" nillable="true" type="short" />
436
+ <element minOccurs="0" name="Name" nillable="true" type="string" />
437
+ <element minOccurs="0" name="NumConsecutiveFailures" nillable="true" type="int" />
438
+ <element minOccurs="0" name="PaymentMethodStatus" nillable="true" type="string"/>
439
+ <element minOccurs="0" name="PaymentRetryWindow" nillable="true" type="short" />
440
+ <element minOccurs="0" name="PaypalBaid" nillable="true" type="string" />
441
+ <element minOccurs="0" name="PaypalEmail" nillable="true" type="string" />
442
+ <element minOccurs="0" name="PaypalPreapprovalKey" nillable="true" type="string" />
443
+ <element minOccurs="0" name="PaypalType" nillable="true" type="string" />
444
+ <element minOccurs="0" name="Phone" nillable="true" type="string" />
445
+ <element minOccurs="0" name="SkipValidation" nillable="true" type="boolean" />
446
+ <element minOccurs="0" name="TotalNumberOfErrorPayments" nillable="true" type="int"/>
447
+ <element minOccurs="0" name="TotalNumberOfProcessedPayments" nillable="true" type="int"/>
448
+ <element minOccurs="0" name="Type" nillable="true" type="string" />
449
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
450
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
451
+ <element minOccurs="0" name="UseDefaultRetryRule" nillable="true" type="boolean" />
452
+ </sequence>
453
+ </extension>
454
+ </complexContent>
455
+ </complexType>
456
+ <complexType name="Product">
457
+ <complexContent>
458
+ <extension base="ons:zObject">
459
+ <sequence>
460
+ <element minOccurs="0" name="Category" nillable="true" type="string" />
461
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
462
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
463
+ <element minOccurs="0" name="Description" nillable="true" type="string" />
464
+ <element minOccurs="0" name="EffectiveEndDate" nillable="true" type="dateTime" />
465
+ <element minOccurs="0" name="EffectiveStartDate" nillable="true" type="dateTime" />
466
+ <element minOccurs="0" name="Name" nillable="true" type="string" />
467
+ <element minOccurs="0" name="SKU" nillable="true" type="string" />
468
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
469
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
470
+ </sequence>
471
+ </extension>
472
+ </complexContent>
473
+ </complexType>
474
+ <complexType name="ProductRatePlan">
475
+ <complexContent>
476
+ <extension base="ons:zObject">
477
+ <sequence>
478
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
479
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
480
+ <element minOccurs="0" name="Description" nillable="true" type="string" />
481
+ <element minOccurs="0" name="EffectiveEndDate" nillable="true" type="dateTime" />
482
+ <element minOccurs="0" name="EffectiveStartDate" nillable="true" type="dateTime" />
483
+ <element minOccurs="0" name="Name" nillable="true" type="string" />
484
+ <element minOccurs="0" name="ProductId" nillable="true" type="zns:ID" />
485
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
486
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
487
+ </sequence>
488
+ </extension>
489
+ </complexContent>
490
+ </complexType>
491
+ <complexType name="ProductRatePlanCharge">
492
+ <complexContent>
493
+ <extension base="ons:zObject">
494
+ <sequence>
495
+ <element minOccurs="0" name="AccountingCode" nillable="true" type="string" />
496
+ <element minOccurs="0" name="BillCycleDay" nillable="true" type="int" />
497
+ <element minOccurs="0" name="BillCycleType" nillable="true" type="string" />
498
+ <element minOccurs="0" name="BillingPeriod" nillable="true" type="string" />
499
+ <element minOccurs="0" name="BillingPeriodAlignment" nillable="true" type="string" />
500
+ <element minOccurs="0" name="ChargeModel" nillable="true" type="string" />
501
+ <element minOccurs="0" name="ChargeType" nillable="true" type="string" />
502
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
503
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
504
+ <element minOccurs="0" name="DefaultQuantity" nillable="true" type="decimal" />
505
+ <element minOccurs="0" name="Description" nillable="true" type="string" />
506
+ <element minOccurs="0" name="IncludedUnits" nillable="true" type="decimal" />
507
+ <element minOccurs="0" name="MaxQuantity" nillable="true" type="decimal" />
508
+ <element minOccurs="0" name="MinQuantity" nillable="true" type="decimal" />
509
+ <element minOccurs="0" name="Name" nillable="true" type="string" />
510
+ <element minOccurs="0" name="NumberOfPeriod" nillable="true" type="long" />
511
+ <element minOccurs="0" name="OverageCalculationOption" nillable="true" type="string" />
512
+ <element minOccurs="0" name="OverageUnusedUnitsCreditOption" nillable="true" type="string" />
513
+ <element minOccurs="0" name="PriceIncreaseOption" nillable="true" type="string" />
514
+ <element minOccurs="0" name="PriceIncreasePercentage" nillable="true" type="decimal" />
515
+ <element minOccurs="0" name="ProductRatePlanChargeTierData" nillable="true" type="zns:ProductRatePlanChargeTierData" />
516
+ <element minOccurs="0" name="ProductRatePlanId" nillable="true" type="zns:ID" />
517
+ <element minOccurs="0" name="RevRecCode" nillable="true" type="string" />
518
+ <element minOccurs="0" name="RevRecTriggerCondition" nillable="true" type="string" />
519
+ <element minOccurs="0" name="SmoothingModel" nillable="true" type="string" />
520
+ <element minOccurs="0" name="SpecificBillingPeriod" nillable="true" type="long" />
521
+ <element minOccurs="0" name="TriggerEvent" nillable="true" type="string" />
522
+ <element minOccurs="0" name="UOM" nillable="true" type="string" />
523
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
524
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
525
+ <element minOccurs="0" name="UseDiscountSpecificAccountingCode" nillable="true" type="boolean" />
526
+ </sequence>
527
+ </extension>
528
+ </complexContent>
529
+ </complexType>
530
+ <complexType name="ProductRatePlanChargeTier">
531
+ <complexContent>
532
+ <extension base="ons:zObject">
533
+ <sequence>
534
+ <element minOccurs="0" name="Active" nillable="true" type="boolean" />
535
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
536
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
537
+ <element minOccurs="0" name="Currency" nillable="true" type="string" />
538
+ <element minOccurs="0" name="EndingUnit" nillable="true" type="decimal" />
539
+ <element minOccurs="0" name="IsOveragePrice" nillable="true" type="boolean" />
540
+ <element minOccurs="0" name="Price" nillable="true" type="decimal" />
541
+ <element minOccurs="0" name="PriceFormat" nillable="true" type="string" />
542
+ <element minOccurs="0" name="ProductRatePlanChargeId" nillable="true" type="zns:ID" />
543
+ <element minOccurs="0" name="StartingUnit" nillable="true" type="decimal" />
544
+ <element minOccurs="0" name="Tier" nillable="true" type="int" />
545
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
546
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
547
+ </sequence>
548
+ </extension>
549
+ </complexContent>
550
+ </complexType>
551
+ <complexType name="GatewayOption" >
552
+ <complexContent>
553
+ <extension base="ons:zObject">
554
+ <sequence>
555
+ <element minOccurs="0" name="name" nillable="true" type="string" />
556
+ <element minOccurs="0" name="value" nillable="true" type="string" />
557
+ </sequence>
558
+ </extension>
559
+ </complexContent>
560
+ </complexType>
561
+ <complexType name="RatePlan">
562
+ <complexContent>
563
+ <extension base="ons:zObject">
564
+ <sequence>
565
+ <element minOccurs="0" name="AmendmentId" nillable="true" type="zns:ID" />
566
+ <element minOccurs="0" name="AmendmentSubscriptionRatePlanId" nillable="true" type="zns:ID" />
567
+ <element minOccurs="0" name="AmendmentType" nillable="true" type="string" />
568
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
569
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
570
+ <element minOccurs="0" name="Name" nillable="true" type="string" /><!-- do we need this? -->
571
+ <element minOccurs="0" name="ProductRatePlanId" nillable="true" type="zns:ID" />
572
+ <element minOccurs="0" name="SubscriptionId" nillable="true" type="zns:ID" />
573
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
574
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
575
+ </sequence>
576
+ </extension>
577
+ </complexContent>
578
+ </complexType>
579
+ <complexType name="RatePlanCharge">
580
+ <complexContent>
581
+ <extension base="ons:zObject">
582
+ <sequence>
583
+ <element minOccurs="0" name="AccountingCode" nillable="true" type="string" />
584
+ <element minOccurs="0" name="ApplyDiscountTo" nillable="true" type="string" />
585
+ <element minOccurs="0" name="BillCycleDay" nillable="true" type="int" />
586
+ <element minOccurs="0" name="BillCycleType" nillable="true" type="string" />
587
+ <element minOccurs="0" name="BillingPeriodAlignment" nillable="true" type="string" />
588
+ <element minOccurs="0" name="ChargedThroughDate" nillable="true" type="dateTime" />
589
+ <element minOccurs="0" name="ChargeModel" nillable="true" type="string" />
590
+ <element minOccurs="0" name="ChargeNumber" nillable="true" type="string" />
591
+ <element minOccurs="0" name="ChargeType" nillable="true" type="string" />
592
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
593
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
594
+ <element minOccurs="0" name="Description" nillable="true" type="string" />
595
+ <element minOccurs="0" name="DiscountAmount" nillable="true" type="decimal" />
596
+ <element minOccurs="0" name="DiscountLevel" nillable="true" type="string" />
597
+ <element minOccurs="0" name="DiscountPercentage" nillable="true" type="decimal" />
598
+ <element minOccurs="0" name="DMRC" nillable="true" type="decimal" />
599
+ <element minOccurs="0" name="DTCV" nillable="true" type="decimal" />
600
+ <element minOccurs="0" name="EffectiveEndDate" nillable="true" type="dateTime" />
601
+ <element minOccurs="0" name="EffectiveStartDate" nillable="true" type="dateTime" />
602
+ <element minOccurs="0" name="IncludedUnits" nillable="true" type="decimal" />
603
+ <element minOccurs="0" name="IsLastSegment" nillable="true" type="boolean" />
604
+ <element minOccurs="0" name="MRR" nillable="true" type="decimal" />
605
+ <element minOccurs="0" name="Name" nillable="true" type="string" />
606
+ <element minOccurs="0" name="NumberOfPeriods" nillable="true" type="long" />
607
+ <element minOccurs="0" name="OriginalId" nillable="true" type="zns:ID" />
608
+ <element minOccurs="0" name="OverageCalculationOption" nillable="true" type="string" />
609
+ <element minOccurs="0" name="OveragePrice" nillable="true" type="decimal" />
610
+ <element minOccurs="0" name="OverageUnusedUnitsCreditOption" nillable="true" type="string" />
611
+ <element minOccurs="0" name="Price" nillable="true" type="decimal" />
612
+ <element minOccurs="0" name="PriceIncreasePercentage" nillable="true" type="decimal" />
613
+ <element minOccurs="0" name="ProcessedThroughDate" nillable="true" type="dateTime" />
614
+ <element minOccurs="0" name="ProductRatePlanChargeId" nillable="true" type="zns:ID" />
615
+ <element minOccurs="0" name="Quantity" nillable="true" type="decimal" />
616
+ <element minOccurs="0" name="RatePlanId" nillable="true" type="zns:ID" />
617
+ <element minOccurs="0" name="RolloverBalance" nillable="true" type="decimal" />
618
+ <element minOccurs="0" name="Segment" nillable="true" type="int" />
619
+ <element minOccurs="0" name="TCV" nillable="true" type="decimal" />
620
+ <element minOccurs="0" name="TriggerDate" nillable="true" type="dateTime" />
621
+ <element minOccurs="0" name="TriggerEvent" nillable="true" type="string" />
622
+ <element minOccurs="0" name="UnusedUnitsCreditRates" nillable="true" type="decimal" />
623
+ <element minOccurs="0" name="UOM" nillable="true" type="string" />
624
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
625
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
626
+ <element minOccurs="0" name="UpToPeriods" nillable="true" type="long" />
627
+ <element minOccurs="0" name="UsageRecordRatingOption" nillable="true" type="string" />
628
+ <element minOccurs="0" name="UseDiscountSpecificAccountingCode" nillable="true" type="boolean" />
629
+ <element minOccurs="0" name="Version" nillable="true" type="long" />
630
+ </sequence>
631
+ </extension>
632
+ </complexContent>
633
+ </complexType>
634
+ <complexType name="RatePlanChargeTier">
635
+ <complexContent>
636
+ <extension base="ons:zObject">
637
+ <sequence>
638
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
639
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
640
+ <element minOccurs="0" name="EndingUnit" nillable="true" type="decimal" />
641
+ <element minOccurs="0" name="IsOveragePrice" nillable="true" type="boolean" />
642
+ <element minOccurs="0" name="Price" nillable="true" type="decimal" />
643
+ <element minOccurs="0" name="PriceFormat" nillable="true" type="string" />
644
+ <element minOccurs="0" name="RatePlanChargeId" nillable="true" type="zns:ID" />
645
+ <element minOccurs="0" name="StartingUnit" nillable="true" type="decimal" />
646
+ <element minOccurs="0" name="Tier" nillable="true" type="int" />
647
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
648
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
649
+ </sequence>
650
+ </extension>
651
+ </complexContent>
652
+ </complexType>
653
+ <complexType name="Subscription">
654
+ <complexContent>
655
+ <extension base="ons:zObject">
656
+ <sequence>
657
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
658
+ <element minOccurs="0" name="AncestorAccountId" nillable="true" type="zns:ID" />
659
+ <element minOccurs="0" name="AutoRenew" nillable="true" type="boolean" />
660
+ <element minOccurs="0" name="CancelledDate" nillable="true" type="dateTime" />
661
+ <element minOccurs="0" name="ContractAcceptanceDate" nillable="true" type="dateTime" />
662
+ <element minOccurs="0" name="ContractEffectiveDate" nillable="true" type="dateTime" />
663
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
664
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
665
+ <element minOccurs="0" name="CreatorAccountId" nillable="true" type="zns:ID" />
666
+ <element minOccurs="0" name="CreatorInvoiceOwnerId" nillable="true" type="zns:ID" />
667
+ <element minOccurs="0" name="InitialTerm" nillable="true" type="int" />
668
+ <element minOccurs="0" name="InvoiceOwnerId" nillable="true" type="zns:ID" />
669
+ <element minOccurs="0" name="IsInvoiceSeparate" nillable="true" type="boolean" />
670
+ <element minOccurs="0" name="Name" nillable="true" type="string" />
671
+ <element minOccurs="0" name="Notes" nillable="true" type="string" />
672
+ <element minOccurs="0" name="OriginalCreatedDate" nillable="true" type="dateTime" />
673
+ <element minOccurs="0" name="OriginalId" nillable="true" type="zns:ID" />
674
+ <element minOccurs="0" name="PreviousSubscriptionId" nillable="true" type="zns:ID" />
675
+ <element minOccurs="0" name="RenewalTerm" nillable="true" type="int" />
676
+ <element minOccurs="0" name="ServiceActivationDate" nillable="true" type="dateTime" />
677
+ <element minOccurs="0" name="Status" nillable="true" type="string" />
678
+ <element minOccurs="0" name="SubscriptionEndDate" nillable="true" type="dateTime" />
679
+ <element minOccurs="0" name="SubscriptionStartDate" nillable="true" type="dateTime" />
680
+ <element minOccurs="0" name="TermEndDate" nillable="true" type="dateTime" />
681
+ <element minOccurs="0" name="TermStartDate" nillable="true" type="dateTime" />
682
+ <element minOccurs="0" name="TermType" nillable="true" type="string" />
683
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
684
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
685
+ <element minOccurs="0" name="Version" nillable="true" type="int" />
686
+ </sequence>
687
+ </extension>
688
+ </complexContent>
689
+ </complexType>
690
+
691
+
692
+ <complexType name="Usage">
693
+ <complexContent>
694
+ <extension base="ons:zObject">
695
+ <sequence>
696
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
697
+ <element minOccurs="0" name="AccountNumber" nillable="true" type="string" />
698
+ <element minOccurs="0" name="AncestorAccountId" nillable="true" type="zns:ID" />
699
+ <element minOccurs="0" name="ChargeId" nillable="true" type="zns:ID" />
700
+ <element minOccurs="0" name="ChargeNumber" nillable="true" type="string"/>
701
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
702
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
703
+ <element minOccurs="0" name="Description" nillable="true" type="string" />
704
+ <element minOccurs="0" name="EndDateTime" nillable="true" type="dateTime" />
705
+ <element minOccurs="0" name="ImportId" nillable="true" type="zns:ID" />
706
+ <element minOccurs="0" name="InvoiceId" nillable="true" type="zns:ID" />
707
+ <element minOccurs="0" name="InvoiceNumber" nillable="true" type="string" />
708
+ <element minOccurs="0" name="Quantity" nillable="true" type="decimal" />
709
+ <element minOccurs="0" name="RbeStatus" nillable="true" type="string"/>
710
+ <element minOccurs="0" name="SourceName" nillable="true" type="string" />
711
+ <element minOccurs="0" name="SourceType" nillable="true" type="string"/>
712
+ <element minOccurs="0" name="StartDateTime" nillable="true" type="dateTime" />
713
+ <element minOccurs="0" name="SubmissionDateTime" nillable="true" type="dateTime" />
714
+ <element minOccurs="0" name="SubscriptionId" nillable="true" type="zns:ID" />
715
+ <element minOccurs="0" name="SubscriptionNumber" nillable="true" type="string"/>
716
+ <element minOccurs="0" name="UOM" nillable="true" type="string" />
717
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
718
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
719
+ </sequence>
720
+ </extension>
721
+ </complexContent>
722
+ </complexType>
723
+ <complexType name="Import">
724
+ <complexContent>
725
+ <extension base="ons:zObject">
726
+ <sequence>
727
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID"/>
728
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime"/>
729
+ <element minOccurs="0" name="FileContent" nillable="true" type="xs:base64Binary"/>
730
+ <element minOccurs="0" name="ImportedCount" nillable="true" type="xs:int"/>
731
+ <element minOccurs="0" name="ImportType" nillable="true" type="string"/>
732
+ <element minOccurs="0" name="Md5" nillable="true" type="string"/>
733
+ <element minOccurs="0" name="Name" nillable="true" type="string"/>
734
+ <element minOccurs="0" name="OriginalResourceUrl" nillable="true" type="string"/>
735
+ <element minOccurs="0" name="ResultResourceUrl" nillable="true" type="string"/>
736
+ <element minOccurs="0" name="Status" nillable="true" type="string"/>
737
+ <element minOccurs="0" name="StatusReason" nillable="true" type="string"/>
738
+ <element minOccurs="0" name="TotalCount" nillable="true" type="xs:int"/>
739
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID"/>
740
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime"/>
741
+ </sequence>
742
+ </extension>
743
+ </complexContent>
744
+ </complexType>
745
+ <complexType name="CreditBalanceAdjustment">
746
+ <complexContent>
747
+ <extension base="ons:zObject">
748
+ <sequence>
749
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
750
+ <element minOccurs="0" name="AccountingCode" nillable="true" type="string" />
751
+ <element minOccurs="0" name="AdjustmentDate" nillable="true" type="dateTime"/>
752
+ <element minOccurs="0" name="Amount" nillable="true" type="decimal"/>
753
+ <element minOccurs="0" name="Comment" nillable="true" type="string"/>
754
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID"/>
755
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime"/>
756
+ <element minOccurs="0" name="Number" nillable="true" type="string"/>
757
+ <element minOccurs="0" name="ReferenceId" nillable="true" type="string"/>
758
+ <element minOccurs="0" name="SourceTransactionId" nillable="true" type="string"/>
759
+ <element minOccurs="0" name="SourceTransactionNumber" nillable="true" type="string"/>
760
+ <element minOccurs="0" name="SourceTransactionType" nillable="true" type="string"/>
761
+ <element minOccurs="0" name="Status" nillable="true" type="string"/>
762
+ <element minOccurs="0" name="TransferredToAccounting" nillable="true" type="string" />
763
+ <element minOccurs="0" name="Type" nillable="true" type="string"/>
764
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID"/>
765
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime"/>
766
+ </sequence>
767
+ </extension>
768
+ </complexContent>
769
+ </complexType>
770
+ <complexType name="Export">
771
+ <complexContent>
772
+ <extension base="ons:zObject">
773
+ <sequence>
774
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID"/>
775
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime"/>
776
+ <element minOccurs="0" name="Encrypted" nillable="true" type="xs:boolean" />
777
+ <element minOccurs="0" name="FileId" nillable="true" type="zns:ID"/>
778
+ <element minOccurs="0" name="Format" nillable="true" type="string"/>
779
+ <element minOccurs="0" name="Name" nillable="true" type="string" />
780
+ <element minOccurs="0" name="Query" nillable="true" type="string"/>
781
+ <element minOccurs="0" name="Size" nillable="true" type="xs:int"/>
782
+ <element minOccurs="0" name="Status" nillable="true" type="string"/>
783
+ <element minOccurs="0" name="StatusReason" nillable="true" type="string"/>
784
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID"/>
785
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime"/>
786
+ <element minOccurs="0" name="Zip" nillable="true" type="xs:boolean"/>
787
+ </sequence>
788
+ </extension>
789
+ </complexContent>
790
+ </complexType>
791
+ <complexType name="CommunicationProfile">
792
+ <complexContent>
793
+ <extension base="ons:zObject">
794
+ <sequence>
795
+ <element minOccurs="0" name="CreatedById" nillable="true" type="zns:ID" />
796
+ <element minOccurs="0" name="CreatedDate" nillable="true" type="dateTime" />
797
+ <element minOccurs="0" name="Description" nillable="true" type="string" />
798
+ <element minOccurs="0" name="ProfileName" nillable="true" type="string" />
799
+ <element minOccurs="0" name="UpdatedById" nillable="true" type="zns:ID" />
800
+ <element minOccurs="0" name="UpdatedDate" nillable="true" type="dateTime" />
801
+ </sequence>
802
+ </extension>
803
+ </complexContent>
804
+ </complexType>
805
+ </schema>
806
+ <schema attributeFormDefault="qualified" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://api.zuora.com/">
807
+ <simpleType name="ID">
808
+ <restriction base="xs:string">
809
+ <pattern value='[a-zA-Z0-9]{32}|\d+' />
810
+ </restriction>
811
+ </simpleType>
812
+ <complexType name="LoginResult">
813
+ <sequence>
814
+ <element name="Session" nillable="true" type="xs:string" />
815
+ <element name="ServerUrl" nillable="true" type="xs:string" />
816
+ </sequence>
817
+ </complexType>
818
+ <complexType name="SubscribeRequest">
819
+ <sequence>
820
+ <element minOccurs="0" name="Account" nillable="true" type="ons:Account" />
821
+ <element minOccurs="0" name="PaymentMethod" nillable="true" type="ons:PaymentMethod" />
822
+ <element minOccurs="0" name="BillToContact" nillable="true" type="ons:Contact" />
823
+ <element minOccurs="0" name="PreviewOptions" nillable="true" type="zns:PreviewOptions" />
824
+ <element minOccurs="0" name="SoldToContact" nillable="true" type="ons:Contact" />
825
+ <element minOccurs="0" name="SubscribeOptions" nillable="true" type="zns:SubscribeOptions" />
826
+ <element minOccurs="0" name="SubscriptionData" nillable="true" type="zns:SubscriptionData" />
827
+ </sequence>
828
+ </complexType>
829
+ <complexType name="SubscribeOptions">
830
+ <sequence>
831
+ <element minOccurs="0" name="GenerateInvoice" nillable="true" type="xs:boolean" />
832
+ <element minOccurs="0" name="ProcessPayments" nillable="true" type="xs:boolean" />
833
+ <element minOccurs="0" name="SubscribeInvoiceProcessingOptions" nillable="true" type="zns:SubscribeInvoiceProcessingOptions" />
834
+ </sequence>
835
+ </complexType>
836
+ <complexType name="SubscribeInvoiceProcessingOptions">
837
+ <sequence>
838
+ <element minOccurs="0" name="InvoiceProcessingScope" nillable="true" type="xs:string" />
839
+ </sequence>
840
+ </complexType>
841
+ <complexType name="SubscriptionData">
842
+ <sequence>
843
+ <element minOccurs="0" name="Subscription" nillable="true" type="ons:Subscription" />
844
+ <element minOccurs="0" maxOccurs="unbounded" name="RatePlanData" nillable="true" type="zns:RatePlanData" />
845
+ </sequence>
846
+ </complexType>
847
+ <complexType name="RatePlanData">
848
+ <sequence>
849
+ <element minOccurs="0" name="RatePlan" nillable="true" type="ons:RatePlan" />
850
+ <element maxOccurs="unbounded" minOccurs="0" name="RatePlanChargeData" nillable="true" type="zns:RatePlanChargeData" />
851
+ </sequence>
852
+ </complexType>
853
+ <complexType name="RatePlanChargeData">
854
+ <sequence>
855
+ <element minOccurs="0" name="RatePlanCharge" nillable="true" type="ons:RatePlanCharge" />
856
+ <element maxOccurs="unbounded" minOccurs="0" name="RatePlanChargeTier" nillable="true" type="ons:RatePlanChargeTier" />
857
+ </sequence>
858
+ </complexType>
859
+ <complexType name="ProductRatePlanChargeTierData">
860
+ <sequence>
861
+ <element maxOccurs="unbounded" minOccurs="0" name="ProductRatePlanChargeTier" nillable="true" type="ons:ProductRatePlanChargeTier" />
862
+ </sequence>
863
+ </complexType>
864
+ <complexType name="GatewayOptionData">
865
+ <sequence>
866
+ <element maxOccurs="200" minOccurs="0" name="GatewayOption" nillable="true" type="ons:GatewayOption" />
867
+ </sequence>
868
+ </complexType>
869
+ <complexType name="InvoiceData">
870
+ <sequence>
871
+ <element minOccurs="0" name="Invoice" nillable="true" type="ons:Invoice" />
872
+ <element minOccurs="0" maxOccurs="unbounded" name="InvoiceItem" nillable="true" type="ons:InvoiceItem" />
873
+ </sequence>
874
+ </complexType>
875
+ <complexType name="InvoiceResult">
876
+ <sequence>
877
+ <element minOccurs="0" maxOccurs="unbounded" name="Invoice" nillable="true" type="ons:Invoice" />
878
+ </sequence>
879
+ </complexType>
880
+ <complexType name="PreviewOptions">
881
+ <sequence>
882
+ <element minOccurs="0" name="EnablePreviewMode" nillable="true" type="boolean" />
883
+ <element minOccurs="0" name="NumberOfPeriods" nillable="true" type="int" />
884
+ </sequence>
885
+ </complexType>
886
+
887
+ <complexType name="SubscribeResult">
888
+ <sequence>
889
+ <element minOccurs="0" name="AccountId" nillable="true" type="zns:ID" />
890
+ <element minOccurs="0" name="AccountNumber" nillable="true" type="string" />
891
+ <element minOccurs="0" maxOccurs="unbounded" name="Errors" nillable="true" type="zns:Error" />
892
+ <element minOccurs="0" maxOccurs="unbounded" name="InvoiceData" nillable="true" type="zns:InvoiceData" />
893
+ <element minOccurs="0" name="InvoiceId" nillable="true" type="zns:ID" />
894
+ <element minOccurs="0" name="InvoiceNumber" nillable="true" type="string" />
895
+ <element minOccurs="0" name="InvoiceResult" nillable="true" type="zns:InvoiceResult" />
896
+ <element minOccurs="0" name="PaymentTransactionNumber" nillable="true" type="string" />
897
+ <element minOccurs="0" name="SubscriptionId" nillable="true" type="zns:ID" />
898
+ <element minOccurs="0" name="SubscriptionNumber" nillable="true" type="string" />
899
+ <element minOccurs="0" maxOccurs="1" name="Success" type="boolean" />
900
+ </sequence>
901
+ </complexType>
902
+ <complexType name="SaveResult">
903
+ <sequence>
904
+ <element minOccurs="0" maxOccurs="unbounded" name="Errors" nillable="true" type="zns:Error" />
905
+ <element minOccurs="0" maxOccurs="1" name="Id" nillable="true" type="zns:ID" />
906
+ <element minOccurs="0" maxOccurs="1" name="Success" type="boolean" />
907
+ </sequence>
908
+ </complexType>
909
+ <complexType name="DeleteResult">
910
+ <sequence>
911
+ <element name="errors" minOccurs="0" maxOccurs="unbounded" type="zns:Error" nillable="true" />
912
+ <element name="id" minOccurs="0" maxOccurs="1" type="zns:ID" nillable="true" />
913
+ <element name="success" minOccurs="0" maxOccurs="1" type="boolean" />
914
+ </sequence>
915
+ </complexType>
916
+ <complexType name="ExecuteResult">
917
+ <sequence>
918
+ <element name="Errors" minOccurs="0" maxOccurs="unbounded" type="zns:Error" nillable="true" />
919
+ <element name="Id" minOccurs="0" maxOccurs="1" type="zns:ID" nillable="true" />
920
+ <element name="Success" minOccurs="0" maxOccurs="1" type="boolean" />
921
+ </sequence>
922
+ </complexType>
923
+ <simpleType name="QueryLocator">
924
+ <restriction base="xs:string" />
925
+ </simpleType>
926
+ <complexType name="QueryResult">
927
+ <sequence>
928
+ <element name="done" type="xs:boolean" />
929
+ <element name="queryLocator" type="zns:QueryLocator" nillable="true" />
930
+ <element name="records" type="ons:zObject" nillable="true" minOccurs="0" maxOccurs="unbounded" />
931
+ <element name="size" type="xs:int" />
932
+ </sequence>
933
+ </complexType>
934
+ <complexType name="Error">
935
+ <sequence>
936
+ <element minOccurs="0" name="Code" nillable="true" type="zns:ErrorCode" />
937
+ <element minOccurs="0" name="Message" nillable="true" type="string" />
938
+ <element minOccurs="0" name="Field" nillable="true" type="string" />
939
+ </sequence>
940
+ </complexType>
941
+ <simpleType name="ErrorCode">
942
+ <restriction base="xs:string">
943
+ <enumeration value="API_DISABLED" />
944
+ <enumeration value="CANNOT_DELETE" />
945
+ <enumeration value="CREDIT_CARD_PROCESSING_FAILURE" />
946
+ <enumeration value="DUPLICATE_VALUE" />
947
+ <enumeration value="INVALID_FIELD" />
948
+ <enumeration value="INVALID_LOGIN" />
949
+ <enumeration value="INVALID_SESSION" />
950
+ <enumeration value="INVALID_TYPE" />
951
+ <enumeration value="INVALID_ID" />
952
+ <enumeration value="INVALID_VALUE" />
953
+ <enumeration value="INVALID_VERSION" />
954
+ <enumeration value="MALFORMED_QUERY" />
955
+ <enumeration value="MAX_RECORDS_EXCEEDED" />
956
+ <enumeration value="MISSING_REQUIRED_VALUE" />
957
+ <enumeration value="NO_PERMISSION" />
958
+ <enumeration value="SERVER_UNAVAILABLE" />
959
+ <enumeration value="UNKNOWN_ERROR" />
960
+ <enumeration value="TRANSACTION_FAILED" />
961
+ <enumeration value="INVALID_TEMPLATE" />
962
+ <enumeration value="ACCOUNTING_PERIOD_CLOSED" />
963
+ <enumeration value="BATCH_FAIL_ERROR"/>
964
+ </restriction>
965
+ </simpleType>
966
+ <element name="login">
967
+ <complexType>
968
+ <sequence>
969
+ <element minOccurs="0" maxOccurs="1" name="username" type="string" />
970
+ <element minOccurs="0" maxOccurs="1" name="password" type="string" />
971
+ </sequence>
972
+ </complexType>
973
+ </element>
974
+ <element name="loginResponse">
975
+ <complexType>
976
+ <sequence>
977
+ <element minOccurs="0" maxOccurs="1" name="result" type="zns:LoginResult" />
978
+ </sequence>
979
+ </complexType>
980
+ </element>
981
+ <element name="subscribe">
982
+ <complexType>
983
+ <sequence>
984
+ <element name="subscribes" minOccurs="0" maxOccurs="unbounded" type="zns:SubscribeRequest" />
985
+ </sequence>
986
+ </complexType>
987
+ </element>
988
+ <element name="subscribeResponse">
989
+ <complexType>
990
+ <sequence>
991
+ <element name="result" minOccurs="0" maxOccurs="unbounded" type="zns:SubscribeResult" />
992
+ </sequence>
993
+ </complexType>
994
+ </element>
995
+ <element name="create">
996
+ <complexType>
997
+ <sequence>
998
+ <element minOccurs="0" maxOccurs="unbounded" name="zObjects" type="ons:zObject" />
999
+ </sequence>
1000
+ </complexType>
1001
+ </element>
1002
+ <element name="createResponse">
1003
+ <complexType>
1004
+ <sequence>
1005
+ <element minOccurs="0" maxOccurs="unbounded" name="result" type="zns:SaveResult" />
1006
+ </sequence>
1007
+ </complexType>
1008
+ </element>
1009
+ <element name="generate">
1010
+ <complexType>
1011
+ <sequence>
1012
+ <element minOccurs="0" maxOccurs="unbounded" name="zObjects" type="ons:zObject" />
1013
+ </sequence>
1014
+ </complexType>
1015
+ </element>
1016
+ <element name="generateResponse">
1017
+ <complexType>
1018
+ <sequence>
1019
+ <element minOccurs="0" maxOccurs="unbounded" name="result" type="zns:SaveResult" />
1020
+ </sequence>
1021
+ </complexType>
1022
+ </element>
1023
+ <element name="update">
1024
+ <complexType>
1025
+ <sequence>
1026
+ <element minOccurs="0" maxOccurs="unbounded" name="zObjects" type="ons:zObject" />
1027
+ </sequence>
1028
+ </complexType>
1029
+ </element>
1030
+ <element name="updateResponse">
1031
+ <complexType>
1032
+ <sequence>
1033
+ <element minOccurs="0" maxOccurs="unbounded" name="result" type="zns:SaveResult" />
1034
+ </sequence>
1035
+ </complexType>
1036
+ </element>
1037
+ <element name="delete">
1038
+ <complexType>
1039
+ <sequence>
1040
+ <element name="type" type="string" minOccurs="1" maxOccurs="1" />
1041
+ <element name="ids" type="zns:ID" minOccurs="0" maxOccurs="unbounded" />
1042
+ </sequence>
1043
+ </complexType>
1044
+ </element>
1045
+ <element name="deleteResponse">
1046
+ <complexType>
1047
+ <sequence>
1048
+ <element name="result" type="zns:DeleteResult" minOccurs="0" maxOccurs="unbounded" />
1049
+ </sequence>
1050
+ </complexType>
1051
+ </element>
1052
+ <element name="execute">
1053
+ <complexType>
1054
+ <sequence>
1055
+ <element name="type" type="string" minOccurs="1" maxOccurs="1" />
1056
+ <element name="synchronous" type="boolean" minOccurs="1" maxOccurs="1" />
1057
+ <element name="ids" type="zns:ID" minOccurs="0" maxOccurs="unbounded" />
1058
+ </sequence>
1059
+ </complexType>
1060
+ </element>
1061
+ <element name="executeResponse">
1062
+ <complexType>
1063
+ <sequence>
1064
+ <element name="result" type="zns:ExecuteResult" minOccurs="0" maxOccurs="unbounded" />
1065
+ </sequence>
1066
+ </complexType>
1067
+ </element>
1068
+ <element name="query">
1069
+ <complexType>
1070
+ <sequence>
1071
+ <element name="queryString" type="xs:string" />
1072
+ </sequence>
1073
+ </complexType>
1074
+ </element>
1075
+ <element name="queryResponse">
1076
+ <complexType>
1077
+ <sequence>
1078
+ <element name="result" type="zns:QueryResult" />
1079
+ </sequence>
1080
+ </complexType>
1081
+ </element>
1082
+ <element name="SessionHeader">
1083
+ <complexType>
1084
+ <sequence>
1085
+ <element name="session" type="string" />
1086
+ </sequence>
1087
+ </complexType>
1088
+ </element>
1089
+ <element name="getUserInfoResponse">
1090
+ <complexType>
1091
+ <sequence>
1092
+ <element minOccurs="1" maxOccurs="1" name="TenantId" type="string" />
1093
+ <element minOccurs="1" maxOccurs="1" name="TenantName" type="string" />
1094
+ <element minOccurs="1" maxOccurs="1" name="UserEmail" type="string" />
1095
+ <element minOccurs="1" maxOccurs="1" name="UserFullName" type="string" />
1096
+ <element minOccurs="1" maxOccurs="1" name="UserId" type="string" />
1097
+ <element minOccurs="1" maxOccurs="1" name="Username" type="string" />
1098
+ </sequence>
1099
+ </complexType>
1100
+ </element>
1101
+ <element name="getUserInfo">
1102
+ <complexType>
1103
+ <sequence/>
1104
+ </complexType>
1105
+ </element>
1106
+ <element name="DummyHeader">
1107
+ <complexType>
1108
+ <sequence>
1109
+ <element minOccurs="0" name="Account" nillable="true" type="ons:Account" />
1110
+ <element minOccurs="0" name="InvoiceAdjustment" nillable="true" type="ons:InvoiceAdjustment" />
1111
+ <element minOccurs="0" name="Amendment" nillable="true" type="ons:Amendment" />
1112
+ <element minOccurs="0" name="Invoice" nillable="true" type="ons:Invoice" />
1113
+ <element minOccurs="0" name="InvoiceItem" nillable="true" type="ons:InvoiceItem" />
1114
+ <element minOccurs="0" name="InvoicePayment" nillable="true" type="ons:InvoicePayment" />
1115
+ <element minOccurs="0" name="Import" nillable="true" type="ons:Import" />
1116
+ <element minOccurs="0" name="Payment" nillable="true" type="ons:Payment" />
1117
+ <element minOccurs="0" name="Product" nillable="true" type="ons:Product" />
1118
+ <element minOccurs="0" name="ProductRatePlan" nillable="true" type="ons:ProductRatePlan" />
1119
+ <element minOccurs="0" name="ProductRatePlanCharge" nillable="true" type="ons:ProductRatePlanCharge" />
1120
+ <element minOccurs="0" name="ProductRatePlanChargeTier" nillable="true" type="ons:ProductRatePlanChargeTier" />
1121
+ <element minOccurs="0" name="RatePlan" nillable="true" type="ons:RatePlan" />
1122
+ <element minOccurs="0" name="RatePlanCharge" nillable="true" type="ons:RatePlanCharge" />
1123
+ <element minOccurs="0" name="RatePlanChargeTier" nillable="true" type="ons:RatePlanChargeTier" />
1124
+ <element minOccurs="0" name="Usage" nillable="true" type="ons:Usage" />
1125
+ <element minOccurs="0" name="Refund" nillable="true" type="ons:Refund" />
1126
+ <element minOccurs="0" name="RefundInvoicePayment" nillable="true" type="ons:RefundInvoicePayment" />
1127
+ <element minOccurs="0" name="CreditBalanceAdjustment" nillable="true" type="ons:CreditBalanceAdjustment" />
1128
+ <element minOccurs="0" name="Export" nillable="true" type="ons:Export" />
1129
+ <element minOccurs="0" name="InvoiceItemAdjustment" nillable="true" type="ons:InvoiceItemAdjustment" />
1130
+ <element minOccurs="0" name="CommunicationProfile" nillable="true" type="ons:CommunicationProfile" />
1131
+ </sequence>
1132
+ </complexType>
1133
+ </element>
1134
+ <element name="CallOptions">
1135
+ <complexType>
1136
+ <sequence>
1137
+ <element minOccurs="0" name="useSingleTransaction" nillable="true" type="boolean" />
1138
+ </sequence>
1139
+ </complexType>
1140
+ </element>
1141
+ <complexType name="InvoiceProcessingOptions">
1142
+ <sequence>
1143
+ <element minOccurs="0" name="InvoiceTargetDate" nillable="true" type="dateTime" />
1144
+ </sequence>
1145
+ </complexType>
1146
+ <complexType name="AmendOptions" >
1147
+ <sequence>
1148
+ <element minOccurs="0" name="GenerateInvoice" nillable="true" type="xs:boolean" />
1149
+ <element minOccurs="0" name="InvoiceProcessingOptions" nillable="true" type="zns:InvoiceProcessingOptions" />
1150
+ <element minOccurs="0" name="ProcessPayments" nillable="true" type="xs:boolean" />
1151
+ </sequence>
1152
+ </complexType>
1153
+ <complexType name="AmendRequest">
1154
+ <sequence>
1155
+ <element minOccurs="0" maxOccurs="unbounded" name="Amendments" nillable="true" type="ons:Amendment" />
1156
+ <element minOccurs="0" name="AmendOptions" nillable="true" type="zns:AmendOptions" />
1157
+ <element minOccurs="0" name="PreviewOptions" nillable="true" type="zns:PreviewOptions" />
1158
+ </sequence>
1159
+ </complexType>
1160
+ <element name="amend">
1161
+ <complexType>
1162
+ <sequence>
1163
+ <element name="requests" minOccurs="0" maxOccurs="unbounded" type="zns:AmendRequest" />
1164
+ </sequence>
1165
+ </complexType>
1166
+ </element>
1167
+ <complexType name="AmendResult">
1168
+ <sequence>
1169
+ <element minOccurs="0" maxOccurs="unbounded" name="AmendmentIds" nillable="true" type="zns:ID" />
1170
+ <element minOccurs="0" maxOccurs="unbounded" name="Errors" nillable="true" type="zns:Error" />
1171
+ <element minOccurs="0" maxOccurs="unbounded" name="InvoiceDatas" nillable="true" type="zns:InvoiceData" />
1172
+ <element minOccurs="0" name="InvoiceId" nillable="true" type="zns:ID" />
1173
+ <element minOccurs="0" name="PaymentTransactionNumber" nillable="true" type="string" />
1174
+ <element minOccurs="0" maxOccurs="1" name="Success" type="boolean" />
1175
+ </sequence>
1176
+ </complexType>
1177
+ <element name="amendResponse">
1178
+ <complexType>
1179
+ <sequence>
1180
+ <element name="results" minOccurs="0" maxOccurs="unbounded" type="zns:AmendResult" />
1181
+ </sequence>
1182
+ </complexType>
1183
+ </element>
1184
+ </schema>
1185
+ <schema attributeFormDefault="qualified" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://fault.api.zuora.com/">
1186
+ <complexType name="ApiFault">
1187
+ <sequence>
1188
+ <element minOccurs="0" name="FaultCode" nillable="true" type="zns:ErrorCode" />
1189
+ <element minOccurs="0" name="FaultMessage" nillable="true" type="string" />
1190
+ </sequence>
1191
+ </complexType>
1192
+ <element name="fault" type="fns:ApiFault" />
1193
+ <complexType name="LoginFault">
1194
+ <complexContent>
1195
+ <extension base="fns:ApiFault" />
1196
+ </complexContent>
1197
+ </complexType>
1198
+ <element name="LoginFault" type="fns:LoginFault" />
1199
+ <complexType name="InvalidTypeFault">
1200
+ <complexContent>
1201
+ <extension base="fns:ApiFault" />
1202
+ </complexContent>
1203
+ </complexType>
1204
+ <element name="InvalidTypeFault" type="fns:InvalidTypeFault" />
1205
+ <complexType name="InvalidValueFault">
1206
+ <complexContent>
1207
+ <extension base="fns:ApiFault" />
1208
+ </complexContent>
1209
+ </complexType>
1210
+ <element name="InvalidValueFault" type="fns:InvalidValueFault" />
1211
+ <complexType name="MalformedQueryFault">
1212
+ <complexContent>
1213
+ <extension base="fns:ApiFault" />
1214
+ </complexContent>
1215
+ </complexType>
1216
+ <element name="MalformedQueryFault" type="fns:MalformedQueryFault" />
1217
+ <complexType name="InvalidQueryLocatorFault">
1218
+ <complexContent>
1219
+ <extension base="fns:ApiFault" />
1220
+ </complexContent>
1221
+ </complexType>
1222
+ <element name="InvalidQueryLocatorFault" type="fns:InvalidQueryLocatorFault" />
1223
+ <complexType name="UnexpectedErrorFault">
1224
+ <complexContent>
1225
+ <extension base="fns:ApiFault" />
1226
+ </complexContent>
1227
+ </complexType>
1228
+ <element name="UnexpectedErrorFault" type="fns:UnexpectedErrorFault" />
1229
+ </schema>
1230
+
1231
+ </types>
1232
+ <message name="ApiFault">
1233
+ <part name="fault" element="fns:fault" />
1234
+ </message>
1235
+ <message name="LoginFault">
1236
+ <part name="fault" element="fns:LoginFault" />
1237
+ </message>
1238
+ <message name="InvalidTypeFault">
1239
+ <part name="fault" element="fns:InvalidTypeFault" />
1240
+ </message>
1241
+ <message name="InvalidValueFault">
1242
+ <part name="fault" element="fns:InvalidValueFault" />
1243
+ </message>
1244
+ <message name="MalformedQueryFault">
1245
+ <part name="fault" element="fns:MalformedQueryFault" />
1246
+ </message>
1247
+ <message name="InvalidQueryLocatorFault">
1248
+ <part name="fault" element="fns:InvalidQueryLocatorFault" />
1249
+ </message>
1250
+ <message name="UnexpectedErrorFault">
1251
+ <part name="fault" element="fns:UnexpectedErrorFault" />
1252
+ </message>
1253
+ <message name="loginRequest">
1254
+ <part name="parameters" element="zns:login" />
1255
+ </message>
1256
+ <message name="loginResponse">
1257
+ <part name="parameters" element="zns:loginResponse" />
1258
+ </message>
1259
+ <message name="subscribeRequest">
1260
+ <part name="parameters" element="zns:subscribe" />
1261
+ </message>
1262
+ <message name="subscribeResponse">
1263
+ <part name="parameters" element="zns:subscribeResponse" />
1264
+ </message>
1265
+ <message name="createRequest">
1266
+ <part name="parameters" element="zns:create" />
1267
+ </message>
1268
+ <message name="createResponse">
1269
+ <part name="parameters" element="zns:createResponse" />
1270
+ </message>
1271
+ <message name="generateRequest">
1272
+ <part name="parameters" element="zns:generate" />
1273
+ </message>
1274
+ <message name="generateResponse">
1275
+ <part name="parameters" element="zns:generateResponse" />
1276
+ </message>
1277
+ <message name="updateRequest">
1278
+ <part name="parameters" element="zns:update" />
1279
+ </message>
1280
+ <message name="updateResponse">
1281
+ <part name="parameters" element="zns:updateResponse" />
1282
+ </message>
1283
+ <message name="deleteRequest">
1284
+ <part name="parameters" element="zns:delete" />
1285
+ </message>
1286
+ <message name="deleteResponse">
1287
+ <part name="parameters" element="zns:deleteResponse" />
1288
+ </message>
1289
+ <message name="executeRequest">
1290
+ <part name="parameters" element="zns:execute" />
1291
+ </message>
1292
+ <message name="executeResponse">
1293
+ <part name="parameters" element="zns:executeResponse" />
1294
+ </message>
1295
+ <message name="queryRequest">
1296
+ <part name="parameters" element="zns:query" />
1297
+ </message>
1298
+ <message name="queryResponse">
1299
+ <part name="parameters" element="zns:queryResponse" />
1300
+ </message>
1301
+ <message name="Header">
1302
+ <part name="CallOptions" element="zns:CallOptions" />
1303
+ <part name="SessionHeader" element="zns:SessionHeader" />
1304
+ </message>
1305
+
1306
+ <message name="getUserInfo">
1307
+ <part name="getUserInfo" element="zns:getUserInfo"/>
1308
+ </message>
1309
+ <message name="getUserInfoResponse">
1310
+ <part name="parameters" element="zns:getUserInfoResponse"/>
1311
+ </message>
1312
+ <message name="amendRequest">
1313
+ <part name="parameters" element="zns:amend"/>
1314
+ </message>
1315
+ <message name="amendResponse">
1316
+ <part name="parameters" element="zns:amendResponse"/>
1317
+ </message>
1318
+ <portType name="Soap">
1319
+ <operation name="login">
1320
+ <input message="zns:loginRequest" />
1321
+ <output message="zns:loginResponse" />
1322
+ <fault message="zns:LoginFault" name="LoginFault" />
1323
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault" />
1324
+ </operation>
1325
+ <operation name="subscribe">
1326
+ <input message="zns:subscribeRequest" />
1327
+ <output message="zns:subscribeResponse" />
1328
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault" />
1329
+ </operation>
1330
+ <operation name="create">
1331
+ <input message="zns:createRequest" />
1332
+ <output message="zns:createResponse" />
1333
+ <fault message="zns:InvalidTypeFault" name="InvalidTypeFault" />
1334
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault" />
1335
+ </operation>
1336
+ <operation name="generate">
1337
+ <input message="zns:generateRequest" />
1338
+ <output message="zns:generateResponse" />
1339
+ <fault message="zns:InvalidTypeFault" name="InvalidTypeFault" />
1340
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault" />
1341
+ </operation>
1342
+ <operation name="update">
1343
+ <input message="zns:updateRequest" />
1344
+ <output message="zns:updateResponse" />
1345
+ <fault message="zns:InvalidTypeFault" name="InvalidTypeFault" />
1346
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault" />
1347
+ </operation>
1348
+ <operation name="delete">
1349
+ <input message="zns:deleteRequest" />
1350
+ <output message="zns:deleteResponse" />
1351
+ <fault message="zns:InvalidTypeFault" name="InvalidTypeFault" />
1352
+ <fault message="zns:InvalidValueFault" name="InvalidValueFault" />
1353
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault" />
1354
+ </operation>
1355
+ <operation name="execute">
1356
+ <input message="zns:executeRequest" />
1357
+ <output message="zns:executeResponse" />
1358
+ <fault message="zns:InvalidTypeFault" name="InvalidTypeFault" />
1359
+ <fault message="zns:InvalidValueFault" name="InvalidValueFault" />
1360
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault" />
1361
+ </operation>
1362
+ <operation name="query">
1363
+ <input message="zns:queryRequest" />
1364
+ <output message="zns:queryResponse" />
1365
+ <fault message="zns:MalformedQueryFault" name="MalformedQueryFault" />
1366
+ <fault message="zns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault" />
1367
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault" />
1368
+ </operation>
1369
+ <operation name="getUserInfo">
1370
+ <input message="zns:getUserInfo"/>
1371
+ <output message="zns:getUserInfoResponse"/>
1372
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
1373
+ </operation>
1374
+ <operation name="amend">
1375
+ <input message="zns:amendRequest"/>
1376
+ <output message="zns:amendResponse"/>
1377
+ <fault message="zns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
1378
+ </operation>
1379
+ </portType>
1380
+ <binding name="SoapBinding" type="zns:Soap">
1381
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
1382
+ <operation name="login">
1383
+ <soap:operation soapAction="" />
1384
+ <input>
1385
+ <soap:body use="literal" />
1386
+ </input>
1387
+ <output>
1388
+ <soap:body use="literal" />
1389
+ </output>
1390
+ <fault name="LoginFault">
1391
+ <soap:fault name="LoginFault" use="literal" />
1392
+ </fault>
1393
+ <fault name="UnexpectedErrorFault">
1394
+ <soap:fault name="UnexpectedErrorFault" use="literal" />
1395
+ </fault>
1396
+ </operation>
1397
+ <operation name="subscribe">
1398
+ <soap:operation soapAction="" />
1399
+ <input>
1400
+ <soap:header use="literal" message="zns:Header" part="SessionHeader" />
1401
+ <soap:body use="literal" />
1402
+ </input>
1403
+ <output>
1404
+ <soap:body use="literal" />
1405
+ </output>
1406
+ <fault name="UnexpectedErrorFault">
1407
+ <soap:fault name="UnexpectedErrorFault" use="literal" />
1408
+ </fault>
1409
+ </operation>
1410
+ <operation name="create">
1411
+ <soap:operation soapAction="" />
1412
+ <input>
1413
+ <soap:header use="literal" message="zns:Header" part="CallOptions" />
1414
+ <soap:header use="literal" message="zns:Header" part="SessionHeader" />
1415
+ <soap:body use="literal" />
1416
+ </input>
1417
+ <output>
1418
+ <soap:body use="literal" />
1419
+ </output>
1420
+ <fault name="InvalidTypeFault">
1421
+ <soap:fault name="InvalidTypeFault" use="literal" />
1422
+ </fault>
1423
+ <fault name="UnexpectedErrorFault">
1424
+ <soap:fault name="UnexpectedErrorFault" use="literal" />
1425
+ </fault>
1426
+ </operation>
1427
+ <operation name="generate">
1428
+ <soap:operation soapAction="" />
1429
+ <input>
1430
+ <soap:header use="literal" message="zns:Header" part="SessionHeader" />
1431
+ <soap:body use="literal" />
1432
+ </input>
1433
+ <output>
1434
+ <soap:body use="literal" />
1435
+ </output>
1436
+ <fault name="InvalidTypeFault">
1437
+ <soap:fault name="InvalidTypeFault" use="literal" />
1438
+ </fault>
1439
+ <fault name="UnexpectedErrorFault">
1440
+ <soap:fault name="UnexpectedErrorFault" use="literal" />
1441
+ </fault>
1442
+ </operation>
1443
+ <operation name="update">
1444
+ <soap:operation soapAction="" />
1445
+ <input>
1446
+ <soap:header use="literal" message="zns:Header" part="SessionHeader" />
1447
+ <soap:body use="literal" />
1448
+ </input>
1449
+ <output>
1450
+ <soap:body use="literal" />
1451
+ </output>
1452
+ <fault name="InvalidTypeFault">
1453
+ <soap:fault name="InvalidTypeFault" use="literal" />
1454
+ </fault>
1455
+ <fault name="UnexpectedErrorFault">
1456
+ <soap:fault name="UnexpectedErrorFault" use="literal" />
1457
+ </fault>
1458
+ </operation>
1459
+ <operation name="query">
1460
+ <soap:operation soapAction="" />
1461
+ <input>
1462
+ <soap:header use="literal" message="zns:Header" part="SessionHeader" />
1463
+ <soap:body use="literal" />
1464
+ </input>
1465
+ <output>
1466
+ <soap:body use="literal" />
1467
+ </output>
1468
+ <fault name="MalformedQueryFault">
1469
+ <soap:fault name="MalformedQueryFault" use="literal" />
1470
+ </fault>
1471
+ <fault name="InvalidQueryLocatorFault">
1472
+ <soap:fault name="InvalidQueryLocatorFault" use="literal" />
1473
+ </fault>
1474
+ <fault name="UnexpectedErrorFault">
1475
+ <soap:fault name="UnexpectedErrorFault" use="literal" />
1476
+ </fault>
1477
+ </operation>
1478
+ <operation name="delete">
1479
+ <soap:operation soapAction="" />
1480
+ <input>
1481
+ <soap:header use="literal" message="zns:Header" part="SessionHeader" />
1482
+ <soap:body use="literal" />
1483
+ </input>
1484
+ <output>
1485
+ <soap:body use="literal" />
1486
+ </output>
1487
+ <fault name="InvalidTypeFault">
1488
+ <soap:fault name="InvalidTypeFault" use="literal" />
1489
+ </fault>
1490
+ <fault name="InvalidValueFault">
1491
+ <soap:fault name="InvalidValueFault" use="literal" />
1492
+ </fault>
1493
+ <fault name="UnexpectedErrorFault">
1494
+ <soap:fault name="UnexpectedErrorFault" use="literal" />
1495
+ </fault>
1496
+ </operation>
1497
+ <operation name="getUserInfo">
1498
+ <soap:operation soapAction=""/>
1499
+ <input>
1500
+ <soap:header use="literal" message="zns:Header" part="SessionHeader" />
1501
+ <soap:body use="literal"/>
1502
+ </input>
1503
+ <output>
1504
+ <soap:body use="literal"/>
1505
+ </output>
1506
+ <fault name="UnexpectedErrorFault">
1507
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
1508
+ </fault>
1509
+ </operation>
1510
+ <operation name="amend">
1511
+ <soap:operation soapAction=""/>
1512
+ <input>
1513
+ <soap:header use="literal" message="zns:Header" part="SessionHeader" />
1514
+ <soap:body use="literal"/>
1515
+ </input>
1516
+ <output>
1517
+ <soap:body use="literal"/>
1518
+ </output>
1519
+ <fault name="UnexpectedErrorFault">
1520
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
1521
+ </fault>
1522
+ </operation>
1523
+ <operation name="execute">
1524
+ <soap:operation soapAction="" />
1525
+ <input>
1526
+ <soap:header use="literal" message="zns:Header" part="SessionHeader" />
1527
+ <soap:body use="literal" />
1528
+ </input>
1529
+ <output>
1530
+ <soap:body use="literal" />
1531
+ </output>
1532
+ <fault name="InvalidTypeFault">
1533
+ <soap:fault name="InvalidTypeFault" use="literal" />
1534
+ </fault>
1535
+ <fault name="InvalidValueFault">
1536
+ <soap:fault name="InvalidValueFault" use="literal" />
1537
+ </fault>
1538
+ <fault name="UnexpectedErrorFault">
1539
+ <soap:fault name="UnexpectedErrorFault" use="literal" />
1540
+ </fault>
1541
+ </operation>
1542
+ </binding>
1543
+ <service name="ZuoraService">
1544
+ <port name="Soap" binding="zns:SoapBinding">
1545
+ <soap:address location="https://apisandbox.zuora.com/apps/services/a/39.0" />
1546
+ </port>
1547
+ </service>
1548
+ </definitions>