active_zuora 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,128 @@
1
+ require 'soap/rpc/driver'
2
+
3
+ module ZUORA
4
+
5
+ class Soap < ::SOAP::RPC::Driver
6
+
7
+ Methods = [
8
+ [ "",
9
+ "login",
10
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "login"]],
11
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "loginResponse"]] ],
12
+ { :request_style => :document, :request_use => :literal,
13
+ :response_style => :document, :response_use => :literal,
14
+ :faults => {"ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::LoginFault_"=>{:name=>"LoginFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} }
15
+ ],
16
+ [ "",
17
+ "subscribe",
18
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "subscribe"]],
19
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "subscribeResponse"]] ],
20
+ { :request_style => :document, :request_use => :literal,
21
+ :response_style => :document, :response_use => :literal,
22
+ :faults => {"ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} }
23
+ ],
24
+ [ "",
25
+ "subscribeWithExistingAccount",
26
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "subscribeWithExistingAccount"]],
27
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "subscribeResponse"]] ],
28
+ { :request_style => :document, :request_use => :literal,
29
+ :response_style => :document, :response_use => :literal,
30
+ :faults => {"ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} }
31
+ ],
32
+ [ "",
33
+ "create",
34
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "create"]],
35
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "createResponse"]] ],
36
+ { :request_style => :document, :request_use => :literal,
37
+ :response_style => :document, :response_use => :literal,
38
+ :faults => {"ZUORA::InvalidTypeFault_"=>{:name=>"InvalidTypeFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} }
39
+ ],
40
+ [ "",
41
+ "generate",
42
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "generate"]],
43
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "generateResponse"]] ],
44
+ { :request_style => :document, :request_use => :literal,
45
+ :response_style => :document, :response_use => :literal,
46
+ :faults => {"ZUORA::InvalidTypeFault_"=>{:name=>"InvalidTypeFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} }
47
+ ],
48
+ [ "",
49
+ "update",
50
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "update"]],
51
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "updateResponse"]] ],
52
+ { :request_style => :document, :request_use => :literal,
53
+ :response_style => :document, :response_use => :literal,
54
+ :faults => {"ZUORA::InvalidTypeFault_"=>{:name=>"InvalidTypeFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} }
55
+ ],
56
+ [ "",
57
+ "query",
58
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "query"]],
59
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "queryResponse"]] ],
60
+ { :request_style => :document, :request_use => :literal,
61
+ :response_style => :document, :response_use => :literal,
62
+ :faults => {"ZUORA::InvalidQueryLocatorFault_"=>{:name=>"InvalidQueryLocatorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::MalformedQueryFault_"=>{:name=>"MalformedQueryFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} }
63
+ ],
64
+ [ "",
65
+ "delete",
66
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "delete"]],
67
+ ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "deleteResponse"]] ],
68
+ { :request_style => :document, :request_use => :literal,
69
+ :response_style => :document, :response_use => :literal,
70
+ :faults => {"ZUORA::InvalidValueFault_"=>{:name=>"InvalidValueFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::InvalidTypeFault_"=>{:name=>"InvalidTypeFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} }
71
+ ]
72
+ ]
73
+
74
+ def initialize(endpoint_url = nil)
75
+ endpoint_url ||= $ZUORA_ENDPOINT
76
+ super(endpoint_url, nil)
77
+ streamhandler.client.connect_timeout = 360
78
+ streamhandler.client.receive_timeout = 360
79
+ self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
80
+ self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
81
+ end
82
+
83
+
84
+
85
+ def do_init(custom_fields)
86
+
87
+ if custom_fields
88
+ custom_fields.each do |zobject, field_names|
89
+ fields = field_names.map { |e| "#{e.strip}__c" }
90
+ type_class = Object.const_get('ZUORA').const_get(zobject)
91
+
92
+ product_definition = self.literal_mapping_registry.schema_definition_from_class(type_class)
93
+
94
+ fields.each do |field|
95
+ field_uncapitalize = field.gsub(/^\w/) { |i| i.downcase }
96
+ element_definition_input = [field_uncapitalize, ["SOAP::SOAPString", XSD::QName.new(ZUORA::DefaultMappingRegistry::NsObjectApiZuoraCom, field)], [0, 1]]
97
+ element_schema_definition = ::SOAP::Mapping::parse_schema_element_definition(element_definition_input, nil)
98
+ product_definition.elements << element_schema_definition
99
+ end
100
+ end
101
+ end
102
+
103
+ init_methods
104
+ end
105
+
106
+ private
107
+
108
+ def init_methods
109
+ Methods.each do |definitions|
110
+ opt = definitions.last
111
+ if opt[:request_style] == :document
112
+ add_document_operation(*definitions)
113
+ else
114
+ add_rpc_operation(*definitions)
115
+ qname = definitions[0]
116
+ name = definitions[2]
117
+ if qname.name != name and qname.name.capitalize == name.capitalize
118
+ ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
119
+ __send__(name, *arg)
120
+ end
121
+ end
122
+ end
123
+ end
124
+ end
125
+ end
126
+
127
+
128
+ end
@@ -0,0 +1,1488 @@
1
+ require 'soap/mapping'
2
+ #require 'soap/mapping/encodedregistry'
3
+ #require 'soap/mapping/literalregistry'
4
+
5
+ module ZUORA
6
+
7
+ module DefaultMappingRegistry
8
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
9
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
10
+ NsApiZuoraCom = "http://api.zuora.com/"
11
+ NsFaultApiZuoraCom = "http://fault.api.zuora.com/"
12
+ NsObjectApiZuoraCom = "http://object.api.zuora.com/"
13
+ NsXMLSchema = "http://www.w3.org/2001/XMLSchema"
14
+
15
+ EncodedRegistry.register(
16
+ :class => ZUORA::ZObject,
17
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
18
+ :schema_element => [
19
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
20
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]]
21
+ ]
22
+ )
23
+
24
+ EncodedRegistry.register(
25
+ :class => ZUORA::Account,
26
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Account"),
27
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
28
+ :schema_element => [
29
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
30
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
31
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountNumber")], [0, 1]],
32
+ ["allowInvoiceEdit", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "AllowInvoiceEdit")], [0, 1]],
33
+ ["autoPay", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "AutoPay")], [0, 1]],
34
+ ["batch", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Batch")], [0, 1]],
35
+ ["billCycleDay", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "BillCycleDay")], [0, 1]],
36
+ ["billToId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "BillToId")], [0, 1]],
37
+ ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CreatedDate")], [0, 1]],
38
+ ["crmId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CrmId")], [0, 1]],
39
+ ["currency", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Currency")], [0, 1]],
40
+ ["customerServiceRepName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CustomerServiceRepName")], [0, 1]],
41
+ ["defaultPaymentMethodId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "DefaultPaymentMethodId")], [0, 1]],
42
+ ["paymentGateway", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaymentGateway")], [0, 1]],
43
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
44
+ ["notes", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Notes")], [0, 1]],
45
+ ["paymentTerm", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaymentTerm")], [0, 1]],
46
+ ["purchaseOrderNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PurchaseOrderNumber")], [0, 1]],
47
+ ["salesRepName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SalesRepName")], [0, 1]],
48
+ ["soldToId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "SoldToId")], [0, 1]],
49
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
50
+ ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]],
51
+ ["invoiceDeliveryPrefsEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "InvoiceDeliveryPrefsEmail")], [0, 1]]
52
+ ]
53
+ )
54
+
55
+ EncodedRegistry.register(
56
+ :class => ZUORA::Refund,
57
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Refund"),
58
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
59
+ :schema_element => [
60
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
61
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
62
+ ["accountId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
63
+ ["accountingCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountingCode")], [0, 1]],
64
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
65
+ ["comment", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Comment")], [0, 1]],
66
+ ["createdById", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreatedById")], [0, 1]],
67
+ ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CreatedDate")], [0, 1]],
68
+ ["gateway", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Gateway")], [0, 1]],
69
+ ["gatewayResponse", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "GatewayResponse")], [0, 1]],
70
+ ["gatewayResponseCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "GatewayResponseCode")], [0, 1]],
71
+ ["methodType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "MethodType")], [0, 1]],
72
+ ["paymentId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "PaymentId")], [0, 1]],
73
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ReferenceID")], [0, 1]],
74
+ ["refundDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "RefundDate")], [0, 1]],
75
+ ["refundNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "RefundNumber")], [0, 1]],
76
+ ["refundTransactionTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "RefundTransactionTime")], [0, 1]],
77
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
78
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]]
79
+ ]
80
+ )
81
+
82
+ EncodedRegistry.register(
83
+ :class => ZUORA::Amendment,
84
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Amendment"),
85
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
86
+ :schema_element => [
87
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
88
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
89
+ ["contractEffectiveDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ContractEffectiveDate")], [0, 1]],
90
+ ["customerAcceptanceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CustomerAcceptanceDate")], [0, 1]],
91
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
92
+ ["effectiveDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveDate")], [0, 1]],
93
+ ["initialTerm", ["SOAP::SOAPLong", XSD::QName.new(NsObjectApiZuoraCom, "InitialTerm")], [0, 1]],
94
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
95
+ ["renewalTerm", ["SOAP::SOAPLong", XSD::QName.new(NsObjectApiZuoraCom, "RenewalTerm")], [0, 1]],
96
+ ["serviceActivationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ServiceActivationDate")], [0, 1]],
97
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
98
+ ["subscriptionId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "SubscriptionId")], [0, 1]],
99
+ ["termCommitment", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "TermCommitment")], [0, 1]],
100
+ ["termStartDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "TermStartDate")], [0, 1]],
101
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
102
+ ["ratePlanData", ["ZUORA::RatePlanData", XSD::QName.new(NsObjectApiZuoraCom, "RatePlanData")], [0, 1]]
103
+ ]
104
+ )
105
+
106
+ EncodedRegistry.register(
107
+ :class => ZUORA::Contact,
108
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Contact"),
109
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
110
+ :schema_element => [
111
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
112
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
113
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
114
+ ["address1", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Address1")], [0, 1]],
115
+ ["address2", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Address2")], [0, 1]],
116
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "City")], [0, 1]],
117
+ ["country", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Country")], [0, 1]],
118
+ ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CreatedDate")], [0, 1]],
119
+ ["fax", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Fax")], [0, 1]],
120
+ ["firstName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "FirstName")], [0, 1]],
121
+ ["homePhone", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "HomePhone")], [0, 1]],
122
+ ["lastName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "LastName")], [0, 1]],
123
+ ["mobilePhone", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "MobilePhone")], [0, 1]],
124
+ ["nickName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "NickName")], [0, 1]],
125
+ ["otherPhone", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "OtherPhone")], [0, 1]],
126
+ ["otherPhoneType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "OtherPhoneType")], [0, 1]],
127
+ ["personalEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PersonalEmail")], [0, 1]],
128
+ ["postalCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PostalCode")], [0, 1]],
129
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "State")], [0, 1]],
130
+ ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]],
131
+ ["workEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "WorkEmail")], [0, 1]],
132
+ ["workPhone", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "WorkPhone")], [0, 1]]
133
+ ]
134
+ )
135
+
136
+ EncodedRegistry.register(
137
+ :class => ZUORA::Invoice,
138
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Invoice"),
139
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
140
+ :schema_element => [
141
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
142
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
143
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
144
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
145
+ ["balance", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Balance")], [0, 1]],
146
+ ["body", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Body")], [0, 1]],
147
+ ["dueDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "DueDate")], [0, 1]],
148
+ ["invoiceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "InvoiceDate")], [0, 1]],
149
+ ["invoiceNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "InvoiceNumber")], [0, 1]],
150
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
151
+ ["targetDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "TargetDate")], [0, 1]]
152
+ ]
153
+ )
154
+
155
+ EncodedRegistry.register(
156
+ :class => ZUORA::InvoiceItemAdjustment,
157
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "InvoiceItemAdjustment"),
158
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
159
+ :schema_element => [
160
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
161
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
162
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
163
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
164
+ ["sourceId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "SourceId")], [0, 1]],
165
+ ["invoiceId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "InvoiceId")], [0, 1]],
166
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
167
+ ["sourceType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SourceType")], [0, 1]],
168
+ ["adjustmentDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "AdjustmentDate")], [0, 1]]
169
+ ]
170
+ )
171
+
172
+ EncodedRegistry.register(
173
+ :class => ZUORA::Payment,
174
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Payment"),
175
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
176
+ :schema_element => [
177
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
178
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
179
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
180
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
181
+ ["comment", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Comment")], [0, 1]],
182
+ ["effectiveDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveDate")], [0, 1]],
183
+ ["paymentMethodId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "PaymentMethodId")], [0, 1]],
184
+ ["referenceId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ReferenceId")], [0, 1]],
185
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
186
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]]
187
+ ]
188
+ )
189
+
190
+ EncodedRegistry.register(
191
+ :class => ZUORA::InvoicePayment,
192
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "InvoicePayment"),
193
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
194
+ :schema_element => [
195
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
196
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
197
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
198
+ ["invoiceId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "InvoiceId")], [0, 1]],
199
+ ["paymentId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "PaymentId")], [0, 1]]
200
+ ]
201
+ )
202
+
203
+ EncodedRegistry.register(
204
+ :class => ZUORA::PaymentMethod,
205
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "PaymentMethod"),
206
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
207
+ :schema_element => [
208
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
209
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
210
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
211
+ ["achAbaCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAbaCode")], [0, 1]],
212
+ ["achAccountName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAccountName")], [0, 1]],
213
+ ["achAccountNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAccountNumber")], [0, 1]],
214
+ ["achAccountNumberMask", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAccountNumberMask")], [0, 1]],
215
+ ["achAccountType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAccountType")], [0, 1]],
216
+ ["achBankName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchBankName")], [0, 1]],
217
+ ["active", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "Active")], [0, 1]],
218
+ ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CreatedDate")], [0, 1]],
219
+ ["creditCardAddress1", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardAddress1")], [0, 1]],
220
+ ["creditCardAddress2", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardAddress2")], [0, 1]],
221
+ ["creditCardCity", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardCity")], [0, 1]],
222
+ ["creditCardCountry", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardCountry")], [0, 1]],
223
+ ["creditCardExpirationMonth", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardExpirationMonth")], [0, 1]],
224
+ ["creditCardExpirationYear", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardExpirationYear")], [0, 1]],
225
+ ["creditCardHolderName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardHolderName")], [0, 1]],
226
+ ["creditCardMaskNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardMaskNumber")], [0, 1]],
227
+ ["creditCardNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardNumber")], [0, 1]],
228
+ ["creditCardPostalCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardPostalCode")], [0, 1]],
229
+ ["creditCardState", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardState")], [0, 1]],
230
+ ["creditCardType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardType")], [0, 1]],
231
+ ["lastTransactionDateTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "LastTransactionDateTime")], [0, 1]],
232
+ ["lastTransactionStatus", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "LastTransactionStatus")], [0, 1]],
233
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
234
+ ["paypalBaid", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaypalBaid")], [0, 1]],
235
+ ["paypalEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaypalEmail")], [0, 1]],
236
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
237
+ ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]],
238
+ ["numConsecutiveFailures", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "NumConsecutiveFailures")], [0, 1]]
239
+ ]
240
+ )
241
+
242
+ EncodedRegistry.register(
243
+ :class => ZUORA::Product,
244
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Product"),
245
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
246
+ :schema_element => [
247
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
248
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
249
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
250
+ ["effectiveEndDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveEndDate")], [0, 1]],
251
+ ["effectiveStartDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveStartDate")], [0, 1]],
252
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
253
+ ["sKU", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SKU")], [0, 1]]
254
+ ]
255
+ )
256
+
257
+ EncodedRegistry.register(
258
+ :class => ZUORA::ProductRatePlan,
259
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlan"),
260
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
261
+ :schema_element => [
262
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
263
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
264
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
265
+ ["effectiveEndDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveEndDate")], [0, 1]],
266
+ ["effectiveStartDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveStartDate")], [0, 1]],
267
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
268
+ ["productId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductId")], [0, 1]]
269
+ ]
270
+ )
271
+
272
+ EncodedRegistry.register(
273
+ :class => ZUORA::ProductRatePlanCharge,
274
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanCharge"),
275
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
276
+ :schema_element => [
277
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
278
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
279
+ ["accountingCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountingCode")], [0, 1]],
280
+ ["defaultQuantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "DefaultQuantity")], [0, 1]],
281
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
282
+ ["maxQuantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "MaxQuantity")], [0, 1]],
283
+ ["minQuantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "MinQuantity")], [0, 1]],
284
+ ["model", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Model")], [0, 1]],
285
+ ["productRatePlanId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanId")], [0, 1]],
286
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
287
+ ["uOM", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "UOM")], [0, 1]],
288
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
289
+ ["chargeModel", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeModel")], [0, 1]],
290
+ ["revRecCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "RevRecCode")], [0, 1]],
291
+ ["triggerEvent", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "TriggerEvent")], [0, 1]],
292
+ ["chargeType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeType")], [0, 1]],
293
+ ["billingPeriod", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "BillingPeriod")], [0, 1]],
294
+ ["billCycleType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "BillCycleType")], [0, 1]],
295
+ ["billingPeriodAlignement", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "BillingPeriodAlignement")], [0, 1]],
296
+ ["revRecTriggerCondition", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "RevRecTriggerCondition")], [0, 1]],
297
+ ["productRatePlanChargeTierData", ["ZUORA::ProductRatePlanChargeTierData", XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanChargeTierData")], [0, 1]]
298
+ ]
299
+ )
300
+
301
+ EncodedRegistry.register(
302
+ :class => ZUORA::ProductRatePlanChargeTierData,
303
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "ProductRatePlanChargeTierData"),
304
+ :schema_element => [
305
+ ["productRatePlanChargeTier", ["ZUORA::ProductRatePlanChargeTier[]", XSD::QName.new(NsApiZuoraCom, "ProductRatePlanChargeTier")], [0, nil]]
306
+ ]
307
+ )
308
+
309
+ EncodedRegistry.register(
310
+ :class => ZUORA::ProductRatePlanChargeTier,
311
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanChargeTier"),
312
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
313
+ :schema_element => [
314
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
315
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
316
+ ["endingUnit", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "EndingUnit")], [0, 1]],
317
+ ["price", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Price")], [0, 1]],
318
+ ["productRatePlanChargeId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanChargeId")], [0, 1]],
319
+ ["startingUnit", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "StartingUnit")], [0, 1]],
320
+ ["tier", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "Tier")], [0, 1]],
321
+ ["active", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "Active")], [0, 1]],
322
+ ["currency", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Currency")], [0, 1]]
323
+ ]
324
+ )
325
+
326
+ EncodedRegistry.register(
327
+ :class => ZUORA::RatePlan,
328
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "RatePlan"),
329
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
330
+ :schema_element => [
331
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
332
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
333
+ ["amendmentId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AmendmentId")], [0, 1]],
334
+ ["amendmentSubscriptionRatePlanId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AmendmentSubscriptionRatePlanId")], [0, 1]],
335
+ ["amendmentType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AmendmentType")], [0, 1]],
336
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
337
+ ["productRatePlanId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanId")], [0, 1]],
338
+ ["subscriptionId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "SubscriptionId")], [0, 1]]
339
+ ]
340
+ )
341
+
342
+ EncodedRegistry.register(
343
+ :class => ZUORA::RatePlanCharge,
344
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "RatePlanCharge"),
345
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
346
+ :schema_element => [
347
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
348
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
349
+ ["accountingCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountingCode")], [0, 1]],
350
+ ["chargeModel", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeModel")], [0, 1]],
351
+ ["chargeNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeNumber")], [0, 1]],
352
+ ["chargeType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeType")], [0, 1]],
353
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
354
+ ["dMRC", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "DMRC")], [0, 1]],
355
+ ["dTCV", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "DTCV")], [0, 1]],
356
+ ["includedUnits", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "IncludedUnits")], [0, 1]],
357
+ ["mRR", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "MRR")], [0, 1]],
358
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
359
+ ["numberOfPeriods", ["SOAP::SOAPLong", XSD::QName.new(NsObjectApiZuoraCom, "NumberOfPeriods")], [0, 1]],
360
+ ["overagePrice", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "OveragePrice")], [0, 1]],
361
+ ["price", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Price")], [0, 1]],
362
+ ["productRatePlanChargeId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanChargeId")], [0, 1]],
363
+ ["quantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Quantity")], [0, 1]],
364
+ ["ratePlanId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "RatePlanId")], [0, 1]],
365
+ ["tCV", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "TCV")], [0, 1]],
366
+ ["triggerEvent", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "TriggerEvent")], [0, 1]],
367
+ ["uOM", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "UOM")], [0, 1]],
368
+ ["chargedThroughDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ChargedThroughDate")], [0, 1]],
369
+ ]
370
+ )
371
+
372
+ EncodedRegistry.register(
373
+ :class => ZUORA::RatePlanChargeTier,
374
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "RatePlanChargeTier"),
375
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
376
+ :schema_element => [
377
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
378
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
379
+ ["endingUnit", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "EndingUnit")], [0, 1]],
380
+ ["price", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Price")], [0, 1]],
381
+ ["priceFormat", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PriceFormat")], [0, 1]],
382
+ ["ratePlanChargeId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "RatePlanChargeId")], [0, 1]],
383
+ ["startingUnit", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "StartingUnit")], [0, 1]],
384
+ ["tier", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "Tier")], [0, 1]]
385
+ ]
386
+ )
387
+
388
+ EncodedRegistry.register(
389
+ :class => ZUORA::Subscription,
390
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Subscription"),
391
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
392
+ :schema_element => [
393
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
394
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
395
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
396
+ ["autoRenew", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "AutoRenew")], [0, 1]],
397
+ ["cancelledDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CancelledDate")], [0, 1]],
398
+ ["contractAcceptanceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ContractAcceptanceDate")], [0, 1]],
399
+ ["contractEffectiveDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ContractEffectiveDate")], [0, 1]],
400
+ ["currency", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Currency")], [0, 1]],
401
+ ["initialTerm", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "InitialTerm")], [0, 1]],
402
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
403
+ ["notes", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Notes")], [0, 1]],
404
+ ["originalSubscriptionId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "OriginalSubscriptionId")], [0, 1]],
405
+ ["previousSubscriptionId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PreviousSubscriptionId")], [0, 1]],
406
+ ["renewalTerm", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "RenewalTerm")], [0, 1]],
407
+ ["serviceActivationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ServiceActivationDate")], [0, 1]],
408
+ ["subscriptionEndDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "SubscriptionEndDate")], [0, 1]],
409
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
410
+ ["termStartDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "TermStartDate")], [0, 1]],
411
+ ["version", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "Version")], [0, 1]]
412
+ ]
413
+ )
414
+
415
+ EncodedRegistry.register(
416
+ :class => ZUORA::Usage,
417
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Usage"),
418
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
419
+ :schema_element => [
420
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
421
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
422
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
423
+ ["chargeNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeNumber")], [0, 1]],
424
+ ["endDateTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EndDateTime")], [0, 1]],
425
+ ["quantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Quantity")], [0, 1]],
426
+ ["rbeStatus", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "RbeStatus")], [0, 1]],
427
+ ["sourceName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SourceName")], [0, 1]],
428
+ ["sourceType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SourceType")], [0, 1]],
429
+ ["startDateTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "StartDateTime")], [0, 1]],
430
+ ["submissionDateTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "SubmissionDateTime")], [0, 1]],
431
+ ["subscriptionNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SubscriptionNumber")], [0, 1]],
432
+ ["uOM", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "UOM")], [0, 1]]
433
+ ]
434
+ )
435
+
436
+ EncodedRegistry.register(
437
+ :class => ZUORA::LoginResult,
438
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "LoginResult"),
439
+ :schema_element => [
440
+ ["session", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "Session")]],
441
+ ["serverUrl", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "ServerUrl")]]
442
+ ]
443
+ )
444
+
445
+ EncodedRegistry.register(
446
+ :class => ZUORA::SubscribeRequest,
447
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscribeRequest"),
448
+ :schema_element => [
449
+ ["account", ["ZUORA::Account", XSD::QName.new(NsApiZuoraCom, "Account")], [0, 1]],
450
+ ["paymentMethod", ["ZUORA::PaymentMethod", XSD::QName.new(NsApiZuoraCom, "PaymentMethod")], [0, 1]],
451
+ ["billToContact", ["ZUORA::Contact", XSD::QName.new(NsApiZuoraCom, "BillToContact")], [0, 1]],
452
+ ["soldToContact", ["ZUORA::Contact", XSD::QName.new(NsApiZuoraCom, "SoldToContact")], [0, 1]],
453
+ ["subscribeOptions", ["ZUORA::SubscribeOptions", XSD::QName.new(NsApiZuoraCom, "SubscribeOptions")], [0, 1]],
454
+ ["subscriptionData", ["ZUORA::SubscriptionData", XSD::QName.new(NsApiZuoraCom, "SubscriptionData")], [0, 1]]
455
+ ]
456
+ )
457
+
458
+ EncodedRegistry.register(
459
+ :class => ZUORA::SubscribeWithExistingAccountRequest,
460
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscribeWithExistingAccountRequest"),
461
+ :schema_element => [
462
+ ["accountId", [nil, XSD::QName.new(NsApiZuoraCom, "AccountId")], [0, 1]],
463
+ ["subscribeOptions", ["ZUORA::SubscribeOptions", XSD::QName.new(NsApiZuoraCom, "SubscribeOptions")], [0, 1]],
464
+ ["subscriptionData", ["ZUORA::SubscriptionData", XSD::QName.new(NsApiZuoraCom, "SubscriptionData")], [0, 1]]
465
+ ]
466
+ )
467
+
468
+ EncodedRegistry.register(
469
+ :class => ZUORA::SubscribeOptions,
470
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscribeOptions"),
471
+ :schema_element => [
472
+ ["generateInvoice", ["SOAP::SOAPBoolean", XSD::QName.new(NsApiZuoraCom, "GenerateInvoice")], [0, 1]],
473
+ ["processPayments", ["SOAP::SOAPBoolean", XSD::QName.new(NsApiZuoraCom, "ProcessPayments")], [0, 1]]
474
+ ]
475
+ )
476
+
477
+ EncodedRegistry.register(
478
+ :class => ZUORA::SubscriptionData,
479
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscriptionData"),
480
+ :schema_element => [
481
+ ["subscription", ["ZUORA::Subscription", XSD::QName.new(NsApiZuoraCom, "Subscription")], [0, 1]],
482
+ ["ratePlanData", ["ZUORA::RatePlanData[]", XSD::QName.new(NsApiZuoraCom, "RatePlanData")], [0, nil]]
483
+ ]
484
+ )
485
+
486
+ EncodedRegistry.register(
487
+ :class => ZUORA::RatePlanData,
488
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "RatePlanData"),
489
+ :schema_element => [
490
+ ["ratePlan", ["ZUORA::RatePlan", XSD::QName.new(NsApiZuoraCom, "RatePlan")], [0, 1]],
491
+ ["ratePlanCharge", ["ZUORA::RatePlanCharge[]", XSD::QName.new(NsApiZuoraCom, "RatePlanCharge")], [0, nil]],
492
+ ["ratePlanChargeData", ["ZUORA::RatePlanChargeData[]", XSD::QName.new(NsApiZuoraCom, "RatePlanChargeData")], [0, nil]]
493
+ ]
494
+ )
495
+
496
+ EncodedRegistry.register(
497
+ :class => ZUORA::RatePlanChargeData,
498
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "RatePlanChargeData"),
499
+ :schema_element => [
500
+ ["ratePlanCharge", ["ZUORA::RatePlanCharge", XSD::QName.new(NsApiZuoraCom, "RatePlanCharge")], [0, nil]],
501
+ ["ratePlanChargeTier", ["ZUORA::RatePlanChargeTier[]", XSD::QName.new(NsApiZuoraCom, "ratePlanChargeTier")], [0, nil]]
502
+ ]
503
+ )
504
+
505
+ EncodedRegistry.register(
506
+ :class => ZUORA::SubscribeResult,
507
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscribeResult"),
508
+ :schema_element => [
509
+ ["accountId", [nil, XSD::QName.new(NsApiZuoraCom, "AccountId")], [0, 1]],
510
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "AccountNumber")], [0, 1]],
511
+ ["errors", ["ZUORA::Error[]", XSD::QName.new(NsApiZuoraCom, "Errors")], [0, nil]],
512
+ ["invoiceId", [nil, XSD::QName.new(NsApiZuoraCom, "InvoiceId")], [0, 1]],
513
+ ["invoiceNumber", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "InvoiceNumber")], [0, 1]],
514
+ ["paymentTransactionNumber", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "PaymentTransactionNumber")], [0, 1]],
515
+ ["subscriptionId", [nil, XSD::QName.new(NsApiZuoraCom, "SubscriptionId")], [0, 1]],
516
+ ["subscriptionNumber", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "SubscriptionNumber")], [0, 1]],
517
+ ["success", ["SOAP::SOAPBoolean", XSD::QName.new(NsApiZuoraCom, "Success")], [0, 1]]
518
+ ]
519
+ )
520
+
521
+ EncodedRegistry.register(
522
+ :class => ZUORA::SaveResult,
523
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SaveResult"),
524
+ :schema_element => [
525
+ ["errors", ["ZUORA::Error[]", XSD::QName.new(NsApiZuoraCom, "Errors")], [0, nil]],
526
+ ["id", [nil, XSD::QName.new(NsApiZuoraCom, "Id")], [0, 1]],
527
+ ["success", ["SOAP::SOAPBoolean", XSD::QName.new(NsApiZuoraCom, "Success")], [0, 1]]
528
+ ]
529
+ )
530
+
531
+ EncodedRegistry.register(
532
+ :class => ZUORA::DeleteResult,
533
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "DeleteResult"),
534
+ :schema_element => [
535
+ ["errors", "ZUORA::Error[]", [0, nil]],
536
+ ["id", nil, [0, 1]],
537
+ ["success", "SOAP::SOAPBoolean", [0, 1]]
538
+ ]
539
+ )
540
+
541
+ EncodedRegistry.register(
542
+ :class => ZUORA::QueryResult,
543
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "QueryResult"),
544
+ :schema_element => [
545
+ ["done", "SOAP::SOAPBoolean"],
546
+ ["queryLocator", nil],
547
+ ["records", "ZUORA::ZObject[]", [0, nil]],
548
+ ["size", "SOAP::SOAPInt"]
549
+ ]
550
+ )
551
+
552
+ EncodedRegistry.register(
553
+ :class => ZUORA::Error,
554
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "Error"),
555
+ :schema_element => [
556
+ ["code", ["ZUORA::ErrorCode", XSD::QName.new(NsApiZuoraCom, "Code")], [0, 1]],
557
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "Message")], [0, 1]],
558
+ ["field", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "Field")], [0, 1]]
559
+ ]
560
+ )
561
+
562
+ EncodedRegistry.register(
563
+ :class => ZUORA::ApiFault,
564
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
565
+ :schema_element => [
566
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
567
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
568
+ ]
569
+ )
570
+
571
+ EncodedRegistry.register(
572
+ :class => ZUORA::LoginFault,
573
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "LoginFault"),
574
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
575
+ :schema_element => [
576
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
577
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
578
+ ]
579
+ )
580
+
581
+ EncodedRegistry.register(
582
+ :class => ZUORA::InvalidTypeFault,
583
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "InvalidTypeFault"),
584
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
585
+ :schema_element => [
586
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
587
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
588
+ ]
589
+ )
590
+
591
+ EncodedRegistry.register(
592
+ :class => ZUORA::InvalidValueFault,
593
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "InvalidValueFault"),
594
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
595
+ :schema_element => [
596
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
597
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
598
+ ]
599
+ )
600
+
601
+ EncodedRegistry.register(
602
+ :class => ZUORA::MalformedQueryFault,
603
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "MalformedQueryFault"),
604
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
605
+ :schema_element => [
606
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
607
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
608
+ ]
609
+ )
610
+
611
+ EncodedRegistry.register(
612
+ :class => ZUORA::InvalidQueryLocatorFault,
613
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "InvalidQueryLocatorFault"),
614
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
615
+ :schema_element => [
616
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
617
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
618
+ ]
619
+ )
620
+
621
+ EncodedRegistry.register(
622
+ :class => ZUORA::UnexpectedErrorFault,
623
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "UnexpectedErrorFault"),
624
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
625
+ :schema_element => [
626
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
627
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
628
+ ]
629
+ )
630
+
631
+ EncodedRegistry.register(
632
+ :class => ZUORA::ErrorCode,
633
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "ErrorCode")
634
+ )
635
+
636
+ LiteralRegistry.register(
637
+ :class => ZUORA::ZObject,
638
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
639
+ :schema_element => [
640
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
641
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]]
642
+ ]
643
+ )
644
+
645
+ LiteralRegistry.register(
646
+ :class => ZUORA::Account,
647
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Account"),
648
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
649
+ :schema_element => [
650
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
651
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
652
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountNumber")], [0, 1]],
653
+ ["allowInvoiceEdit", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "AllowInvoiceEdit")], [0, 1]],
654
+ ["autoPay", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "AutoPay")], [0, 1]],
655
+ ["batch", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Batch")], [0, 1]],
656
+ ["billCycleDay", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "BillCycleDay")], [0, 1]],
657
+ ["billToId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "BillToId")], [0, 1]],
658
+ ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CreatedDate")], [0, 1]],
659
+ ["crmId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CrmId")], [0, 1]],
660
+ ["currency", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Currency")], [0, 1]],
661
+ ["customerServiceRepName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CustomerServiceRepName")], [0, 1]],
662
+ ["defaultPaymentMethodId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "DefaultPaymentMethodId")], [0, 1]],
663
+ ["paymentGateway", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaymentGateway")], [0, 1]],
664
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
665
+ ["notes", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Notes")], [0, 1]],
666
+ ["paymentTerm", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaymentTerm")], [0, 1]],
667
+ ["purchaseOrderNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PurchaseOrderNumber")], [0, 1]],
668
+ ["salesRepName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SalesRepName")], [0, 1]],
669
+ ["soldToId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "SoldToId")], [0, 1]],
670
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
671
+ ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]],
672
+ ["invoiceDeliveryPrefsEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "InvoiceDeliveryPrefsEmail")], [0, 1]]
673
+ ]
674
+ )
675
+
676
+ LiteralRegistry.register(
677
+ :class => ZUORA::Refund,
678
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Refund"),
679
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
680
+ :schema_element => [
681
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
682
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
683
+ ["accountId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
684
+ ["accountingCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountingCode")], [0, 1]],
685
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
686
+ ["comment", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Comment")], [0, 1]],
687
+ ["createdById", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreatedById")], [0, 1]],
688
+ ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CreatedDate")], [0, 1]],
689
+ ["gateway", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Gateway")], [0, 1]],
690
+ ["gatewayResponse", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "GatewayResponse")], [0, 1]],
691
+ ["gatewayResponseCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "GatewayResponseCode")], [0, 1]],
692
+ ["methodType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "MethodType")], [0, 1]],
693
+ ["paymentId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "PaymentId")], [0, 1]],
694
+ ["referenceID", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ReferenceID")], [0, 1]],
695
+ ["refundDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "RefundDate")], [0, 1]],
696
+ ["refundNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "RefundNumber")], [0, 1]],
697
+ ["refundTransactionTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "RefundTransactionTime")], [0, 1]],
698
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
699
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]]
700
+ ]
701
+ )
702
+
703
+ LiteralRegistry.register(
704
+ :class => ZUORA::Amendment,
705
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Amendment"),
706
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
707
+ :schema_element => [
708
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
709
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
710
+ ["contractEffectiveDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ContractEffectiveDate")], [0, 1]],
711
+ ["customerAcceptanceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CustomerAcceptanceDate")], [0, 1]],
712
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
713
+ ["effectiveDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveDate")], [0, 1]],
714
+ ["initialTerm", ["SOAP::SOAPLong", XSD::QName.new(NsObjectApiZuoraCom, "InitialTerm")], [0, 1]],
715
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
716
+ ["renewalTerm", ["SOAP::SOAPLong", XSD::QName.new(NsObjectApiZuoraCom, "RenewalTerm")], [0, 1]],
717
+ ["serviceActivationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ServiceActivationDate")], [0, 1]],
718
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
719
+ ["subscriptionId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "SubscriptionId")], [0, 1]],
720
+ ["termCommitment", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "TermCommitment")], [0, 1]],
721
+ ["termStartDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "TermStartDate")], [0, 1]],
722
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
723
+ ["ratePlanData", ["ZUORA::RatePlanData", XSD::QName.new(NsObjectApiZuoraCom, "RatePlanData")], [0, 1]]
724
+ ]
725
+ )
726
+
727
+ LiteralRegistry.register(
728
+ :class => ZUORA::Contact,
729
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Contact"),
730
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
731
+ :schema_element => [
732
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
733
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
734
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
735
+ ["address1", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Address1")], [0, 1]],
736
+ ["address2", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Address2")], [0, 1]],
737
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "City")], [0, 1]],
738
+ ["country", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Country")], [0, 1]],
739
+ ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CreatedDate")], [0, 1]],
740
+ ["fax", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Fax")], [0, 1]],
741
+ ["firstName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "FirstName")], [0, 1]],
742
+ ["homePhone", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "HomePhone")], [0, 1]],
743
+ ["lastName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "LastName")], [0, 1]],
744
+ ["mobilePhone", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "MobilePhone")], [0, 1]],
745
+ ["nickName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "NickName")], [0, 1]],
746
+ ["otherPhone", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "OtherPhone")], [0, 1]],
747
+ ["otherPhoneType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "OtherPhoneType")], [0, 1]],
748
+ ["personalEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PersonalEmail")], [0, 1]],
749
+ ["postalCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PostalCode")], [0, 1]],
750
+ ["state", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "State")], [0, 1]],
751
+ ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]],
752
+ ["workEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "WorkEmail")], [0, 1]],
753
+ ["workPhone", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "WorkPhone")], [0, 1]]
754
+ ]
755
+ )
756
+
757
+ LiteralRegistry.register(
758
+ :class => ZUORA::Invoice,
759
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Invoice"),
760
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
761
+ :schema_element => [
762
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
763
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
764
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
765
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
766
+ ["balance", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Balance")], [0, 1]],
767
+ ["body", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Body")], [0, 1]],
768
+ ["dueDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "DueDate")], [0, 1]],
769
+ ["invoiceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "InvoiceDate")], [0, 1]],
770
+ ["invoiceNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "InvoiceNumber")], [0, 1]],
771
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
772
+ ["targetDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "TargetDate")], [0, 1]]
773
+ ]
774
+ )
775
+
776
+ LiteralRegistry.register(
777
+ :class => ZUORA::InvoiceItemAdjustment,
778
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "InvoiceItemAdjustment"),
779
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
780
+ :schema_element => [
781
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
782
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
783
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
784
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
785
+ ["sourceId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "SourceId")], [0, 1]],
786
+ ["invoiceId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "InvoiceId")], [0, 1]],
787
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
788
+ ["sourceType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SourceType")], [0, 1]],
789
+ ["adjustmentDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "AdjustmentDate")], [0, 1]]
790
+ ]
791
+ )
792
+
793
+ LiteralRegistry.register(
794
+ :class => ZUORA::BillRun,
795
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Invoice"),
796
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
797
+ :schema_element => [
798
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
799
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
800
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
801
+ ["includesOneTime", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "IncludesOneTime")], [0, 1]],
802
+ ["includesRecurring", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "IncludesRecurring")], [0, 1]],
803
+ ["includesUsage", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "IncludesUsage")], [0, 1]],
804
+ ["invoiceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "InvoiceDate")], [0, 1]],
805
+ ["targetDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "TargetDate")], [0, 1]]
806
+ ]
807
+ )
808
+
809
+ LiteralRegistry.register(
810
+ :class => ZUORA::Payment,
811
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Payment"),
812
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
813
+ :schema_element => [
814
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
815
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
816
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
817
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
818
+ ["comment", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Comment")], [0, 1]],
819
+ ["effectiveDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveDate")], [0, 1]],
820
+ ["paymentMethodId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "PaymentMethodId")], [0, 1]],
821
+ ["referenceId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ReferenceId")], [0, 1]],
822
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
823
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]]
824
+ ]
825
+ )
826
+
827
+ LiteralRegistry.register(
828
+ :class => ZUORA::InvoicePayment,
829
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "InvoicePayment"),
830
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
831
+ :schema_element => [
832
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
833
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
834
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Amount")], [0, 1]],
835
+ ["invoiceId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "InvoiceId")], [0, 1]],
836
+ ["paymentId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "PaymentId")], [0, 1]]
837
+ ]
838
+ )
839
+
840
+ LiteralRegistry.register(
841
+ :class => ZUORA::PaymentMethod,
842
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "PaymentMethod"),
843
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
844
+ :schema_element => [
845
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
846
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
847
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
848
+ ["achAbaCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAbaCode")], [0, 1]],
849
+ ["achAccountName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAccountName")], [0, 1]],
850
+ ["achAccountNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAccountNumber")], [0, 1]],
851
+ ["achAccountNumberMask", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAccountNumberMask")], [0, 1]],
852
+ ["achAccountType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchAccountType")], [0, 1]],
853
+ ["achBankName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AchBankName")], [0, 1]],
854
+ ["active", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "Active")], [0, 1]],
855
+ ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CreatedDate")], [0, 1]],
856
+ ["creditCardAddress1", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardAddress1")], [0, 1]],
857
+ ["creditCardAddress2", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardAddress2")], [0, 1]],
858
+ ["creditCardCity", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardCity")], [0, 1]],
859
+ ["creditCardCountry", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardCountry")], [0, 1]],
860
+ ["creditCardExpirationMonth", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardExpirationMonth")], [0, 1]],
861
+ ["creditCardExpirationYear", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardExpirationYear")], [0, 1]],
862
+ ["creditCardHolderName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardHolderName")], [0, 1]],
863
+ ["creditCardMaskNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardMaskNumber")], [0, 1]],
864
+ ["creditCardNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardNumber")], [0, 1]],
865
+ ["creditCardPostalCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardPostalCode")], [0, 1]],
866
+ ["creditCardState", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardState")], [0, 1]],
867
+ ["creditCardType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "CreditCardType")], [0, 1]],
868
+ ["lastTransactionDateTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "LastTransactionDateTime")], [0, 1]],
869
+ ["lastTransactionStatus", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "LastTransactionStatus")], [0, 1]],
870
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
871
+ ["paypalBaid", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaypalBaid")], [0, 1]],
872
+ ["paypalEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaypalEmail")], [0, 1]],
873
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
874
+ ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]],
875
+ ["numConsecutiveFailures", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "NumConsecutiveFailures")], [0, 1]]
876
+ ]
877
+ )
878
+
879
+ LiteralRegistry.register(
880
+ :class => ZUORA::Product,
881
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Product"),
882
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
883
+ :schema_element => [
884
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
885
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
886
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
887
+ ["effectiveEndDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveEndDate")], [0, 1]],
888
+ ["effectiveStartDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveStartDate")], [0, 1]],
889
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
890
+ ["sKU", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SKU")], [0, 1]]
891
+ ]
892
+ )
893
+
894
+ LiteralRegistry.register(
895
+ :class => ZUORA::ProductRatePlan,
896
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlan"),
897
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
898
+ :schema_element => [
899
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
900
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
901
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
902
+ ["effectiveEndDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveEndDate")], [0, 1]],
903
+ ["effectiveStartDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EffectiveStartDate")], [0, 1]],
904
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
905
+ ["productId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductId")], [0, 1]]
906
+ ]
907
+ )
908
+
909
+ LiteralRegistry.register(
910
+ :class => ZUORA::ProductRatePlanCharge,
911
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanCharge"),
912
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
913
+ :schema_element => [
914
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
915
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
916
+ ["accountingCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountingCode")], [0, 1]],
917
+ ["defaultQuantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "DefaultQuantity")], [0, 1]],
918
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
919
+ ["maxQuantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "MaxQuantity")], [0, 1]],
920
+ ["minQuantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "MinQuantity")], [0, 1]],
921
+ ["model", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Model")], [0, 1]],
922
+ ["productRatePlanId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanId")], [0, 1]],
923
+ ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
924
+ ["uOM", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "UOM")], [0, 1]],
925
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
926
+ ["chargeModel", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeModel")], [0, 1]],
927
+ ["revRecCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "RevRecCode")], [0, 1]],
928
+ ["triggerEvent", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "TriggerEvent")], [0, 1]],
929
+ ["chargeType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeType")], [0, 1]],
930
+ ["billingPeriod", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "BillingPeriod")], [0, 1]],
931
+ ["billCycleType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "BillCycleType")], [0, 1]],
932
+ ["billingPeriodAlignement", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "BillingPeriodAlignement")], [0, 1]],
933
+ ["revRecTriggerCondition", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "RevRecTriggerCondition")], [0, 1]],
934
+ ["productRatePlanChargeTierData", ["ZUORA::ProductRatePlanChargeTierData", XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanChargeTierData")], [0, 1]]
935
+ ]
936
+ )
937
+
938
+ LiteralRegistry.register(
939
+ :class => ZUORA::ProductRatePlanChargeTierData,
940
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "ProductRatePlanChargeTierData"),
941
+ :schema_element => [
942
+ ["productRatePlanChargeTier", ["ZUORA::ProductRatePlanChargeTier[]", XSD::QName.new(NsApiZuoraCom, "ProductRatePlanChargeTier")], [0, nil]]
943
+ ]
944
+ )
945
+
946
+ LiteralRegistry.register(
947
+ :class => ZUORA::ProductRatePlanChargeTier,
948
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanChargeTier"),
949
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
950
+ :schema_element => [
951
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
952
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
953
+ ["endingUnit", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "EndingUnit")], [0, 1]],
954
+ ["price", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Price")], [0, 1]],
955
+ ["productRatePlanChargeId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanChargeId")], [0, 1]],
956
+ ["startingUnit", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "StartingUnit")], [0, 1]],
957
+ ["tier", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "Tier")], [0, 1]],
958
+ ["active", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "Active")], [0, 1]],
959
+ ["currency", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Currency")], [0, 1]]
960
+ ]
961
+ )
962
+
963
+ LiteralRegistry.register(
964
+ :class => ZUORA::RatePlan,
965
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "RatePlan"),
966
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
967
+ :schema_element => [
968
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
969
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
970
+ ["amendmentId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AmendmentId")], [0, 1]],
971
+ ["amendmentSubscriptionRatePlanId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AmendmentSubscriptionRatePlanId")], [0, 1]],
972
+ ["amendmentType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AmendmentType")], [0, 1]],
973
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
974
+ ["productRatePlanId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanId")], [0, 1]],
975
+ ["subscriptionId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "SubscriptionId")], [0, 1]]
976
+ ]
977
+ )
978
+
979
+ LiteralRegistry.register(
980
+ :class => ZUORA::RatePlanCharge,
981
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "RatePlanCharge"),
982
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
983
+ :schema_element => [
984
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
985
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
986
+ ["accountingCode", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "AccountingCode")], [0, 1]],
987
+ ["chargeModel", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeModel")], [0, 1]],
988
+ ["chargeNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeNumber")], [0, 1]],
989
+ ["chargeType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeType")], [0, 1]],
990
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Description")], [0, 1]],
991
+ ["dMRC", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "DMRC")], [0, 1]],
992
+ ["dTCV", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "DTCV")], [0, 1]],
993
+ ["includedUnits", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "IncludedUnits")], [0, 1]],
994
+ ["mRR", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "MRR")], [0, 1]],
995
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
996
+ ["numberOfPeriods", ["SOAP::SOAPLong", XSD::QName.new(NsObjectApiZuoraCom, "NumberOfPeriods")], [0, 1]],
997
+ ["overagePrice", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "OveragePrice")], [0, 1]],
998
+ ["price", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Price")], [0, 1]],
999
+ ["productRatePlanChargeId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "ProductRatePlanChargeId")], [0, 1]],
1000
+ ["quantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Quantity")], [0, 1]],
1001
+ ["ratePlanId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "RatePlanId")], [0, 1]],
1002
+ ["tCV", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "TCV")], [0, 1]],
1003
+ ["triggerEvent", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "TriggerEvent")], [0, 1]],
1004
+ ["uOM", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "UOM")], [0, 1]],
1005
+ ["chargedThroughDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ChargedThroughDate")], [0, 1]],
1006
+ ]
1007
+ )
1008
+
1009
+ LiteralRegistry.register(
1010
+ :class => ZUORA::RatePlanChargeTier,
1011
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "RatePlanChargeTier"),
1012
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
1013
+ :schema_element => [
1014
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
1015
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
1016
+ ["endingUnit", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "EndingUnit")], [0, 1]],
1017
+ ["price", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Price")], [0, 1]],
1018
+ ["priceFormat", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PriceFormat")], [0, 1]],
1019
+ ["ratePlanChargeId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "RatePlanChargeId")], [0, 1]],
1020
+ ["startingUnit", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "StartingUnit")], [0, 1]],
1021
+ ["tier", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "Tier")], [0, 1]]
1022
+ ]
1023
+ )
1024
+
1025
+ LiteralRegistry.register(
1026
+ :class => ZUORA::Subscription,
1027
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Subscription"),
1028
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
1029
+ :schema_element => [
1030
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
1031
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
1032
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
1033
+ ["autoRenew", ["SOAP::SOAPBoolean", XSD::QName.new(NsObjectApiZuoraCom, "AutoRenew")], [0, 1]],
1034
+ ["cancelledDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "CancelledDate")], [0, 1]],
1035
+ ["contractAcceptanceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ContractAcceptanceDate")], [0, 1]],
1036
+ ["contractEffectiveDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ContractEffectiveDate")], [0, 1]],
1037
+ ["currency", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Currency")], [0, 1]],
1038
+ ["initialTerm", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "InitialTerm")], [0, 1]],
1039
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Name")], [0, 1]],
1040
+ ["notes", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Notes")], [0, 1]],
1041
+ ["originalSubscriptionId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "OriginalSubscriptionId")], [0, 1]],
1042
+ ["previousSubscriptionId", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PreviousSubscriptionId")], [0, 1]],
1043
+ ["renewalTerm", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "RenewalTerm")], [0, 1]],
1044
+ ["serviceActivationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "ServiceActivationDate")], [0, 1]],
1045
+ ["subscriptionEndDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "SubscriptionEndDate")], [0, 1]],
1046
+ ["status", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Status")], [0, 1]],
1047
+ ["termStartDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "TermStartDate")], [0, 1]],
1048
+ ["version", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "Version")], [0, 1]]
1049
+ ]
1050
+ )
1051
+
1052
+ LiteralRegistry.register(
1053
+ :class => ZUORA::Usage,
1054
+ :schema_type => XSD::QName.new(NsObjectApiZuoraCom, "Usage"),
1055
+ :schema_basetype => XSD::QName.new(NsObjectApiZuoraCom, "zObject"),
1056
+ :schema_element => [
1057
+ ["fieldsToNull", "SOAP::SOAPString[]", [0, nil]],
1058
+ ["id", [nil, XSD::QName.new(NsObjectApiZuoraCom, "Id")], [0, 1]],
1059
+ ["accountId", [nil, XSD::QName.new(NsObjectApiZuoraCom, "AccountId")], [0, 1]],
1060
+ ["chargeNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "ChargeNumber")], [0, 1]],
1061
+ ["endDateTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "EndDateTime")], [0, 1]],
1062
+ ["quantity", ["SOAP::SOAPDouble", XSD::QName.new(NsObjectApiZuoraCom, "Quantity")], [0, 1]],
1063
+ ["rbeStatus", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "RbeStatus")], [0, 1]],
1064
+ ["sourceName", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SourceName")], [0, 1]],
1065
+ ["sourceType", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SourceType")], [0, 1]],
1066
+ ["startDateTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "StartDateTime")], [0, 1]],
1067
+ ["submissionDateTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "SubmissionDateTime")], [0, 1]],
1068
+ ["subscriptionNumber", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "SubscriptionNumber")], [0, 1]],
1069
+ ["uOM", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "UOM")], [0, 1]]
1070
+ ]
1071
+ )
1072
+
1073
+ LiteralRegistry.register(
1074
+ :class => ZUORA::LoginResult,
1075
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "LoginResult"),
1076
+ :schema_element => [
1077
+ ["session", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "Session")]],
1078
+ ["serverUrl", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "ServerUrl")]]
1079
+ ]
1080
+ )
1081
+
1082
+ LiteralRegistry.register(
1083
+ :class => ZUORA::SubscribeRequest,
1084
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscribeRequest"),
1085
+ :schema_element => [
1086
+ ["account", ["ZUORA::Account", XSD::QName.new(NsApiZuoraCom, "Account")], [0, 1]],
1087
+ ["paymentMethod", ["ZUORA::PaymentMethod", XSD::QName.new(NsApiZuoraCom, "PaymentMethod")], [0, 1]],
1088
+ ["billToContact", ["ZUORA::Contact", XSD::QName.new(NsApiZuoraCom, "BillToContact")], [0, 1]],
1089
+ ["soldToContact", ["ZUORA::Contact", XSD::QName.new(NsApiZuoraCom, "SoldToContact")], [0, 1]],
1090
+ ["subscribeOptions", ["ZUORA::SubscribeOptions", XSD::QName.new(NsApiZuoraCom, "SubscribeOptions")], [0, 1]],
1091
+ ["subscriptionData", ["ZUORA::SubscriptionData", XSD::QName.new(NsApiZuoraCom, "SubscriptionData")], [0, 1]]
1092
+ ]
1093
+ )
1094
+
1095
+ LiteralRegistry.register(
1096
+ :class => ZUORA::SubscribeWithExistingAccountRequest,
1097
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscribeWithExistingAccountRequest"),
1098
+ :schema_element => [
1099
+ ["accountId", [nil, XSD::QName.new(NsApiZuoraCom, "AccountId")], [0, 1]],
1100
+ ["subscribeOptions", ["ZUORA::SubscribeOptions", XSD::QName.new(NsApiZuoraCom, "SubscribeOptions")], [0, 1]],
1101
+ ["subscriptionData", ["ZUORA::SubscriptionData", XSD::QName.new(NsApiZuoraCom, "SubscriptionData")], [0, 1]]
1102
+ ]
1103
+ )
1104
+
1105
+ LiteralRegistry.register(
1106
+ :class => ZUORA::SubscribeOptions,
1107
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscribeOptions"),
1108
+ :schema_element => [
1109
+ ["generateInvoice", ["SOAP::SOAPBoolean", XSD::QName.new(NsApiZuoraCom, "GenerateInvoice")], [0, 1]],
1110
+ ["processPayments", ["SOAP::SOAPBoolean", XSD::QName.new(NsApiZuoraCom, "ProcessPayments")], [0, 1]]
1111
+ ]
1112
+ )
1113
+
1114
+ LiteralRegistry.register(
1115
+ :class => ZUORA::SubscriptionData,
1116
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscriptionData"),
1117
+ :schema_element => [
1118
+ ["subscription", ["ZUORA::Subscription", XSD::QName.new(NsApiZuoraCom, "Subscription")], [0, 1]],
1119
+ ["ratePlanData", ["ZUORA::RatePlanData[]", XSD::QName.new(NsApiZuoraCom, "RatePlanData")], [0, nil]]
1120
+ ]
1121
+ )
1122
+
1123
+ LiteralRegistry.register(
1124
+ :class => ZUORA::RatePlanData,
1125
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "RatePlanData"),
1126
+ :schema_element => [
1127
+ ["ratePlan", ["ZUORA::RatePlan", XSD::QName.new(NsApiZuoraCom, "RatePlan")], [0, 1]],
1128
+ ["ratePlanCharge", ["ZUORA::RatePlanCharge[]", XSD::QName.new(NsApiZuoraCom, "RatePlanCharge")], [0, nil]],
1129
+ ["ratePlanChargeData", ["ZUORA::RatePlanChargeData[]", XSD::QName.new(NsApiZuoraCom, "RatePlanChargeData")], [0, nil]]
1130
+ ]
1131
+ )
1132
+
1133
+ LiteralRegistry.register(
1134
+ :class => ZUORA::RatePlanChargeData,
1135
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "RatePlanChargeData"),
1136
+ :schema_element => [
1137
+ ["ratePlanCharge", ["ZUORA::RatePlanCharge", XSD::QName.new(NsApiZuoraCom, "RatePlanCharge")], [0, nil]],
1138
+ ["ratePlanChargeTier", ["ZUORA::RatePlanChargeTier[]", XSD::QName.new(NsApiZuoraCom, "ratePlanChargeTier")], [0, nil]]
1139
+ ]
1140
+ )
1141
+
1142
+ LiteralRegistry.register(
1143
+ :class => ZUORA::SubscribeResult,
1144
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SubscribeResult"),
1145
+ :schema_element => [
1146
+ ["accountId", [nil, XSD::QName.new(NsApiZuoraCom, "AccountId")], [0, 1]],
1147
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "AccountNumber")], [0, 1]],
1148
+ ["errors", ["ZUORA::Error[]", XSD::QName.new(NsApiZuoraCom, "Errors")], [0, nil]],
1149
+ ["invoiceId", [nil, XSD::QName.new(NsApiZuoraCom, "InvoiceId")], [0, 1]],
1150
+ ["invoiceNumber", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "InvoiceNumber")], [0, 1]],
1151
+ ["paymentTransactionNumber", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "PaymentTransactionNumber")], [0, 1]],
1152
+ ["subscriptionId", [nil, XSD::QName.new(NsApiZuoraCom, "SubscriptionId")], [0, 1]],
1153
+ ["subscriptionNumber", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "SubscriptionNumber")], [0, 1]],
1154
+ ["success", ["SOAP::SOAPBoolean", XSD::QName.new(NsApiZuoraCom, "Success")], [0, 1]]
1155
+ ]
1156
+ )
1157
+
1158
+ LiteralRegistry.register(
1159
+ :class => ZUORA::SaveResult,
1160
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "SaveResult"),
1161
+ :schema_element => [
1162
+ ["errors", ["ZUORA::Error[]", XSD::QName.new(NsApiZuoraCom, "Errors")], [0, nil]],
1163
+ ["id", [nil, XSD::QName.new(NsApiZuoraCom, "Id")], [0, 1]],
1164
+ ["success", ["SOAP::SOAPBoolean", XSD::QName.new(NsApiZuoraCom, "Success")], [0, 1]]
1165
+ ]
1166
+ )
1167
+
1168
+ LiteralRegistry.register(
1169
+ :class => ZUORA::DeleteResult,
1170
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "DeleteResult"),
1171
+ :schema_element => [
1172
+ ["errors", "ZUORA::Error[]", [0, nil]],
1173
+ ["id", nil, [0, 1]],
1174
+ ["success", "SOAP::SOAPBoolean", [0, 1]]
1175
+ ]
1176
+ )
1177
+
1178
+ LiteralRegistry.register(
1179
+ :class => ZUORA::QueryResult,
1180
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "QueryResult"),
1181
+ :schema_element => [
1182
+ ["done", "SOAP::SOAPBoolean"],
1183
+ ["queryLocator", nil],
1184
+ ["records", "ZUORA::ZObject[]", [0, nil]],
1185
+ ["size", "SOAP::SOAPInt"]
1186
+ ]
1187
+ )
1188
+
1189
+ LiteralRegistry.register(
1190
+ :class => ZUORA::Error,
1191
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "Error"),
1192
+ :schema_element => [
1193
+ ["code", ["ZUORA::ErrorCode", XSD::QName.new(NsApiZuoraCom, "Code")], [0, 1]],
1194
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "Message")], [0, 1]],
1195
+ ["field", ["SOAP::SOAPString", XSD::QName.new(NsApiZuoraCom, "Field")], [0, 1]]
1196
+ ]
1197
+ )
1198
+
1199
+ LiteralRegistry.register(
1200
+ :class => ZUORA::ApiFault,
1201
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
1202
+ :schema_element => [
1203
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1204
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1205
+ ]
1206
+ )
1207
+
1208
+ LiteralRegistry.register(
1209
+ :class => ZUORA::LoginFault,
1210
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "LoginFault"),
1211
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
1212
+ :schema_element => [
1213
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1214
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1215
+ ]
1216
+ )
1217
+
1218
+ LiteralRegistry.register(
1219
+ :class => ZUORA::InvalidTypeFault,
1220
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "InvalidTypeFault"),
1221
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
1222
+ :schema_element => [
1223
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1224
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1225
+ ]
1226
+ )
1227
+
1228
+ LiteralRegistry.register(
1229
+ :class => ZUORA::InvalidValueFault,
1230
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "InvalidValueFault"),
1231
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
1232
+ :schema_element => [
1233
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1234
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1235
+ ]
1236
+ )
1237
+
1238
+ LiteralRegistry.register(
1239
+ :class => ZUORA::MalformedQueryFault,
1240
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "MalformedQueryFault"),
1241
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
1242
+ :schema_element => [
1243
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1244
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1245
+ ]
1246
+ )
1247
+
1248
+ LiteralRegistry.register(
1249
+ :class => ZUORA::InvalidQueryLocatorFault,
1250
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "InvalidQueryLocatorFault"),
1251
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
1252
+ :schema_element => [
1253
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1254
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1255
+ ]
1256
+ )
1257
+
1258
+ LiteralRegistry.register(
1259
+ :class => ZUORA::UnexpectedErrorFault,
1260
+ :schema_type => XSD::QName.new(NsFaultApiZuoraCom, "UnexpectedErrorFault"),
1261
+ :schema_basetype => XSD::QName.new(NsFaultApiZuoraCom, "ApiFault"),
1262
+ :schema_element => [
1263
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1264
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1265
+ ]
1266
+ )
1267
+
1268
+ LiteralRegistry.register(
1269
+ :class => ZUORA::ErrorCode,
1270
+ :schema_type => XSD::QName.new(NsApiZuoraCom, "ErrorCode")
1271
+ )
1272
+
1273
+ LiteralRegistry.register(
1274
+ :class => ZUORA::Login,
1275
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "login"),
1276
+ :schema_element => [
1277
+ ["username", "SOAP::SOAPString", [0, 1]],
1278
+ ["password", "SOAP::SOAPString", [0, 1]]
1279
+ ]
1280
+ )
1281
+
1282
+ LiteralRegistry.register(
1283
+ :class => ZUORA::LoginResponse,
1284
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "loginResponse"),
1285
+ :schema_element => [
1286
+ ["result", "ZUORA::LoginResult", [0, 1]]
1287
+ ]
1288
+ )
1289
+
1290
+ LiteralRegistry.register(
1291
+ :class => ZUORA::Subscribe,
1292
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "subscribe"),
1293
+ :schema_element => [
1294
+ ["subscribes", "ZUORA::SubscribeRequest[]", [0, nil]]
1295
+ ]
1296
+ )
1297
+
1298
+ LiteralRegistry.register(
1299
+ :class => ZUORA::SubscribeWithExistingAccount,
1300
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "subscribeWithExistingAccount"),
1301
+ :schema_element => [
1302
+ ["subscribeWithExistingAccounts", "ZUORA::SubscribeWithExistingAccountRequest[]", [0, nil]]
1303
+ ]
1304
+ )
1305
+
1306
+ LiteralRegistry.register(
1307
+ :class => ZUORA::SubscribeResponse,
1308
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "subscribeResponse"),
1309
+ :schema_element => [
1310
+ ["result", "ZUORA::SubscribeResult[]", [0, nil]]
1311
+ ]
1312
+ )
1313
+
1314
+ LiteralRegistry.register(
1315
+ :class => ZUORA::Create,
1316
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "create"),
1317
+ :schema_element => [
1318
+ ["zObjects", "ZUORA::ZObject[]", [0, nil]]
1319
+ ]
1320
+ )
1321
+
1322
+ LiteralRegistry.register(
1323
+ :class => ZUORA::CreateResponse,
1324
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "createResponse"),
1325
+ :schema_element => [
1326
+ ["result", "ZUORA::SaveResult[]", [0, nil]]
1327
+ ]
1328
+ )
1329
+
1330
+ LiteralRegistry.register(
1331
+ :class => ZUORA::Generate,
1332
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "generate"),
1333
+ :schema_element => [
1334
+ ["zObjects", "ZUORA::ZObject[]", [0, nil]]
1335
+ ]
1336
+ )
1337
+
1338
+ LiteralRegistry.register(
1339
+ :class => ZUORA::GenerateResponse,
1340
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "generateResponse"),
1341
+ :schema_element => [
1342
+ ["result", "ZUORA::SaveResult[]", [0, nil]]
1343
+ ]
1344
+ )
1345
+
1346
+ LiteralRegistry.register(
1347
+ :class => ZUORA::Update,
1348
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "update"),
1349
+ :schema_element => [
1350
+ ["zObjects", "ZUORA::ZObject[]", [0, nil]]
1351
+ ]
1352
+ )
1353
+
1354
+ LiteralRegistry.register(
1355
+ :class => ZUORA::UpdateResponse,
1356
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "updateResponse"),
1357
+ :schema_element => [
1358
+ ["result", "ZUORA::SaveResult[]", [0, nil]]
1359
+ ]
1360
+ )
1361
+
1362
+ LiteralRegistry.register(
1363
+ :class => ZUORA::Delete,
1364
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "delete"),
1365
+ :schema_element => [
1366
+ ["type", "SOAP::SOAPString"],
1367
+ ["ids", "[]", [0, nil]]
1368
+ ]
1369
+ )
1370
+
1371
+ LiteralRegistry.register(
1372
+ :class => ZUORA::DeleteResponse,
1373
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "deleteResponse"),
1374
+ :schema_element => [
1375
+ ["result", "ZUORA::DeleteResult[]", [0, nil]]
1376
+ ]
1377
+ )
1378
+
1379
+ LiteralRegistry.register(
1380
+ :class => ZUORA::Query,
1381
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "query"),
1382
+ :schema_element => [
1383
+ ["queryString", "SOAP::SOAPString"]
1384
+ ]
1385
+ )
1386
+
1387
+ LiteralRegistry.register(
1388
+ :class => ZUORA::QueryResponse,
1389
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "queryResponse"),
1390
+ :schema_element => [
1391
+ ["result", "ZUORA::QueryResult"]
1392
+ ]
1393
+ )
1394
+
1395
+ LiteralRegistry.register(
1396
+ :class => ZUORA::SessionHeader,
1397
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "SessionHeader"),
1398
+ :schema_element => [
1399
+ ["session", "SOAP::SOAPString"]
1400
+ ]
1401
+ )
1402
+
1403
+ LiteralRegistry.register(
1404
+ :class => ZUORA::DummyHeader,
1405
+ :schema_name => XSD::QName.new(NsApiZuoraCom, "DummyHeader"),
1406
+ :schema_element => [
1407
+ ["account", ["ZUORA::Account", XSD::QName.new(NsApiZuoraCom, "Account")], [0, 1]],
1408
+ ["amendment", ["ZUORA::Amendment", XSD::QName.new(NsApiZuoraCom, "Amendment")], [0, 1]],
1409
+ ["invoice", ["ZUORA::Invoice", XSD::QName.new(NsApiZuoraCom, "Invoice")], [0, 1]],
1410
+ ["payment", ["ZUORA::Payment", XSD::QName.new(NsApiZuoraCom, "Payment")], [0, 1]],
1411
+ ["invoicePayment", ["ZUORA::InvoicePayment", XSD::QName.new(NsApiZuoraCom, "InvoicePayment")], [0, 1]],
1412
+ ["product", ["ZUORA::Product", XSD::QName.new(NsApiZuoraCom, "Product")], [0, 1]],
1413
+ ["productRatePlan", ["ZUORA::ProductRatePlan", XSD::QName.new(NsApiZuoraCom, "ProductRatePlan")], [0, 1]],
1414
+ ["productRatePlanCharge", ["ZUORA::ProductRatePlanCharge", XSD::QName.new(NsApiZuoraCom, "ProductRatePlanCharge")], [0, 1]],
1415
+ ["productRatePlanChargeTier", ["ZUORA::ProductRatePlanChargeTier", XSD::QName.new(NsApiZuoraCom, "ProductRatePlanChargeTier")], [0, 1]],
1416
+ ["ratePlan", ["ZUORA::RatePlan", XSD::QName.new(NsApiZuoraCom, "RatePlan")], [0, 1]],
1417
+ ["ratePlanCharge", ["ZUORA::RatePlanCharge", XSD::QName.new(NsApiZuoraCom, "RatePlanCharge")], [0, 1]],
1418
+ ["ratePlanChargeTier", ["ZUORA::RatePlanChargeTier", XSD::QName.new(NsApiZuoraCom, "RatePlanChargeTier")], [0, 1]],
1419
+ ["usage", ["ZUORA::Usage", XSD::QName.new(NsApiZuoraCom, "Usage")], [0, 1]],
1420
+ ["any", [nil, XSD::QName.new(NsXMLSchema, "anyType")]]
1421
+ ]
1422
+ )
1423
+
1424
+ LiteralRegistry.register(
1425
+ :class => ZUORA::ApiFault,
1426
+ :schema_name => XSD::QName.new(NsFaultApiZuoraCom, "fault"),
1427
+ :schema_element => [
1428
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1429
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1430
+ ]
1431
+ )
1432
+
1433
+ LiteralRegistry.register(
1434
+ :class => ZUORA::LoginFault,
1435
+ :schema_name => XSD::QName.new(NsFaultApiZuoraCom, "LoginFault"),
1436
+ :schema_element => [
1437
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1438
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1439
+ ]
1440
+ )
1441
+
1442
+ LiteralRegistry.register(
1443
+ :class => ZUORA::InvalidTypeFault,
1444
+ :schema_name => XSD::QName.new(NsFaultApiZuoraCom, "InvalidTypeFault"),
1445
+ :schema_element => [
1446
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1447
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1448
+ ]
1449
+ )
1450
+
1451
+ LiteralRegistry.register(
1452
+ :class => ZUORA::InvalidValueFault,
1453
+ :schema_name => XSD::QName.new(NsFaultApiZuoraCom, "InvalidValueFault"),
1454
+ :schema_element => [
1455
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1456
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1457
+ ]
1458
+ )
1459
+
1460
+ LiteralRegistry.register(
1461
+ :class => ZUORA::MalformedQueryFault,
1462
+ :schema_name => XSD::QName.new(NsFaultApiZuoraCom, "MalformedQueryFault"),
1463
+ :schema_element => [
1464
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1465
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1466
+ ]
1467
+ )
1468
+
1469
+ LiteralRegistry.register(
1470
+ :class => ZUORA::InvalidQueryLocatorFault,
1471
+ :schema_name => XSD::QName.new(NsFaultApiZuoraCom, "InvalidQueryLocatorFault"),
1472
+ :schema_element => [
1473
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1474
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1475
+ ]
1476
+ )
1477
+
1478
+ LiteralRegistry.register(
1479
+ :class => ZUORA::UnexpectedErrorFault,
1480
+ :schema_name => XSD::QName.new(NsFaultApiZuoraCom, "UnexpectedErrorFault"),
1481
+ :schema_element => [
1482
+ ["faultCode", ["ZUORA::ErrorCode", XSD::QName.new(NsFaultApiZuoraCom, "FaultCode")], [0, 1]],
1483
+ ["faultMessage", ["SOAP::SOAPString", XSD::QName.new(NsFaultApiZuoraCom, "FaultMessage")], [0, 1]]
1484
+ ]
1485
+ )
1486
+ end
1487
+
1488
+ end