authorizenet 1.8.2 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff5759dc180906c1a4e49eaa3806666c21e97d80
4
- data.tar.gz: 8f68a83f8feb9df35fbbf41c5802666c3a0dd451
3
+ metadata.gz: 4718d33aa0d3e2b65856c81e74133cf1454ce3d2
4
+ data.tar.gz: 639e808d03897fefb6cead0f4183c71176631a0e
5
5
  SHA512:
6
- metadata.gz: 0ff763839bf9cc2f6fda6f0a4ac93e86ed93c6d9774af353d8f79a9a398f8a20e2894ad928c16b5810f6f10ebbf8775bbaca08fce87c06f0a346107849dccb65
7
- data.tar.gz: 5bdf56b8ffa4586f9a93d964147d167b9e644a1b9eb57948184713d9f91ee6c83612180c35f3e8064a7fa89d8341e1539746fae527fdffad85097d18acb60201
6
+ metadata.gz: d392135a2cbe8452890469a2d8bcc183f897623effd6112dcd99b326d5478385bc953b993e54cafcdf1ad43b71da164bd1dae9880d46f06748d52d01973ace41
7
+ data.tar.gz: a5e26fdb93d9819f0ebebc18e09711406fae3212baa9afa84db19265873757caec40fc430cfd9f8d7bc610bae5785fd9b169c38a06cf177cdfc2f9ae13f90025
data/lib/authorize_net.rb CHANGED
@@ -43,6 +43,11 @@ require "authorize_net/fields"
43
43
  require "authorize_net/aim/transaction"
44
44
  require "authorize_net/aim/response"
45
45
 
46
+ # API
47
+ require "authorize_net/api/schema"
48
+ require "authorize_net/api/api_transaction"
49
+ require "authorize_net/api/transaction"
50
+
46
51
  # SIM
47
52
 
48
53
  require "authorize_net/sim/hosted_payment_form"
@@ -0,0 +1,63 @@
1
+ module AuthorizeNet::API
2
+ class ApiTransaction < AuthorizeNet::XmlTransaction
3
+
4
+ module Type
5
+ API_CREATE_TRANSACTION = "createTransactionRequest"
6
+ API_CREATE_CUSTOMER_PROFILE_FROM_TRANSACTION = "createCustomerProfileFromTransactionRequest"
7
+ API_DELETE_CUSTOMER_PROFILE = "deleteCustomerProfileRequest"
8
+ end
9
+
10
+ def initialize(api_login_id, api_transaction_key, options = {})
11
+ super
12
+ end
13
+
14
+ def make_request(request,responseClass,type)
15
+ unless responseClass.nil? or request.nil?
16
+ begin
17
+ @xml = serialize(request,type)
18
+ respXml = send_request(@xml)
19
+ @response = deserialize(respXml.body,responseClass)
20
+ rescue Exception => ex
21
+ ex
22
+ end
23
+ end
24
+ end
25
+
26
+ def serialize(object,type)
27
+ doc = Nokogiri::XML::Document.new
28
+ doc.root = object.to_xml
29
+
30
+ builder = Nokogiri::XML::Builder.new(:encoding => 'utf-8') do |x|
31
+ x.send(type.to_sym, :xmlns => XML_NAMESPACE) {
32
+ x.merchantAuthentication {
33
+ x.name @api_login_id
34
+ x.transactionKey @api_transaction_key
35
+ }
36
+ x.send:insert, doc.root.element_children
37
+ }
38
+ end
39
+ builder.to_xml
40
+ end
41
+
42
+ def send_request(xml)
43
+ url = URI.parse(@gateway)
44
+
45
+ httpRequest = Net::HTTP::Post.new(url.path)
46
+ httpRequest.content_type = 'text/xml'
47
+ httpRequest.body = xml
48
+ connection = Net::HTTP.new(url.host, url.port)
49
+ connection.use_ssl = true
50
+ if @verify_ssl
51
+ connection.verify_mode = OpenSSL::SSL::VERIFY_PEER
52
+ else
53
+ connection.verify_mode = OpenSSL::SSL::VERIFY_NONE
54
+ end
55
+
56
+ response = connection.start {|http| http.request(httpRequest)}
57
+ end
58
+
59
+ def deserialize(xml,responseClass)
60
+ responseClass.from_xml(xml)
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,3968 @@
1
+ #require 'xsd/qname'
2
+ require 'roxml'
3
+
4
+ module AuthorizeNet::API
5
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfLong
6
+ class ArrayOfLong < ::Array
7
+ end
8
+
9
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfNumericString
10
+ class ArrayOfNumericString
11
+ include ROXML
12
+ xml_accessor :numericStrings, :as => [Fixnum]
13
+ def initialize(numericStrings = [])
14
+ @numericStrings = numericStrings
15
+ end
16
+ end
17
+
18
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfString
19
+ class ArrayOfString < ::Array
20
+ end
21
+
22
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfBatchStatisticType
23
+ class ArrayOfBatchStatisticType < ::Array
24
+ end
25
+
26
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfBatchDetailsType
27
+ class ArrayOfBatchDetailsType < ::Array
28
+ end
29
+
30
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfTransactionSummaryType
31
+ class ArrayOfTransactionSummaryType < ::Array
32
+ end
33
+
34
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSetting
35
+ class ArrayOfSetting < ::Array
36
+ end
37
+
38
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emailSettingsType
39
+ # setting - SettingType
40
+ # xmlattr_version - SOAP::SOAPInteger
41
+ class EmailSettingsType
42
+ include ROXML
43
+ #AttrVersion = XSD::QName.new(nil, "version")
44
+
45
+ xml_accessor :setting
46
+
47
+ def __xmlattr
48
+ @__xmlattr ||= {}
49
+ end
50
+
51
+ def xmlattr_version
52
+ __xmlattr[AttrVersion]
53
+ end
54
+
55
+ def xmlattr_version=(value)
56
+ __xmlattr[AttrVersion] = value
57
+ end
58
+
59
+ def initialize(setting = [])
60
+ @setting = setting
61
+ @__xmlattr = {}
62
+ end
63
+ end
64
+
65
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfFDSFilter
66
+ class ArrayOfFDSFilter < ::Array
67
+ end
68
+
69
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfPermissionType
70
+ class ArrayOfPermissionType < ::Array
71
+ end
72
+
73
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}driversLicenseType
74
+ # number - SOAP::SOAPString
75
+ # state - SOAP::SOAPString
76
+ # dateOfBirth - SOAP::SOAPString
77
+ class DriversLicenseType
78
+ include ROXML
79
+ xml_accessor :number
80
+ xml_accessor :state
81
+ xml_accessor :dateOfBirth
82
+
83
+ def initialize(number = nil, state = nil, dateOfBirth = nil)
84
+ @number = number
85
+ @state = state
86
+ @dateOfBirth = dateOfBirth
87
+ end
88
+ end
89
+
90
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}driversLicenseMaskedType
91
+ # number - SOAP::SOAPString
92
+ # state - SOAP::SOAPString
93
+ # dateOfBirth - SOAP::SOAPString
94
+ class DriversLicenseMaskedType
95
+ include ROXML
96
+ xml_accessor :number
97
+ xml_accessor :state
98
+ xml_accessor :dateOfBirth
99
+
100
+ def initialize(number = nil, state = nil, dateOfBirth = nil)
101
+ @number = number
102
+ @state = state
103
+ @dateOfBirth = dateOfBirth
104
+ end
105
+ end
106
+
107
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}nameAndAddressType
108
+ # firstName - SOAP::SOAPString
109
+ # lastName - SOAP::SOAPString
110
+ # company - SOAP::SOAPString
111
+ # address - SOAP::SOAPString
112
+ # city - SOAP::SOAPString
113
+ # state - SOAP::SOAPString
114
+ # zip - SOAP::SOAPString
115
+ # country - SOAP::SOAPString
116
+ class NameAndAddressType
117
+ include ROXML
118
+ xml_accessor :firstName
119
+ xml_accessor :lastName
120
+ xml_accessor :company
121
+ xml_accessor :address
122
+ xml_accessor :city
123
+ xml_accessor :state
124
+ xml_accessor :zip
125
+ xml_accessor :country
126
+
127
+ def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil)
128
+ @firstName = firstName
129
+ @lastName = lastName
130
+ @company = company
131
+ @address = address
132
+ @city = city
133
+ @state = state
134
+ @zip = zip
135
+ @country = country
136
+ end
137
+ end
138
+
139
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerAddressType
140
+ # firstName - SOAP::SOAPString
141
+ # lastName - SOAP::SOAPString
142
+ # company - SOAP::SOAPString
143
+ # address - SOAP::SOAPString
144
+ # city - SOAP::SOAPString
145
+ # state - SOAP::SOAPString
146
+ # zip - SOAP::SOAPString
147
+ # country - SOAP::SOAPString
148
+ # phoneNumber - SOAP::SOAPString
149
+ # faxNumber - SOAP::SOAPString
150
+ class CustomerAddressType
151
+ include ROXML
152
+ xml_accessor :firstName
153
+ xml_accessor :lastName
154
+ xml_accessor :company
155
+ xml_accessor :address
156
+ xml_accessor :city
157
+ xml_accessor :state
158
+ xml_accessor :zip
159
+ xml_accessor :country
160
+ xml_accessor :phoneNumber
161
+ xml_accessor :faxNumber
162
+
163
+ def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil, phoneNumber = nil, faxNumber = nil)
164
+ @firstName = firstName
165
+ @lastName = lastName
166
+ @company = company
167
+ @address = address
168
+ @city = city
169
+ @state = state
170
+ @zip = zip
171
+ @country = country
172
+ @phoneNumber = phoneNumber
173
+ @faxNumber = faxNumber
174
+ end
175
+ end
176
+
177
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerAddressExType
178
+ # firstName - SOAP::SOAPString
179
+ # lastName - SOAP::SOAPString
180
+ # company - SOAP::SOAPString
181
+ # address - SOAP::SOAPString
182
+ # city - SOAP::SOAPString
183
+ # state - SOAP::SOAPString
184
+ # zip - SOAP::SOAPString
185
+ # country - SOAP::SOAPString
186
+ # phoneNumber - SOAP::SOAPString
187
+ # faxNumber - SOAP::SOAPString
188
+ # customerAddressId - (any)
189
+ class CustomerAddressExType
190
+ include ROXML
191
+ xml_accessor :firstName
192
+ xml_accessor :lastName
193
+ xml_accessor :company
194
+ xml_accessor :address
195
+ xml_accessor :city
196
+ xml_accessor :state
197
+ xml_accessor :zip
198
+ xml_accessor :country
199
+ xml_accessor :phoneNumber
200
+ xml_accessor :faxNumber
201
+ xml_accessor :customerAddressId
202
+
203
+ def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil, phoneNumber = nil, faxNumber = nil, customerAddressId = nil)
204
+ @firstName = firstName
205
+ @lastName = lastName
206
+ @company = company
207
+ @address = address
208
+ @city = city
209
+ @state = state
210
+ @zip = zip
211
+ @country = country
212
+ @phoneNumber = phoneNumber
213
+ @faxNumber = faxNumber
214
+ @customerAddressId = customerAddressId
215
+ end
216
+ end
217
+
218
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}merchantContactType
219
+ # merchantName - SOAP::SOAPString
220
+ # merchantAddress - SOAP::SOAPString
221
+ # merchantCity - SOAP::SOAPString
222
+ # merchantState - SOAP::SOAPString
223
+ # merchantZip - SOAP::SOAPString
224
+ # merchantPhone - SOAP::SOAPString
225
+ class MerchantContactType
226
+ include ROXML
227
+ xml_accessor :merchantName
228
+ xml_accessor :merchantAddress
229
+ xml_accessor :merchantCity
230
+ xml_accessor :merchantState
231
+ xml_accessor :merchantZip
232
+ xml_accessor :merchantPhone
233
+
234
+ def initialize(merchantName = nil, merchantAddress = nil, merchantCity = nil, merchantState = nil, merchantZip = nil, merchantPhone = nil)
235
+ @merchantName = merchantName
236
+ @merchantAddress = merchantAddress
237
+ @merchantCity = merchantCity
238
+ @merchantState = merchantState
239
+ @merchantZip = merchantZip
240
+ @merchantPhone = merchantPhone
241
+ end
242
+ end
243
+
244
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transRetailInfoType
245
+ # marketType - SOAP::SOAPString
246
+ # deviceType - SOAP::SOAPString
247
+ class TransRetailInfoType
248
+ include ROXML
249
+ xml_accessor :marketType
250
+ xml_accessor :deviceType
251
+
252
+ def initialize(marketType = nil, deviceType = nil)
253
+ @marketType = marketType
254
+ @deviceType = deviceType
255
+ end
256
+ end
257
+
258
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardSimpleType
259
+ # cardNumber - SOAP::SOAPString
260
+ # expirationDate - SOAP::SOAPString
261
+ # paymentToken - SOAP::SOAPBoolean
262
+ class CreditCardSimpleType
263
+ include ROXML
264
+ xml_accessor :cardNumber
265
+ xml_accessor :expirationDate
266
+ xml_accessor :paymentToken
267
+
268
+ def initialize(cardNumber = nil, expirationDate = nil, paymentToken = nil)
269
+ @cardNumber = cardNumber
270
+ @expirationDate = expirationDate
271
+ @paymentToken = paymentToken
272
+ end
273
+ end
274
+
275
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardType
276
+ # cardNumber - SOAP::SOAPString
277
+ # expirationDate - SOAP::SOAPString
278
+ # paymentToken - SOAP::SOAPBoolean
279
+ # cardCode - (any)
280
+ class CreditCardType
281
+ include ROXML
282
+ xml_accessor :cardNumber
283
+ xml_accessor :expirationDate
284
+ xml_accessor :paymentToken
285
+ xml_accessor :cardCode
286
+
287
+ def initialize(cardNumber = nil, expirationDate = nil, paymentToken = nil, cardCode = nil)
288
+ @cardNumber = cardNumber
289
+ @expirationDate = expirationDate
290
+ @paymentToken = paymentToken
291
+ @cardCode = cardCode
292
+ end
293
+ end
294
+
295
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardTrackType
296
+ # track1 - SOAP::SOAPString
297
+ # track2 - SOAP::SOAPString
298
+ class CreditCardTrackType
299
+ include ROXML
300
+ xml_accessor :track1
301
+ xml_accessor :track2
302
+
303
+ def initialize(track1 = nil, track2 = nil)
304
+ @track1 = track1
305
+ @track2 = track2
306
+ end
307
+ end
308
+
309
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardMaskedType
310
+ # cardNumber - SOAP::SOAPString
311
+ # expirationDate - SOAP::SOAPString
312
+ # cardType - SOAP::SOAPString
313
+ class CreditCardMaskedType
314
+ include ROXML
315
+ xml_accessor :cardNumber
316
+ xml_accessor :expirationDate
317
+ xml_accessor :cardType
318
+
319
+ def initialize(cardNumber = nil, expirationDate = nil, cardType = nil)
320
+ @cardNumber = cardNumber
321
+ @expirationDate = expirationDate
322
+ @cardType = cardType
323
+ end
324
+ end
325
+
326
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ccAuthenticationType
327
+ # authenticationIndicator - SOAP::SOAPString
328
+ # cardholderAuthenticationValue - SOAP::SOAPString
329
+ class CcAuthenticationType
330
+ include ROXML
331
+ xml_accessor :authenticationIndicator
332
+ xml_accessor :cardholderAuthenticationValue
333
+
334
+ def initialize(authenticationIndicator = nil, cardholderAuthenticationValue = nil)
335
+ @authenticationIndicator = authenticationIndicator
336
+ @cardholderAuthenticationValue = cardholderAuthenticationValue
337
+ end
338
+ end
339
+
340
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountType
341
+ # accountType - BankAccountTypeEnum
342
+ # routingNumber - SOAP::SOAPString
343
+ # accountNumber - SOAP::SOAPString
344
+ # nameOnAccount - SOAP::SOAPString
345
+ # echeckType - EcheckTypeEnum
346
+ # bankName - SOAP::SOAPString
347
+ # checkNumber - SOAP::SOAPString
348
+ class BankAccountType
349
+ include ROXML
350
+ xml_accessor :accountType
351
+ xml_accessor :routingNumber
352
+ xml_accessor :accountNumber
353
+ xml_accessor :nameOnAccount
354
+ xml_accessor :echeckType
355
+ xml_accessor :bankName
356
+ xml_accessor :checkNumber
357
+
358
+ def initialize(accountType = nil, routingNumber = nil, accountNumber = nil, nameOnAccount = nil, echeckType = nil, bankName = nil, checkNumber = nil)
359
+ @accountType = accountType
360
+ @routingNumber = routingNumber
361
+ @accountNumber = accountNumber
362
+ @nameOnAccount = nameOnAccount
363
+ @echeckType = echeckType
364
+ @bankName = bankName
365
+ @checkNumber = checkNumber
366
+ end
367
+ end
368
+
369
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountMaskedType
370
+ # accountType - BankAccountTypeEnum
371
+ # routingNumber - SOAP::SOAPString
372
+ # accountNumber - SOAP::SOAPString
373
+ # nameOnAccount - SOAP::SOAPString
374
+ # echeckType - EcheckTypeEnum
375
+ # bankName - SOAP::SOAPString
376
+ class BankAccountMaskedType
377
+ include ROXML
378
+ xml_accessor :accountType
379
+ xml_accessor :routingNumber
380
+ xml_accessor :accountNumber
381
+ xml_accessor :nameOnAccount
382
+ xml_accessor :echeckType
383
+ xml_accessor :bankName
384
+
385
+ def initialize(accountType = nil, routingNumber = nil, accountNumber = nil, nameOnAccount = nil, echeckType = nil, bankName = nil)
386
+ @accountType = accountType
387
+ @routingNumber = routingNumber
388
+ @accountNumber = accountNumber
389
+ @nameOnAccount = nameOnAccount
390
+ @echeckType = echeckType
391
+ @bankName = bankName
392
+ end
393
+ end
394
+
395
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}opaqueDataType
396
+ # dataDescriptor - SOAP::SOAPString
397
+ # dataValue - SOAP::SOAPString
398
+ class OpaqueDataType
399
+ include ROXML
400
+ xml_accessor :dataDescriptor
401
+ xml_accessor :dataValue
402
+
403
+ def initialize(dataDescriptor = nil, dataValue = nil)
404
+ @dataDescriptor = dataDescriptor
405
+ @dataValue = dataValue
406
+ end
407
+ end
408
+
409
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentSimpleType
410
+ # creditCard - CreditCardSimpleType
411
+ # bankAccount - BankAccountType
412
+ class PaymentSimpleType
413
+ include ROXML
414
+ xml_accessor :creditCard
415
+ xml_accessor :bankAccount
416
+
417
+ def initialize(creditCard = nil, bankAccount = nil)
418
+ @creditCard = creditCard
419
+ @bankAccount = bankAccount
420
+ end
421
+ end
422
+
423
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}OperationType
424
+ class OperationType < ::String
425
+ DECRYPT = OperationType.new("DECRYPT")
426
+ end
427
+
428
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}KeyManagementScheme
429
+ # dUKPT - KeyManagementScheme::DUKPT
430
+ class KeyManagementScheme
431
+ include ROXML
432
+ # inner class for member: DUKPT
433
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}DUKPT
434
+ # operation - OperationType
435
+ # mode - KeyManagementScheme::DUKPT::Mode
436
+ # deviceInfo - KeyManagementScheme::DUKPT::DeviceInfo
437
+ # encryptedData - KeyManagementScheme::DUKPT::EncryptedData
438
+ class DUKPT
439
+ include ROXML
440
+ # inner class for member: Mode
441
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}Mode
442
+ # pIN - SOAP::SOAPString
443
+ # data - SOAP::SOAPString
444
+ class Mode
445
+ include ROXML
446
+ xml_accessor :pIN
447
+ xml_accessor :data
448
+
449
+ def initialize(pIN = nil, data = nil)
450
+ @pIN = pIN
451
+ @data = data
452
+ end
453
+ end
454
+
455
+ # inner class for member: DeviceInfo
456
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}DeviceInfo
457
+ # description - SOAP::SOAPString
458
+ class DeviceInfo
459
+ include ROXML
460
+ xml_accessor :description
461
+
462
+ def initialize(description = nil)
463
+ @description = description
464
+ end
465
+ end
466
+
467
+ # inner class for member: EncryptedData
468
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EncryptedData
469
+ # value - SOAP::SOAPString
470
+ class EncryptedData
471
+ include ROXML
472
+ xml_accessor :value
473
+
474
+ def initialize(value = nil)
475
+ @value = value
476
+ end
477
+ end
478
+
479
+ xml_accessor :operation#, :as => OperationType
480
+ xml_accessor :mode, :as => Mode
481
+ xml_accessor :deviceInfo, :as => DeviceInfo
482
+ xml_accessor :encryptedData, :as => EncryptedData
483
+
484
+ def initialize(operation = nil, mode = nil, deviceInfo = nil, encryptedData = nil)
485
+ @operation = operation
486
+ @mode = mode
487
+ @deviceInfo = deviceInfo
488
+ @encryptedData = encryptedData
489
+ end
490
+ end
491
+
492
+ xml_accessor :dUKPT, :as => DUKPT
493
+
494
+ def initialize(dUKPT = nil)
495
+ @dUKPT = dUKPT
496
+ end
497
+ end
498
+
499
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EncryptionAlgorithmType
500
+ class EncryptionAlgorithmType < ::String
501
+ AES = EncryptionAlgorithmType.new("AES")
502
+ RSA = EncryptionAlgorithmType.new("RSA")
503
+ TDES = EncryptionAlgorithmType.new("TDES")
504
+ end
505
+
506
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EncodingType
507
+ class EncodingType < ::String
508
+ Base64 = EncodingType.new("Base64")
509
+ Hex = EncodingType.new("Hex")
510
+ end
511
+
512
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}KeyValue
513
+ # encoding - EncodingType
514
+ # encryptionAlgorithm - EncryptionAlgorithmType
515
+ # scheme - KeyManagementScheme
516
+ class KeyValue
517
+ include ROXML
518
+ xml_accessor :encoding#, :as => EncodingType
519
+ xml_accessor :encryptionAlgorithm#, :as => EncryptionAlgorithmType
520
+ xml_accessor :scheme, :as => KeyManagementScheme
521
+
522
+ def initialize(encoding = nil, encryptionAlgorithm = nil, scheme = nil)
523
+ @encoding = encoding
524
+ @encryptionAlgorithm = encryptionAlgorithm
525
+ @scheme = scheme
526
+ end
527
+ end
528
+
529
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}KeyBlock
530
+ # value - KeyValue
531
+ class KeyBlock
532
+ include ROXML
533
+ xml_accessor :value, :as => KeyValue
534
+
535
+ def initialize(value = nil)
536
+ @value = value
537
+ end
538
+ end
539
+
540
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}encryptedTrackDataType
541
+ # formOfPayment - KeyBlock
542
+ class EncryptedTrackDataType
543
+ include ROXML
544
+ xml_accessor :formOfPayment, :as => KeyBlock
545
+
546
+ def initialize(formOfPayment = nil)
547
+ @formOfPayment = formOfPayment
548
+ end
549
+ end
550
+
551
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}payPalType
552
+ # successUrl - SOAP::SOAPString
553
+ # cancelUrl - SOAP::SOAPString
554
+ # paypalLc - SOAP::SOAPString
555
+ # paypalHdrImg - SOAP::SOAPString
556
+ # paypalPayflowcolor - SOAP::SOAPString
557
+ # payerID - SOAP::SOAPString
558
+ class PayPalType
559
+ include ROXML
560
+ xml_accessor :successUrl
561
+ xml_accessor :cancelUrl
562
+ xml_accessor :paypalLc
563
+ xml_accessor :paypalHdrImg
564
+ xml_accessor :paypalPayflowcolor
565
+ xml_accessor :payerID
566
+
567
+ def initialize(successUrl = nil, cancelUrl = nil, paypalLc = nil, paypalHdrImg = nil, paypalPayflowcolor = nil, payerID = nil)
568
+ @successUrl = successUrl
569
+ @cancelUrl = cancelUrl
570
+ @paypalLc = paypalLc
571
+ @paypalHdrImg = paypalHdrImg
572
+ @paypalPayflowcolor = paypalPayflowcolor
573
+ @payerID = payerID
574
+ end
575
+ end
576
+
577
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentType
578
+ # creditCard - CreditCardType
579
+ # bankAccount - BankAccountType
580
+ # trackData - CreditCardTrackType
581
+ # encryptedTrackData - EncryptedTrackDataType
582
+ # payPal - PayPalType
583
+ # opaqueData - OpaqueDataType
584
+ class PaymentType
585
+ include ROXML
586
+ xml_accessor :creditCard, :as => CreditCardType
587
+ xml_accessor :bankAccount, :as => BankAccountType
588
+ xml_accessor :trackData, :as => CreditCardTrackType
589
+ xml_accessor :encryptedTrackData, :as => EncryptedTrackDataType
590
+ xml_accessor :payPal, :as => PayPalType
591
+ xml_accessor :opaqueData, :as => OpaqueDataType
592
+
593
+ def initialize(creditCard = nil, bankAccount = nil, trackData = nil, encryptedTrackData = nil, payPal = nil, opaqueData = nil)
594
+ @creditCard = creditCard
595
+ @bankAccount = bankAccount
596
+ @trackData = trackData
597
+ @encryptedTrackData = encryptedTrackData
598
+ @payPal = payPal
599
+ @opaqueData = opaqueData
600
+ end
601
+ end
602
+
603
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentMaskedType
604
+ # creditCard - CreditCardMaskedType
605
+ # bankAccount - BankAccountMaskedType
606
+ # tokenInformation - TokenMaskedType
607
+ class PaymentMaskedType
608
+ include ROXML
609
+ xml_accessor :creditCard
610
+ xml_accessor :bankAccount
611
+ xml_accessor :tokenInformation
612
+
613
+ def initialize(creditCard = nil, bankAccount = nil, tokenInformation = nil)
614
+ @creditCard = creditCard
615
+ @bankAccount = bankAccount
616
+ @tokenInformation = tokenInformation
617
+ end
618
+ end
619
+
620
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}tokenMaskedType
621
+ # tokenSource - SOAP::SOAPString
622
+ # tokenNumber - SOAP::SOAPString
623
+ # expirationDate - SOAP::SOAPString
624
+ class TokenMaskedType
625
+ include ROXML
626
+ xml_accessor :tokenSource
627
+ xml_accessor :tokenNumber
628
+ xml_accessor :expirationDate
629
+
630
+ def initialize(tokenSource = nil, tokenNumber = nil, expirationDate = nil)
631
+ @tokenSource = tokenSource
632
+ @tokenNumber = tokenNumber
633
+ @expirationDate = expirationDate
634
+ end
635
+ end
636
+
637
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}orderType
638
+ # invoiceNumber - SOAP::SOAPString
639
+ # description - SOAP::SOAPString
640
+ class OrderType
641
+ include ROXML
642
+ xml_accessor :invoiceNumber
643
+ xml_accessor :description
644
+
645
+ def initialize(invoiceNumber = nil, description = nil)
646
+ @invoiceNumber = invoiceNumber
647
+ @description = description
648
+ end
649
+ end
650
+
651
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}orderExType
652
+ # invoiceNumber - SOAP::SOAPString
653
+ # description - SOAP::SOAPString
654
+ # purchaseOrderNumber - SOAP::SOAPString
655
+ class OrderExType
656
+ include ROXML
657
+ xml_accessor :invoiceNumber
658
+ xml_accessor :description
659
+ xml_accessor :purchaseOrderNumber
660
+
661
+ def initialize(invoiceNumber = nil, description = nil, purchaseOrderNumber = nil)
662
+ @invoiceNumber = invoiceNumber
663
+ @description = description
664
+ @purchaseOrderNumber = purchaseOrderNumber
665
+ end
666
+ end
667
+
668
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerType
669
+ # type - CustomerTypeEnum
670
+ # id - SOAP::SOAPString
671
+ # email - SOAP::SOAPString
672
+ # phoneNumber - SOAP::SOAPString
673
+ # faxNumber - SOAP::SOAPString
674
+ # driversLicense - DriversLicenseType
675
+ # taxId - SOAP::SOAPString
676
+ class CustomerType
677
+ include ROXML
678
+ xml_accessor :type
679
+ xml_accessor :id
680
+ xml_accessor :email
681
+ xml_accessor :phoneNumber
682
+ xml_accessor :faxNumber
683
+ xml_accessor :driversLicense
684
+ xml_accessor :taxId
685
+
686
+ def initialize(type = nil, id = nil, email = nil, phoneNumber = nil, faxNumber = nil, driversLicense = nil, taxId = nil)
687
+ @type = type
688
+ @id = id
689
+ @email = email
690
+ @phoneNumber = phoneNumber
691
+ @faxNumber = faxNumber
692
+ @driversLicense = driversLicense
693
+ @taxId = taxId
694
+ end
695
+ end
696
+
697
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerDataType
698
+ # type - CustomerTypeEnum
699
+ # id - SOAP::SOAPString
700
+ # email - SOAP::SOAPString
701
+ # driversLicense - DriversLicenseType
702
+ # taxId - SOAP::SOAPString
703
+ class CustomerDataType
704
+ include ROXML
705
+ xml_accessor :type
706
+ xml_accessor :id
707
+ xml_accessor :email
708
+ xml_accessor :driversLicense, :as => DriversLicenseType
709
+ xml_accessor :taxId
710
+
711
+ def initialize(type = nil, id = nil, email = nil, driversLicense = nil, taxId = nil)
712
+ @type = type
713
+ @id = id
714
+ @email = email
715
+ @driversLicense = driversLicense
716
+ @taxId = taxId
717
+ end
718
+ end
719
+
720
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}impersonationAuthenticationType
721
+ # partnerLoginId - SOAP::SOAPString
722
+ # partnerTransactionKey - SOAP::SOAPString
723
+ class ImpersonationAuthenticationType
724
+ include ROXML
725
+ xml_accessor :partnerLoginId
726
+ xml_accessor :partnerTransactionKey
727
+
728
+ def initialize(partnerLoginId = nil, partnerTransactionKey = nil)
729
+ @partnerLoginId = partnerLoginId
730
+ @partnerTransactionKey = partnerTransactionKey
731
+ end
732
+ end
733
+
734
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}fingerPrintType
735
+ # hashValue - SOAP::SOAPString
736
+ # sequence - SOAP::SOAPString
737
+ # timestamp - SOAP::SOAPString
738
+ class FingerPrintType
739
+ include ROXML
740
+ xml_accessor :hashValue
741
+ xml_accessor :sequence
742
+ xml_accessor :timestamp
743
+
744
+ def initialize(hashValue = nil, sequence = nil, timestamp = nil)
745
+ @hashValue = hashValue
746
+ @sequence = sequence
747
+ @timestamp = timestamp
748
+ end
749
+ end
750
+
751
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}merchantAuthenticationType
752
+ # name - SOAP::SOAPString
753
+ # transactionKey - SOAP::SOAPString
754
+ # sessionToken - SOAP::SOAPString
755
+ # password - SOAP::SOAPString
756
+ # impersonationAuthentication - ImpersonationAuthenticationType
757
+ # fingerPrint - FingerPrintType
758
+ # mobileDeviceId - SOAP::SOAPString
759
+ class MerchantAuthenticationType
760
+ include ROXML
761
+ xml_accessor :name
762
+ xml_accessor :transactionKey
763
+ xml_accessor :sessionToken
764
+ xml_accessor :password
765
+ xml_accessor :impersonationAuthentication, :as => ImpersonationAuthenticationType
766
+ xml_accessor :fingerPrint, :as => FingerPrintType
767
+ xml_accessor :mobileDeviceId
768
+
769
+ def initialize(name = nil, transactionKey = nil, sessionToken = nil, password = nil, impersonationAuthentication = nil, fingerPrint = nil, mobileDeviceId = nil)
770
+ @name = name
771
+ @transactionKey = transactionKey
772
+ @sessionToken = sessionToken
773
+ @password = password
774
+ @impersonationAuthentication = impersonationAuthentication
775
+ @fingerPrint = fingerPrint
776
+ @mobileDeviceId = mobileDeviceId
777
+ end
778
+ end
779
+
780
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentScheduleType
781
+ # interval - PaymentScheduleType::Interval
782
+ # startDate - SOAP::SOAPDate
783
+ # totalOccurrences - SOAP::SOAPShort
784
+ # trialOccurrences - SOAP::SOAPShort
785
+ class PaymentScheduleType
786
+ include ROXML
787
+
788
+ # inner class for member: interval
789
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}interval
790
+ # length - SOAP::SOAPShort
791
+ # unit - ARBSubscriptionUnitEnum
792
+ class Interval
793
+ include ROXML
794
+ xml_accessor :length
795
+ xml_accessor :unit
796
+
797
+ def initialize(length = nil, unit = nil)
798
+ @length = length
799
+ @unit = unit
800
+ end
801
+ end
802
+
803
+ xml_accessor :interval
804
+ xml_accessor :startDate
805
+ xml_accessor :totalOccurrences
806
+ xml_accessor :trialOccurrences
807
+
808
+ def initialize(interval = nil, startDate = nil, totalOccurrences = nil, trialOccurrences = nil)
809
+ @interval = interval
810
+ @startDate = startDate
811
+ @totalOccurrences = totalOccurrences
812
+ @trialOccurrences = trialOccurrences
813
+ end
814
+ end
815
+
816
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionType
817
+ # name - SOAP::SOAPString
818
+ # paymentSchedule - PaymentScheduleType
819
+ # amount - SOAP::SOAPDecimal
820
+ # trialAmount - SOAP::SOAPDecimal
821
+ # payment - PaymentType
822
+ # order - OrderType
823
+ # customer - CustomerType
824
+ # billTo - NameAndAddressType
825
+ # shipTo - NameAndAddressType
826
+ class ARBSubscriptionType
827
+ include ROXML
828
+ xml_accessor :name
829
+ xml_accessor :paymentSchedule
830
+ xml_accessor :amount
831
+ xml_accessor :trialAmount
832
+ xml_accessor :payment
833
+ xml_accessor :order
834
+ xml_accessor :customer
835
+ xml_accessor :billTo
836
+ xml_accessor :shipTo
837
+
838
+ def initialize(name = nil, paymentSchedule = nil, amount = nil, trialAmount = nil, payment = nil, order = nil, customer = nil, billTo = nil, shipTo = nil)
839
+ @name = name
840
+ @paymentSchedule = paymentSchedule
841
+ @amount = amount
842
+ @trialAmount = trialAmount
843
+ @payment = payment
844
+ @order = order
845
+ @customer = customer
846
+ @billTo = billTo
847
+ @shipTo = shipTo
848
+ end
849
+ end
850
+
851
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}subscriptionPaymentType
852
+ # id - SOAP::SOAPInt
853
+ # payNum - SOAP::SOAPInt
854
+ class SubscriptionPaymentType
855
+ include ROXML
856
+ xml_accessor :id
857
+ xml_accessor :payNum
858
+
859
+ def initialize(id = nil, payNum = nil)
860
+ @id = id
861
+ @payNum = payNum
862
+ end
863
+ end
864
+
865
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceType
866
+ # mobileDeviceId - SOAP::SOAPString
867
+ # description - SOAP::SOAPString
868
+ # phoneNumber - SOAP::SOAPString
869
+ # devicePlatform - SOAP::SOAPString
870
+ # deviceActivation - DeviceActivationEnum
871
+ class MobileDeviceType
872
+ include ROXML
873
+ xml_accessor :mobileDeviceId
874
+ xml_accessor :description
875
+ xml_accessor :phoneNumber
876
+ xml_accessor :devicePlatform
877
+ xml_accessor :deviceActivation
878
+
879
+ def initialize(mobileDeviceId = nil, description = nil, phoneNumber = nil, devicePlatform = nil, deviceActivation = nil)
880
+ @mobileDeviceId = mobileDeviceId
881
+ @description = description
882
+ @phoneNumber = phoneNumber
883
+ @devicePlatform = devicePlatform
884
+ @deviceActivation = deviceActivation
885
+ end
886
+ end
887
+
888
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}fingerPrintSupportInformationType
889
+ # amount - SOAP::SOAPDecimal
890
+ # currencyCode - SOAP::SOAPString
891
+ # sequence - SOAP::SOAPString
892
+ # timestamp - SOAP::SOAPString
893
+ class FingerPrintSupportInformationType
894
+ include ROXML
895
+ xml_accessor :amount
896
+ xml_accessor :currencyCode
897
+ xml_accessor :sequence
898
+ xml_accessor :timestamp
899
+
900
+ def initialize(amount = nil, currencyCode = nil, sequence = nil, timestamp = nil)
901
+ @amount = amount
902
+ @currencyCode = currencyCode
903
+ @sequence = sequence
904
+ @timestamp = timestamp
905
+ end
906
+ end
907
+
908
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settingType
909
+ # settingName - SOAP::SOAPString
910
+ # settingValue - SOAP::SOAPString
911
+ class SettingType
912
+ include ROXML
913
+ xml_accessor :settingName
914
+ xml_accessor :settingValue
915
+
916
+ def initialize(settingName = nil, settingValue = nil)
917
+ @settingName = settingName
918
+ @settingValue = settingValue
919
+ end
920
+ end
921
+
922
+ class Settings
923
+ include ROXML
924
+ xml_accessor :settings, :as => [SettingType]
925
+ def initialize(settings = [])
926
+ @settings = settings
927
+ end
928
+ end
929
+
930
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}permissionType
931
+ # permissionName - SOAP::SOAPString
932
+ class PermissionType
933
+ include ROXML
934
+ xml_accessor :permissionName
935
+
936
+ def initialize(permissionName = nil)
937
+ @permissionName = permissionName
938
+ end
939
+ end
940
+
941
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}userField
942
+ # name - SOAP::SOAPString
943
+ # value - SOAP::SOAPString
944
+ class UserField
945
+ include ROXML
946
+ xml_accessor :name
947
+ xml_accessor :value
948
+
949
+ def initialize(name = nil, value = nil)
950
+ @name = name
951
+ @value = value
952
+ end
953
+ end
954
+
955
+ class UserFields
956
+ include ROXML
957
+ xml_accessor :userFields, :as => [UserField]
958
+
959
+ def initialize(userFields = [])
960
+ @userFields = userFields
961
+ end
962
+ end
963
+
964
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileBaseType
965
+ # customerType - CustomerTypeEnum
966
+ # billTo - CustomerAddressType
967
+ class CustomerPaymentProfileBaseType
968
+ include ROXML
969
+ xml_accessor :customerType
970
+ xml_accessor :billTo
971
+
972
+ def initialize(customerType = nil, billTo = nil)
973
+ @customerType = customerType
974
+ @billTo = billTo
975
+ end
976
+ end
977
+
978
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileType
979
+ # customerType - CustomerTypeEnum
980
+ # billTo - CustomerAddressType
981
+ # payment - PaymentType
982
+ # driversLicense - DriversLicenseType
983
+ # taxId - SOAP::SOAPString
984
+ class CustomerPaymentProfileType
985
+ include ROXML
986
+ xml_accessor :customerType
987
+ xml_accessor :billTo
988
+ xml_accessor :payment
989
+ xml_accessor :driversLicense
990
+ xml_accessor :taxId
991
+
992
+ def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil)
993
+ @customerType = customerType
994
+ @billTo = billTo
995
+ @payment = payment
996
+ @driversLicense = driversLicense
997
+ @taxId = taxId
998
+ end
999
+ end
1000
+
1001
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileExType
1002
+ # customerType - CustomerTypeEnum
1003
+ # billTo - CustomerAddressType
1004
+ # payment - PaymentType
1005
+ # driversLicense - DriversLicenseType
1006
+ # taxId - SOAP::SOAPString
1007
+ # customerPaymentProfileId - (any)
1008
+ class CustomerPaymentProfileExType
1009
+ include ROXML
1010
+ xml_accessor :customerType
1011
+ xml_accessor :billTo
1012
+ xml_accessor :payment
1013
+ xml_accessor :driversLicense
1014
+ xml_accessor :taxId
1015
+ xml_accessor :customerPaymentProfileId
1016
+
1017
+ def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, customerPaymentProfileId = nil)
1018
+ @customerType = customerType
1019
+ @billTo = billTo
1020
+ @payment = payment
1021
+ @driversLicense = driversLicense
1022
+ @taxId = taxId
1023
+ @customerPaymentProfileId = customerPaymentProfileId
1024
+ end
1025
+ end
1026
+
1027
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileMaskedType
1028
+ # customerType - CustomerTypeEnum
1029
+ # billTo - CustomerAddressType
1030
+ # customerPaymentProfileId - (any)
1031
+ # payment - PaymentMaskedType
1032
+ # driversLicense - DriversLicenseMaskedType
1033
+ # taxId - SOAP::SOAPString
1034
+ class CustomerPaymentProfileMaskedType
1035
+ include ROXML
1036
+ xml_accessor :customerType
1037
+ xml_accessor :billTo
1038
+ xml_accessor :customerPaymentProfileId
1039
+ xml_accessor :payment
1040
+ xml_accessor :driversLicense
1041
+ xml_accessor :taxId
1042
+
1043
+ def initialize(customerType = nil, billTo = nil, customerPaymentProfileId = nil, payment = nil, driversLicense = nil, taxId = nil)
1044
+ @customerType = customerType
1045
+ @billTo = billTo
1046
+ @customerPaymentProfileId = customerPaymentProfileId
1047
+ @payment = payment
1048
+ @driversLicense = driversLicense
1049
+ @taxId = taxId
1050
+ end
1051
+ end
1052
+
1053
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileBaseType
1054
+ # merchantCustomerId - SOAP::SOAPString
1055
+ # description - SOAP::SOAPString
1056
+ # email - SOAP::SOAPString
1057
+ class CustomerProfileBaseType
1058
+ include ROXML
1059
+ xml_accessor :merchantCustomerId
1060
+ xml_accessor :description
1061
+ xml_accessor :email
1062
+
1063
+ def initialize(merchantCustomerId = nil, description = nil, email = nil)
1064
+ @merchantCustomerId = merchantCustomerId
1065
+ @description = description
1066
+ @email = email
1067
+ end
1068
+ end
1069
+
1070
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileType
1071
+ # merchantCustomerId - SOAP::SOAPString
1072
+ # description - SOAP::SOAPString
1073
+ # email - SOAP::SOAPString
1074
+ # paymentProfiles - CustomerPaymentProfileType
1075
+ # shipToList - CustomerAddressType
1076
+ class CustomerProfileType
1077
+ include ROXML
1078
+ xml_accessor :merchantCustomerId
1079
+ xml_accessor :description
1080
+ xml_accessor :email
1081
+ xml_accessor :paymentProfiles
1082
+ xml_accessor :shipToList
1083
+
1084
+ def initialize(merchantCustomerId = nil, description = nil, email = nil, paymentProfiles = [], shipToList = [])
1085
+ @merchantCustomerId = merchantCustomerId
1086
+ @description = description
1087
+ @email = email
1088
+ @paymentProfiles = paymentProfiles
1089
+ @shipToList = shipToList
1090
+ end
1091
+ end
1092
+
1093
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileExType
1094
+ # merchantCustomerId - SOAP::SOAPString
1095
+ # description - SOAP::SOAPString
1096
+ # email - SOAP::SOAPString
1097
+ # customerProfileId - (any)
1098
+ class CustomerProfileExType
1099
+ include ROXML
1100
+ xml_accessor :merchantCustomerId
1101
+ xml_accessor :description
1102
+ xml_accessor :email
1103
+ xml_accessor :customerProfileId
1104
+
1105
+ def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil)
1106
+ @merchantCustomerId = merchantCustomerId
1107
+ @description = description
1108
+ @email = email
1109
+ @customerProfileId = customerProfileId
1110
+ end
1111
+ end
1112
+
1113
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileMaskedType
1114
+ # merchantCustomerId - SOAP::SOAPString
1115
+ # description - SOAP::SOAPString
1116
+ # email - SOAP::SOAPString
1117
+ # customerProfileId - (any)
1118
+ # paymentProfiles - CustomerPaymentProfileMaskedType
1119
+ # shipToList - CustomerAddressExType
1120
+ class CustomerProfileMaskedType
1121
+ include ROXML
1122
+ xml_accessor :merchantCustomerId
1123
+ xml_accessor :description
1124
+ xml_accessor :email
1125
+ xml_accessor :customerProfileId
1126
+ xml_accessor :paymentProfiles
1127
+ xml_accessor :shipToList
1128
+
1129
+ def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil, paymentProfiles = [], shipToList = [])
1130
+ @merchantCustomerId = merchantCustomerId
1131
+ @description = description
1132
+ @email = email
1133
+ @customerProfileId = customerProfileId
1134
+ @paymentProfiles = paymentProfiles
1135
+ @shipToList = shipToList
1136
+ end
1137
+ end
1138
+
1139
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType
1140
+ # amount - SOAP::SOAPDecimal
1141
+ # name - SOAP::SOAPString
1142
+ # description - SOAP::SOAPString
1143
+ class ExtendedAmountType
1144
+ include ROXML
1145
+ xml_accessor :amount, :as => BigDecimal
1146
+ xml_accessor :name
1147
+ xml_accessor :description
1148
+
1149
+ def initialize(amount = nil, name = nil, description = nil)
1150
+ @amount = amount
1151
+ @name = name
1152
+ @description = description
1153
+ end
1154
+ end
1155
+
1156
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}lineItemType
1157
+ # itemId - SOAP::SOAPString
1158
+ # name - SOAP::SOAPString
1159
+ # description - SOAP::SOAPString
1160
+ # quantity - SOAP::SOAPDecimal
1161
+ # unitPrice - SOAP::SOAPDecimal
1162
+ # taxable - SOAP::SOAPBoolean
1163
+ class LineItemType
1164
+ include ROXML
1165
+ xml_accessor :itemId
1166
+ xml_accessor :name
1167
+ xml_accessor :description
1168
+ xml_accessor :quantity, :as => BigDecimal
1169
+ xml_accessor :unitPrice, :as => BigDecimal
1170
+ xml_accessor :taxable
1171
+
1172
+ def initialize(itemId = nil, name = nil, description = nil, quantity = nil, unitPrice = nil, taxable = nil)
1173
+ @itemId = itemId
1174
+ @name = name
1175
+ @description = description
1176
+ @quantity = quantity
1177
+ @unitPrice = unitPrice
1178
+ @taxable = taxable
1179
+ end
1180
+ end
1181
+
1182
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfLineItem
1183
+ class LineItems
1184
+ include ROXML
1185
+ xml_accessor :lineItems, :as => [LineItemType]
1186
+
1187
+ def initialize(lineItems = [])
1188
+ @lineItems = lineItems
1189
+ end
1190
+ end
1191
+
1192
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransAmountType
1193
+ # amount - SOAP::SOAPDecimal
1194
+ # tax - ExtendedAmountType
1195
+ # shipping - ExtendedAmountType
1196
+ # duty - ExtendedAmountType
1197
+ # lineItems - LineItemType
1198
+ class ProfileTransAmountType
1199
+ include ROXML
1200
+ xml_accessor :amount
1201
+ xml_accessor :tax
1202
+ xml_accessor :shipping
1203
+ xml_accessor :duty
1204
+ xml_accessor :lineItems
1205
+
1206
+ def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [])
1207
+ @amount = amount
1208
+ @tax = tax
1209
+ @shipping = shipping
1210
+ @duty = duty
1211
+ @lineItems = lineItems
1212
+ end
1213
+ end
1214
+
1215
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransOrderType
1216
+ # amount - SOAP::SOAPDecimal
1217
+ # tax - ExtendedAmountType
1218
+ # shipping - ExtendedAmountType
1219
+ # duty - ExtendedAmountType
1220
+ # lineItems - LineItemType
1221
+ # customerProfileId - (any)
1222
+ # customerPaymentProfileId - (any)
1223
+ # customerShippingAddressId - (any)
1224
+ # order - OrderExType
1225
+ # taxExempt - SOAP::SOAPBoolean
1226
+ # recurringBilling - SOAP::SOAPBoolean
1227
+ # cardCode - (any)
1228
+ # splitTenderId - (any)
1229
+ class ProfileTransOrderType
1230
+ include ROXML
1231
+ xml_accessor :amount
1232
+ xml_accessor :tax
1233
+ xml_accessor :shipping
1234
+ xml_accessor :duty
1235
+ xml_accessor :lineItems
1236
+ xml_accessor :customerProfileId
1237
+ xml_accessor :customerPaymentProfileId
1238
+ xml_accessor :customerShippingAddressId
1239
+ xml_accessor :order
1240
+ xml_accessor :taxExempt
1241
+ xml_accessor :recurringBilling
1242
+ xml_accessor :cardCode
1243
+ xml_accessor :splitTenderId
1244
+
1245
+ def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, order = nil, taxExempt = nil, recurringBilling = nil, cardCode = nil, splitTenderId = nil)
1246
+ @amount = amount
1247
+ @tax = tax
1248
+ @shipping = shipping
1249
+ @duty = duty
1250
+ @lineItems = lineItems
1251
+ @customerProfileId = customerProfileId
1252
+ @customerPaymentProfileId = customerPaymentProfileId
1253
+ @customerShippingAddressId = customerShippingAddressId
1254
+ @order = order
1255
+ @taxExempt = taxExempt
1256
+ @recurringBilling = recurringBilling
1257
+ @cardCode = cardCode
1258
+ @splitTenderId = splitTenderId
1259
+ end
1260
+ end
1261
+
1262
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransAuthCaptureType
1263
+ # amount - SOAP::SOAPDecimal
1264
+ # tax - ExtendedAmountType
1265
+ # shipping - ExtendedAmountType
1266
+ # duty - ExtendedAmountType
1267
+ # lineItems - LineItemType
1268
+ # customerProfileId - (any)
1269
+ # customerPaymentProfileId - (any)
1270
+ # customerShippingAddressId - (any)
1271
+ # order - OrderExType
1272
+ # taxExempt - SOAP::SOAPBoolean
1273
+ # recurringBilling - SOAP::SOAPBoolean
1274
+ # cardCode - (any)
1275
+ # splitTenderId - (any)
1276
+ class ProfileTransAuthCaptureType
1277
+ include ROXML
1278
+ xml_accessor :amount
1279
+ xml_accessor :tax
1280
+ xml_accessor :shipping
1281
+ xml_accessor :duty
1282
+ xml_accessor :lineItems
1283
+ xml_accessor :customerProfileId
1284
+ xml_accessor :customerPaymentProfileId
1285
+ xml_accessor :customerShippingAddressId
1286
+ xml_accessor :order
1287
+ xml_accessor :taxExempt
1288
+ xml_accessor :recurringBilling
1289
+ xml_accessor :cardCode
1290
+ xml_accessor :splitTenderId
1291
+
1292
+ def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, order = nil, taxExempt = nil, recurringBilling = nil, cardCode = nil, splitTenderId = nil)
1293
+ @amount = amount
1294
+ @tax = tax
1295
+ @shipping = shipping
1296
+ @duty = duty
1297
+ @lineItems = lineItems
1298
+ @customerProfileId = customerProfileId
1299
+ @customerPaymentProfileId = customerPaymentProfileId
1300
+ @customerShippingAddressId = customerShippingAddressId
1301
+ @order = order
1302
+ @taxExempt = taxExempt
1303
+ @recurringBilling = recurringBilling
1304
+ @cardCode = cardCode
1305
+ @splitTenderId = splitTenderId
1306
+ end
1307
+ end
1308
+
1309
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransAuthOnlyType
1310
+ # amount - SOAP::SOAPDecimal
1311
+ # tax - ExtendedAmountType
1312
+ # shipping - ExtendedAmountType
1313
+ # duty - ExtendedAmountType
1314
+ # lineItems - LineItemType
1315
+ # customerProfileId - (any)
1316
+ # customerPaymentProfileId - (any)
1317
+ # customerShippingAddressId - (any)
1318
+ # order - OrderExType
1319
+ # taxExempt - SOAP::SOAPBoolean
1320
+ # recurringBilling - SOAP::SOAPBoolean
1321
+ # cardCode - (any)
1322
+ # splitTenderId - (any)
1323
+ class ProfileTransAuthOnlyType
1324
+ include ROXML
1325
+ xml_accessor :amount
1326
+ xml_accessor :tax
1327
+ xml_accessor :shipping
1328
+ xml_accessor :duty
1329
+ xml_accessor :lineItems
1330
+ xml_accessor :customerProfileId
1331
+ xml_accessor :customerPaymentProfileId
1332
+ xml_accessor :customerShippingAddressId
1333
+ xml_accessor :order
1334
+ xml_accessor :taxExempt
1335
+ xml_accessor :recurringBilling
1336
+ xml_accessor :cardCode
1337
+ xml_accessor :splitTenderId
1338
+
1339
+ def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, order = nil, taxExempt = nil, recurringBilling = nil, cardCode = nil, splitTenderId = nil)
1340
+ @amount = amount
1341
+ @tax = tax
1342
+ @shipping = shipping
1343
+ @duty = duty
1344
+ @lineItems = lineItems
1345
+ @customerProfileId = customerProfileId
1346
+ @customerPaymentProfileId = customerPaymentProfileId
1347
+ @customerShippingAddressId = customerShippingAddressId
1348
+ @order = order
1349
+ @taxExempt = taxExempt
1350
+ @recurringBilling = recurringBilling
1351
+ @cardCode = cardCode
1352
+ @splitTenderId = splitTenderId
1353
+ end
1354
+ end
1355
+
1356
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransCaptureOnlyType
1357
+ # amount - SOAP::SOAPDecimal
1358
+ # tax - ExtendedAmountType
1359
+ # shipping - ExtendedAmountType
1360
+ # duty - ExtendedAmountType
1361
+ # lineItems - LineItemType
1362
+ # customerProfileId - (any)
1363
+ # customerPaymentProfileId - (any)
1364
+ # customerShippingAddressId - (any)
1365
+ # order - OrderExType
1366
+ # taxExempt - SOAP::SOAPBoolean
1367
+ # recurringBilling - SOAP::SOAPBoolean
1368
+ # cardCode - (any)
1369
+ # splitTenderId - (any)
1370
+ # approvalCode - SOAP::SOAPString
1371
+ class ProfileTransCaptureOnlyType
1372
+ include ROXML
1373
+ xml_accessor :amount
1374
+ xml_accessor :tax
1375
+ xml_accessor :shipping
1376
+ xml_accessor :duty
1377
+ xml_accessor :lineItems
1378
+ xml_accessor :customerProfileId
1379
+ xml_accessor :customerPaymentProfileId
1380
+ xml_accessor :customerShippingAddressId
1381
+ xml_accessor :order
1382
+ xml_accessor :taxExempt
1383
+ xml_accessor :recurringBilling
1384
+ xml_accessor :cardCode
1385
+ xml_accessor :splitTenderId
1386
+ xml_accessor :approvalCode
1387
+
1388
+ def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, order = nil, taxExempt = nil, recurringBilling = nil, cardCode = nil, splitTenderId = nil, approvalCode = nil)
1389
+ @amount = amount
1390
+ @tax = tax
1391
+ @shipping = shipping
1392
+ @duty = duty
1393
+ @lineItems = lineItems
1394
+ @customerProfileId = customerProfileId
1395
+ @customerPaymentProfileId = customerPaymentProfileId
1396
+ @customerShippingAddressId = customerShippingAddressId
1397
+ @order = order
1398
+ @taxExempt = taxExempt
1399
+ @recurringBilling = recurringBilling
1400
+ @cardCode = cardCode
1401
+ @splitTenderId = splitTenderId
1402
+ @approvalCode = approvalCode
1403
+ end
1404
+ end
1405
+
1406
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransPriorAuthCaptureType
1407
+ # amount - SOAP::SOAPDecimal
1408
+ # tax - ExtendedAmountType
1409
+ # shipping - ExtendedAmountType
1410
+ # duty - ExtendedAmountType
1411
+ # lineItems - LineItemType
1412
+ # customerProfileId - (any)
1413
+ # customerPaymentProfileId - (any)
1414
+ # customerShippingAddressId - (any)
1415
+ # transId - (any)
1416
+ class ProfileTransPriorAuthCaptureType
1417
+ include ROXML
1418
+ xml_accessor :amount
1419
+ xml_accessor :tax
1420
+ xml_accessor :shipping
1421
+ xml_accessor :duty
1422
+ xml_accessor :lineItems
1423
+ xml_accessor :customerProfileId
1424
+ xml_accessor :customerPaymentProfileId
1425
+ xml_accessor :customerShippingAddressId
1426
+ xml_accessor :transId
1427
+
1428
+ def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, transId = nil)
1429
+ @amount = amount
1430
+ @tax = tax
1431
+ @shipping = shipping
1432
+ @duty = duty
1433
+ @lineItems = lineItems
1434
+ @customerProfileId = customerProfileId
1435
+ @customerPaymentProfileId = customerPaymentProfileId
1436
+ @customerShippingAddressId = customerShippingAddressId
1437
+ @transId = transId
1438
+ end
1439
+ end
1440
+
1441
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransRefundType
1442
+ # amount - SOAP::SOAPDecimal
1443
+ # tax - ExtendedAmountType
1444
+ # shipping - ExtendedAmountType
1445
+ # duty - ExtendedAmountType
1446
+ # lineItems - LineItemType
1447
+ # customerProfileId - (any)
1448
+ # customerPaymentProfileId - (any)
1449
+ # customerShippingAddressId - (any)
1450
+ # creditCardNumberMasked - SOAP::SOAPString
1451
+ # bankRoutingNumberMasked - SOAP::SOAPString
1452
+ # bankAccountNumberMasked - SOAP::SOAPString
1453
+ # order - OrderExType
1454
+ # transId - (any)
1455
+ class ProfileTransRefundType
1456
+ include ROXML
1457
+ xml_accessor :amount
1458
+ xml_accessor :tax
1459
+ xml_accessor :shipping
1460
+ xml_accessor :duty
1461
+ xml_accessor :lineItems
1462
+ xml_accessor :customerProfileId
1463
+ xml_accessor :customerPaymentProfileId
1464
+ xml_accessor :customerShippingAddressId
1465
+ xml_accessor :creditCardNumberMasked
1466
+ xml_accessor :bankRoutingNumberMasked
1467
+ xml_accessor :bankAccountNumberMasked
1468
+ xml_accessor :order
1469
+ xml_accessor :transId
1470
+
1471
+ def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, creditCardNumberMasked = nil, bankRoutingNumberMasked = nil, bankAccountNumberMasked = nil, order = nil, transId = nil)
1472
+ @amount = amount
1473
+ @tax = tax
1474
+ @shipping = shipping
1475
+ @duty = duty
1476
+ @lineItems = lineItems
1477
+ @customerProfileId = customerProfileId
1478
+ @customerPaymentProfileId = customerPaymentProfileId
1479
+ @customerShippingAddressId = customerShippingAddressId
1480
+ @creditCardNumberMasked = creditCardNumberMasked
1481
+ @bankRoutingNumberMasked = bankRoutingNumberMasked
1482
+ @bankAccountNumberMasked = bankAccountNumberMasked
1483
+ @order = order
1484
+ @transId = transId
1485
+ end
1486
+ end
1487
+
1488
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransVoidType
1489
+ # customerProfileId - (any)
1490
+ # customerPaymentProfileId - (any)
1491
+ # customerShippingAddressId - (any)
1492
+ # transId - (any)
1493
+ class ProfileTransVoidType
1494
+ include ROXML
1495
+ xml_accessor :customerProfileId
1496
+ xml_accessor :customerPaymentProfileId
1497
+ xml_accessor :customerShippingAddressId
1498
+ xml_accessor :transId
1499
+
1500
+ def initialize(customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, transId = nil)
1501
+ @customerProfileId = customerProfileId
1502
+ @customerPaymentProfileId = customerPaymentProfileId
1503
+ @customerShippingAddressId = customerShippingAddressId
1504
+ @transId = transId
1505
+ end
1506
+ end
1507
+
1508
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransactionType
1509
+ # profileTransAuthCapture - ProfileTransAuthCaptureType
1510
+ # profileTransAuthOnly - ProfileTransAuthOnlyType
1511
+ # profileTransPriorAuthCapture - ProfileTransPriorAuthCaptureType
1512
+ # profileTransCaptureOnly - ProfileTransCaptureOnlyType
1513
+ # profileTransRefund - ProfileTransRefundType
1514
+ # profileTransVoid - ProfileTransVoidType
1515
+ class ProfileTransactionType
1516
+ include ROXML
1517
+ xml_accessor :profileTransAuthCapture
1518
+ xml_accessor :profileTransAuthOnly
1519
+ xml_accessor :profileTransPriorAuthCapture
1520
+ xml_accessor :profileTransCaptureOnly
1521
+ xml_accessor :profileTransRefund
1522
+ xml_accessor :profileTransVoid
1523
+
1524
+ def initialize(profileTransAuthCapture = nil, profileTransAuthOnly = nil, profileTransPriorAuthCapture = nil, profileTransCaptureOnly = nil, profileTransRefund = nil, profileTransVoid = nil)
1525
+ @profileTransAuthCapture = profileTransAuthCapture
1526
+ @profileTransAuthOnly = profileTransAuthOnly
1527
+ @profileTransPriorAuthCapture = profileTransPriorAuthCapture
1528
+ @profileTransCaptureOnly = profileTransCaptureOnly
1529
+ @profileTransRefund = profileTransRefund
1530
+ @profileTransVoid = profileTransVoid
1531
+ end
1532
+ end
1533
+
1534
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionSummaryType
1535
+ # transId - (any)
1536
+ # submitTimeUTC - SOAP::SOAPDateTime
1537
+ # submitTimeLocal - SOAP::SOAPDateTime
1538
+ # transactionStatus - SOAP::SOAPString
1539
+ # invoiceNumber - SOAP::SOAPString
1540
+ # firstName - SOAP::SOAPString
1541
+ # lastName - SOAP::SOAPString
1542
+ # accountType - SOAP::SOAPString
1543
+ # accountNumber - SOAP::SOAPString
1544
+ # settleAmount - SOAP::SOAPDecimal
1545
+ # marketType - SOAP::SOAPString
1546
+ # product - SOAP::SOAPString
1547
+ # mobileDeviceId - SOAP::SOAPString
1548
+ # subscription - SubscriptionPaymentType
1549
+ # hasReturnedItems - SOAP::SOAPBoolean
1550
+ class TransactionSummaryType
1551
+ include ROXML
1552
+ xml_accessor :transId
1553
+ xml_accessor :submitTimeUTC
1554
+ xml_accessor :submitTimeLocal
1555
+ xml_accessor :transactionStatus
1556
+ xml_accessor :invoiceNumber
1557
+ xml_accessor :firstName
1558
+ xml_accessor :lastName
1559
+ xml_accessor :accountType
1560
+ xml_accessor :accountNumber
1561
+ xml_accessor :settleAmount
1562
+ xml_accessor :marketType
1563
+ xml_accessor :product
1564
+ xml_accessor :mobileDeviceId
1565
+ xml_accessor :subscription
1566
+ xml_accessor :hasReturnedItems
1567
+
1568
+ def initialize(transId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionStatus = nil, invoiceNumber = nil, firstName = nil, lastName = nil, accountType = nil, accountNumber = nil, settleAmount = nil, marketType = nil, product = nil, mobileDeviceId = nil, subscription = nil, hasReturnedItems = nil)
1569
+ @transId = transId
1570
+ @submitTimeUTC = submitTimeUTC
1571
+ @submitTimeLocal = submitTimeLocal
1572
+ @transactionStatus = transactionStatus
1573
+ @invoiceNumber = invoiceNumber
1574
+ @firstName = firstName
1575
+ @lastName = lastName
1576
+ @accountType = accountType
1577
+ @accountNumber = accountNumber
1578
+ @settleAmount = settleAmount
1579
+ @marketType = marketType
1580
+ @product = product
1581
+ @mobileDeviceId = mobileDeviceId
1582
+ @subscription = subscription
1583
+ @hasReturnedItems = hasReturnedItems
1584
+ end
1585
+ end
1586
+
1587
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionDetailsType
1588
+ # transId - (any)
1589
+ # refTransId - (any)
1590
+ # splitTenderId - (any)
1591
+ # submitTimeUTC - SOAP::SOAPDateTime
1592
+ # submitTimeLocal - SOAP::SOAPDateTime
1593
+ # transactionType - SOAP::SOAPString
1594
+ # transactionStatus - SOAP::SOAPString
1595
+ # responseCode - SOAP::SOAPInt
1596
+ # responseReasonCode - SOAP::SOAPInt
1597
+ # subscription - SubscriptionPaymentType
1598
+ # responseReasonDescription - SOAP::SOAPString
1599
+ # authCode - SOAP::SOAPString
1600
+ # aVSResponse - SOAP::SOAPString
1601
+ # cardCodeResponse - SOAP::SOAPString
1602
+ # cAVVResponse - SOAP::SOAPString
1603
+ # fDSFilterAction - SOAP::SOAPString
1604
+ # fDSFilters - ArrayOfFDSFilter
1605
+ # batch - BatchDetailsType
1606
+ # order - OrderExType
1607
+ # requestedAmount - SOAP::SOAPDecimal
1608
+ # authAmount - SOAP::SOAPDecimal
1609
+ # settleAmount - SOAP::SOAPDecimal
1610
+ # tax - ExtendedAmountType
1611
+ # shipping - ExtendedAmountType
1612
+ # duty - ExtendedAmountType
1613
+ # lineItems - ArrayOfLineItem
1614
+ # prepaidBalanceRemaining - SOAP::SOAPDecimal
1615
+ # taxExempt - SOAP::SOAPBoolean
1616
+ # payment - PaymentMaskedType
1617
+ # customer - CustomerDataType
1618
+ # billTo - CustomerAddressType
1619
+ # shipTo - NameAndAddressType
1620
+ # recurringBilling - SOAP::SOAPBoolean
1621
+ # customerIP - SOAP::SOAPString
1622
+ # product - SOAP::SOAPString
1623
+ # marketType - SOAP::SOAPString
1624
+ # mobileDeviceId - SOAP::SOAPString
1625
+ # returnedItems - ArrayOfReturnedItem
1626
+ # solution - SolutionType
1627
+ class TransactionDetailsType
1628
+ include ROXML
1629
+ xml_accessor :transId
1630
+ xml_accessor :refTransId
1631
+ xml_accessor :splitTenderId
1632
+ xml_accessor :submitTimeUTC
1633
+ xml_accessor :submitTimeLocal
1634
+ xml_accessor :transactionType
1635
+ xml_accessor :transactionStatus
1636
+ xml_accessor :responseCode
1637
+ xml_accessor :responseReasonCode
1638
+ xml_accessor :subscription
1639
+ xml_accessor :responseReasonDescription
1640
+ xml_accessor :authCode
1641
+ xml_accessor :aVSResponse
1642
+ xml_accessor :cardCodeResponse
1643
+ xml_accessor :cAVVResponse
1644
+ xml_accessor :fDSFilterAction
1645
+ xml_accessor :fDSFilters
1646
+ xml_accessor :batch
1647
+ xml_accessor :order
1648
+ xml_accessor :requestedAmount
1649
+ xml_accessor :authAmount
1650
+ xml_accessor :settleAmount
1651
+ xml_accessor :tax
1652
+ xml_accessor :shipping
1653
+ xml_accessor :duty
1654
+ xml_accessor :lineItems
1655
+ xml_accessor :prepaidBalanceRemaining
1656
+ xml_accessor :taxExempt
1657
+ xml_accessor :payment
1658
+ xml_accessor :customer
1659
+ xml_accessor :billTo
1660
+ xml_accessor :shipTo
1661
+ xml_accessor :recurringBilling
1662
+ xml_accessor :customerIP
1663
+ xml_accessor :product
1664
+ xml_accessor :marketType
1665
+ xml_accessor :mobileDeviceId
1666
+ xml_accessor :returnedItems
1667
+ xml_accessor :solution
1668
+
1669
+ def initialize(transId = nil, refTransId = nil, splitTenderId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionType = nil, transactionStatus = nil, responseCode = nil, responseReasonCode = nil, subscription = nil, responseReasonDescription = nil, authCode = nil, aVSResponse = nil, cardCodeResponse = nil, cAVVResponse = nil, fDSFilterAction = nil, fDSFilters = nil, batch = nil, order = nil, requestedAmount = nil, authAmount = nil, settleAmount = nil, tax = nil, shipping = nil, duty = nil, lineItems = nil, prepaidBalanceRemaining = nil, taxExempt = nil, payment = nil, customer = nil, billTo = nil, shipTo = nil, recurringBilling = nil, customerIP = nil, product = nil, marketType = nil, mobileDeviceId = nil, returnedItems = nil, solution = nil)
1670
+ @transId = transId
1671
+ @refTransId = refTransId
1672
+ @splitTenderId = splitTenderId
1673
+ @submitTimeUTC = submitTimeUTC
1674
+ @submitTimeLocal = submitTimeLocal
1675
+ @transactionType = transactionType
1676
+ @transactionStatus = transactionStatus
1677
+ @responseCode = responseCode
1678
+ @responseReasonCode = responseReasonCode
1679
+ @subscription = subscription
1680
+ @responseReasonDescription = responseReasonDescription
1681
+ @authCode = authCode
1682
+ @aVSResponse = aVSResponse
1683
+ @cardCodeResponse = cardCodeResponse
1684
+ @cAVVResponse = cAVVResponse
1685
+ @fDSFilterAction = fDSFilterAction
1686
+ @fDSFilters = fDSFilters
1687
+ @batch = batch
1688
+ @order = order
1689
+ @requestedAmount = requestedAmount
1690
+ @authAmount = authAmount
1691
+ @settleAmount = settleAmount
1692
+ @tax = tax
1693
+ @shipping = shipping
1694
+ @duty = duty
1695
+ @lineItems = lineItems
1696
+ @prepaidBalanceRemaining = prepaidBalanceRemaining
1697
+ @taxExempt = taxExempt
1698
+ @payment = payment
1699
+ @customer = customer
1700
+ @billTo = billTo
1701
+ @shipTo = shipTo
1702
+ @recurringBilling = recurringBilling
1703
+ @customerIP = customerIP
1704
+ @product = product
1705
+ @marketType = marketType
1706
+ @mobileDeviceId = mobileDeviceId
1707
+ @returnedItems = returnedItems
1708
+ @solution = solution
1709
+ end
1710
+ end
1711
+
1712
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}solutionType
1713
+ # id - SOAP::SOAPString
1714
+ # name - SOAP::SOAPString
1715
+ class SolutionType
1716
+ include ROXML
1717
+ xml_accessor :id
1718
+ xml_accessor :name
1719
+
1720
+ def initialize(id = nil, name = nil)
1721
+ @id = id
1722
+ @name = name
1723
+ end
1724
+ end
1725
+
1726
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfReturnedItem
1727
+ class ArrayOfReturnedItem < ::Array
1728
+ end
1729
+
1730
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}returnedItemType
1731
+ # id - (any)
1732
+ # dateUTC - SOAP::SOAPDateTime
1733
+ # dateLocal - SOAP::SOAPDateTime
1734
+ # code - SOAP::SOAPString
1735
+ # description - SOAP::SOAPString
1736
+ class ReturnedItemType
1737
+ include ROXML
1738
+ xml_accessor :id
1739
+ xml_accessor :dateUTC
1740
+ xml_accessor :dateLocal
1741
+ xml_accessor :code
1742
+ xml_accessor :description
1743
+
1744
+ def initialize(id = nil, dateUTC = nil, dateLocal = nil, code = nil, description = nil)
1745
+ @id = id
1746
+ @dateUTC = dateUTC
1747
+ @dateLocal = dateLocal
1748
+ @code = code
1749
+ @description = description
1750
+ end
1751
+ end
1752
+
1753
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FDSFilterType
1754
+ # name - SOAP::SOAPString
1755
+ # action - SOAP::SOAPString
1756
+ class FDSFilterType
1757
+ include ROXML
1758
+ xml_accessor :name
1759
+ xml_accessor :action
1760
+
1761
+ def initialize(name = nil, action = nil)
1762
+ @name = name
1763
+ @action = action
1764
+ end
1765
+ end
1766
+
1767
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchDetailsType
1768
+ # batchId - (any)
1769
+ # settlementTimeUTC - SOAP::SOAPDateTime
1770
+ # settlementTimeLocal - SOAP::SOAPDateTime
1771
+ # settlementState - SOAP::SOAPString
1772
+ # paymentMethod - SOAP::SOAPString
1773
+ # marketType - SOAP::SOAPString
1774
+ # product - SOAP::SOAPString
1775
+ # statistics - ArrayOfBatchStatisticType
1776
+ class BatchDetailsType
1777
+ include ROXML
1778
+ xml_accessor :batchId
1779
+ xml_accessor :settlementTimeUTC
1780
+ xml_accessor :settlementTimeLocal
1781
+ xml_accessor :settlementState
1782
+ xml_accessor :paymentMethod
1783
+ xml_accessor :marketType
1784
+ xml_accessor :product
1785
+ xml_accessor :statistics
1786
+
1787
+ def initialize(batchId = nil, settlementTimeUTC = nil, settlementTimeLocal = nil, settlementState = nil, paymentMethod = nil, marketType = nil, product = nil, statistics = nil)
1788
+ @batchId = batchId
1789
+ @settlementTimeUTC = settlementTimeUTC
1790
+ @settlementTimeLocal = settlementTimeLocal
1791
+ @settlementState = settlementState
1792
+ @paymentMethod = paymentMethod
1793
+ @marketType = marketType
1794
+ @product = product
1795
+ @statistics = statistics
1796
+ end
1797
+ end
1798
+
1799
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchStatisticType
1800
+ # accountType - SOAP::SOAPString
1801
+ # chargeAmount - SOAP::SOAPDecimal
1802
+ # chargeCount - SOAP::SOAPInt
1803
+ # refundAmount - SOAP::SOAPDecimal
1804
+ # refundCount - SOAP::SOAPInt
1805
+ # voidCount - SOAP::SOAPInt
1806
+ # declineCount - SOAP::SOAPInt
1807
+ # errorCount - SOAP::SOAPInt
1808
+ # returnedItemAmount - SOAP::SOAPDecimal
1809
+ # returnedItemCount - SOAP::SOAPInt
1810
+ # chargebackAmount - SOAP::SOAPDecimal
1811
+ # chargebackCount - SOAP::SOAPInt
1812
+ # correctionNoticeCount - SOAP::SOAPInt
1813
+ # chargeChargeBackAmount - SOAP::SOAPDecimal
1814
+ # chargeChargeBackCount - SOAP::SOAPInt
1815
+ # refundChargeBackAmount - SOAP::SOAPDecimal
1816
+ # refundChargeBackCount - SOAP::SOAPInt
1817
+ # chargeReturnedItemsAmount - SOAP::SOAPDecimal
1818
+ # chargeReturnedItemsCount - SOAP::SOAPInt
1819
+ # refundReturnedItemsAmount - SOAP::SOAPDecimal
1820
+ # refundReturnedItemsCount - SOAP::SOAPInt
1821
+ class BatchStatisticType
1822
+ include ROXML
1823
+ xml_accessor :accountType
1824
+ xml_accessor :chargeAmount
1825
+ xml_accessor :chargeCount
1826
+ xml_accessor :refundAmount
1827
+ xml_accessor :refundCount
1828
+ xml_accessor :voidCount
1829
+ xml_accessor :declineCount
1830
+ xml_accessor :errorCount
1831
+ xml_accessor :returnedItemAmount
1832
+ xml_accessor :returnedItemCount
1833
+ xml_accessor :chargebackAmount
1834
+ xml_accessor :chargebackCount
1835
+ xml_accessor :correctionNoticeCount
1836
+ xml_accessor :chargeChargeBackAmount
1837
+ xml_accessor :chargeChargeBackCount
1838
+ xml_accessor :refundChargeBackAmount
1839
+ xml_accessor :refundChargeBackCount
1840
+ xml_accessor :chargeReturnedItemsAmount
1841
+ xml_accessor :chargeReturnedItemsCount
1842
+ xml_accessor :refundReturnedItemsAmount
1843
+ xml_accessor :refundReturnedItemsCount
1844
+
1845
+ def initialize(accountType = nil, chargeAmount = nil, chargeCount = nil, refundAmount = nil, refundCount = nil, voidCount = nil, declineCount = nil, errorCount = nil, returnedItemAmount = nil, returnedItemCount = nil, chargebackAmount = nil, chargebackCount = nil, correctionNoticeCount = nil, chargeChargeBackAmount = nil, chargeChargeBackCount = nil, refundChargeBackAmount = nil, refundChargeBackCount = nil, chargeReturnedItemsAmount = nil, chargeReturnedItemsCount = nil, refundReturnedItemsAmount = nil, refundReturnedItemsCount = nil)
1846
+ @accountType = accountType
1847
+ @chargeAmount = chargeAmount
1848
+ @chargeCount = chargeCount
1849
+ @refundAmount = refundAmount
1850
+ @refundCount = refundCount
1851
+ @voidCount = voidCount
1852
+ @declineCount = declineCount
1853
+ @errorCount = errorCount
1854
+ @returnedItemAmount = returnedItemAmount
1855
+ @returnedItemCount = returnedItemCount
1856
+ @chargebackAmount = chargebackAmount
1857
+ @chargebackCount = chargebackCount
1858
+ @correctionNoticeCount = correctionNoticeCount
1859
+ @chargeChargeBackAmount = chargeChargeBackAmount
1860
+ @chargeChargeBackCount = chargeChargeBackCount
1861
+ @refundChargeBackAmount = refundChargeBackAmount
1862
+ @refundChargeBackCount = refundChargeBackCount
1863
+ @chargeReturnedItemsAmount = chargeReturnedItemsAmount
1864
+ @chargeReturnedItemsCount = chargeReturnedItemsCount
1865
+ @refundReturnedItemsAmount = refundReturnedItemsAmount
1866
+ @refundReturnedItemsCount = refundReturnedItemsCount
1867
+ end
1868
+ end
1869
+
1870
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionResponse
1871
+ # responseCode - SOAP::SOAPString
1872
+ # rawResponseCode - SOAP::SOAPString
1873
+ # authCode - SOAP::SOAPString
1874
+ # avsResultCode - SOAP::SOAPString
1875
+ # cvvResultCode - SOAP::SOAPString
1876
+ # cavvResultCode - SOAP::SOAPString
1877
+ # transId - SOAP::SOAPString
1878
+ # refTransID - SOAP::SOAPString
1879
+ # transHash - SOAP::SOAPString
1880
+ # testRequest - SOAP::SOAPString
1881
+ # accountNumber - SOAP::SOAPString
1882
+ # accountType - SOAP::SOAPString
1883
+ # splitTenderId - SOAP::SOAPString
1884
+ # prePaidCard - TransactionResponse::PrePaidCard
1885
+ # messages - TransactionResponse::Messages
1886
+ # errors - TransactionResponse::Errors
1887
+ # splitTenderPayments - TransactionResponse::SplitTenderPayments
1888
+ # userFields - TransactionResponse::UserFields
1889
+ # shipTo - NameAndAddressType
1890
+ # secureAcceptance - TransactionResponse::SecureAcceptance
1891
+ class TransactionResponse
1892
+ include ROXML
1893
+ # inner class for member: prePaidCard
1894
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}prePaidCard
1895
+ # requestedAmount - SOAP::SOAPString
1896
+ # approvedAmount - SOAP::SOAPString
1897
+ # balanceOnCard - SOAP::SOAPString
1898
+ class PrePaidCard
1899
+ include ROXML
1900
+ xml_accessor :requestedAmount
1901
+ xml_accessor :approvedAmount
1902
+ xml_accessor :balanceOnCard
1903
+
1904
+ def initialize(requestedAmount = nil, approvedAmount = nil, balanceOnCard = nil)
1905
+ @requestedAmount = requestedAmount
1906
+ @approvedAmount = approvedAmount
1907
+ @balanceOnCard = balanceOnCard
1908
+ end
1909
+ end
1910
+
1911
+ # inner class for member: messages
1912
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messages
1913
+ class Messages
1914
+ include ROXML
1915
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}message
1916
+ # code - SOAP::SOAPString
1917
+ # description - SOAP::SOAPString
1918
+ class Message
1919
+ include ROXML
1920
+ xml_accessor :code
1921
+ xml_accessor :description
1922
+
1923
+ def initialize(code = nil, description = nil)
1924
+ @code = code
1925
+ @description = description
1926
+ end
1927
+ end
1928
+
1929
+ xml_accessor :messages, :as => [Message]
1930
+
1931
+ def initialize(messages = [])
1932
+ @messages = messages
1933
+ end
1934
+ end
1935
+
1936
+ # inner class for member: errors
1937
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}errors
1938
+ class Errors
1939
+ include ROXML
1940
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}error
1941
+ # errorCode - SOAP::SOAPString
1942
+ # errorText - SOAP::SOAPString
1943
+ class Error
1944
+ include ROXML
1945
+ xml_accessor :errorCode
1946
+ xml_accessor :errorText
1947
+
1948
+ def initialize(errorCode = nil, errorText = nil)
1949
+ @errorCode = errorCode
1950
+ @errorText = errorText
1951
+ end
1952
+ end
1953
+
1954
+ xml_accessor :errors, :as => [Error]
1955
+
1956
+ def initialize(errors = [])
1957
+ @errors = errors
1958
+ end
1959
+ end
1960
+
1961
+ # inner class for member: splitTenderPayments
1962
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}splitTenderPayments
1963
+ class SplitTenderPayments
1964
+ include ROXML
1965
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}splitTenderPayment
1966
+ # transId - SOAP::SOAPString
1967
+ # responseCode - SOAP::SOAPString
1968
+ # responseToCustomer - SOAP::SOAPString
1969
+ # authCode - SOAP::SOAPString
1970
+ # accountNumber - SOAP::SOAPString
1971
+ # accountType - SOAP::SOAPString
1972
+ # requestedAmount - SOAP::SOAPString
1973
+ # approvedAmount - SOAP::SOAPString
1974
+ # balanceOnCard - SOAP::SOAPString
1975
+ class SplitTenderPayment
1976
+ include ROXML
1977
+ xml_accessor :transId
1978
+ xml_accessor :responseCode
1979
+ xml_accessor :responseToCustomer
1980
+ xml_accessor :authCode
1981
+ xml_accessor :accountNumber
1982
+ xml_accessor :accountType
1983
+ xml_accessor :requestedAmount
1984
+ xml_accessor :approvedAmount
1985
+ xml_accessor :balanceOnCard
1986
+
1987
+ def initialize(transId = nil, responseCode = nil, responseToCustomer = nil, authCode = nil, accountNumber = nil, accountType = nil, requestedAmount = nil, approvedAmount = nil, balanceOnCard = nil)
1988
+ @transId = transId
1989
+ @responseCode = responseCode
1990
+ @responseToCustomer = responseToCustomer
1991
+ @authCode = authCode
1992
+ @accountNumber = accountNumber
1993
+ @accountType = accountType
1994
+ @requestedAmount = requestedAmount
1995
+ @approvedAmount = approvedAmount
1996
+ @balanceOnCard = balanceOnCard
1997
+ end
1998
+ end
1999
+
2000
+ xml_accessor :splitTenderPayments, :as => [SplitTenderPayment]
2001
+
2002
+ def initialize(splitTenderPayments = [])
2003
+ @splitTenderPayments = splitTenderPayments
2004
+ end
2005
+ end
2006
+
2007
+ # inner class for member: secureAcceptance
2008
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}secureAcceptance
2009
+ # secureAcceptanceUrl - SOAP::SOAPString
2010
+ # payerID - SOAP::SOAPString
2011
+ class SecureAcceptance
2012
+ include ROXML
2013
+ xml_accessor :secureAcceptanceUrl
2014
+ xml_accessor :payerID
2015
+
2016
+ def initialize(secureAcceptanceUrl = nil, payerID = nil)
2017
+ @secureAcceptanceUrl = secureAcceptanceUrl
2018
+ @payerID = payerID
2019
+ end
2020
+ end
2021
+
2022
+ xml_accessor :responseCode
2023
+ xml_accessor :rawResponseCode
2024
+ xml_accessor :authCode
2025
+ xml_accessor :avsResultCode
2026
+ xml_accessor :cvvResultCode
2027
+ xml_accessor :cavvResultCode
2028
+ xml_accessor :transId
2029
+ xml_accessor :refTransID
2030
+ xml_accessor :transHash
2031
+ xml_accessor :testRequest
2032
+ xml_accessor :accountNumber
2033
+ xml_accessor :accountType
2034
+ xml_accessor :splitTenderId
2035
+ xml_accessor :prePaidCard, :as => PrePaidCard
2036
+ xml_accessor :messages, :as => Messages
2037
+ xml_accessor :errors, :as => Errors
2038
+ xml_accessor :splitTenderPayments, :as => SplitTenderPayments
2039
+ xml_accessor :userFields, :as => UserFields
2040
+ xml_accessor :shipTo, :as => NameAndAddressType
2041
+ xml_accessor :secureAcceptance, :as => SecureAcceptance
2042
+
2043
+ def initialize(responseCode = nil, rawResponseCode = nil, authCode = nil, avsResultCode = nil, cvvResultCode = nil, cavvResultCode = nil, transId = nil, refTransID = nil, transHash = nil, testRequest = nil, accountNumber = nil, accountType = nil, splitTenderId = nil, prePaidCard = nil, messages = nil, errors = nil, splitTenderPayments = nil, userFields = nil, shipTo = nil, secureAcceptance = nil)
2044
+ @responseCode = responseCode
2045
+ @rawResponseCode = rawResponseCode
2046
+ @authCode = authCode
2047
+ @avsResultCode = avsResultCode
2048
+ @cvvResultCode = cvvResultCode
2049
+ @cavvResultCode = cavvResultCode
2050
+ @transId = transId
2051
+ @refTransID = refTransID
2052
+ @transHash = transHash
2053
+ @testRequest = testRequest
2054
+ @accountNumber = accountNumber
2055
+ @accountType = accountType
2056
+ @splitTenderId = splitTenderId
2057
+ @prePaidCard = prePaidCard
2058
+ @messages = messages
2059
+ @errors = errors
2060
+ @splitTenderPayments = splitTenderPayments
2061
+ @userFields = userFields
2062
+ @shipTo = shipTo
2063
+ @secureAcceptance = secureAcceptance
2064
+ end
2065
+ end
2066
+
2067
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ANetApiRequest
2068
+ # merchantAuthentication - MerchantAuthenticationType
2069
+ # refId - SOAP::SOAPString
2070
+ class ANetApiRequest
2071
+ include ROXML
2072
+ xml_accessor :merchantAuthentication
2073
+ xml_accessor :refId
2074
+
2075
+ def initialize(merchantAuthentication = nil, refId = nil)
2076
+ @merchantAuthentication = merchantAuthentication
2077
+ @refId = refId
2078
+ end
2079
+ end
2080
+
2081
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messageTypeEnum
2082
+ class MessageTypeEnum < ::String
2083
+ Error = MessageTypeEnum.new("Error")
2084
+ Ok = MessageTypeEnum.new("Ok")
2085
+ end
2086
+
2087
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messagesType
2088
+ # resultCode - MessageTypeEnum
2089
+ # message - MessagesType::Message
2090
+ class MessagesType
2091
+ include ROXML
2092
+ # inner class for member: message
2093
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}message
2094
+ # code - SOAP::SOAPString
2095
+ # text - SOAP::SOAPString
2096
+ class Message
2097
+ include ROXML
2098
+ xml_accessor :code
2099
+ xml_accessor :text
2100
+
2101
+ def initialize(code = nil, text = nil)
2102
+ @code = code
2103
+ @text = text
2104
+ end
2105
+ end
2106
+
2107
+ xml_accessor :resultCode
2108
+ xml_accessor :messages, :as => [MessagesType::Message]
2109
+
2110
+ def initialize(resultCode = nil, messages = [])
2111
+ @resultCode = resultCode
2112
+ @messages = messages
2113
+ end
2114
+ end
2115
+
2116
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ANetApiResponse
2117
+ # refId - SOAP::SOAPString
2118
+ # messages - MessagesType
2119
+ # sessionToken - SOAP::SOAPString
2120
+ class ANetApiResponse
2121
+ include ROXML
2122
+ xml_accessor :refId
2123
+ xml_accessor :messages
2124
+ xml_accessor :sessionToken
2125
+
2126
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2127
+ @refId = refId
2128
+ @messages = messages
2129
+ @sessionToken = sessionToken
2130
+ end
2131
+ end
2132
+
2133
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createProfileResponse
2134
+ # messages - MessagesType
2135
+ # customerProfileId - (any)
2136
+ # customerPaymentProfileIdList - ArrayOfNumericString
2137
+ # customerShippingAddressIdList - ArrayOfNumericString
2138
+ class CreateProfileResponse
2139
+ include ROXML
2140
+ xml_accessor :messages, :as => MessagesType
2141
+ xml_accessor :customerProfileId
2142
+ xml_accessor :customerPaymentProfileIdList, :as => ArrayOfNumericString
2143
+ xml_accessor :customerShippingAddressIdList, :as => ArrayOfNumericString
2144
+
2145
+ def initialize(messages = nil, customerProfileId = nil, customerPaymentProfileIdList = nil, customerShippingAddressIdList = nil)
2146
+ @messages = messages
2147
+ @customerProfileId = customerProfileId
2148
+ @customerPaymentProfileIdList = customerPaymentProfileIdList
2149
+ @customerShippingAddressIdList = customerShippingAddressIdList
2150
+ end
2151
+ end
2152
+
2153
+
2154
+
2155
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}Paging
2156
+ # limit - SOAP::SOAPInt
2157
+ # offset - SOAP::SOAPInt
2158
+ class Paging
2159
+ include ROXML
2160
+ xml_accessor :limit
2161
+ xml_accessor :offset
2162
+
2163
+ def initialize(limit = nil, offset = nil)
2164
+ @limit = limit
2165
+ @offset = offset
2166
+ end
2167
+ end
2168
+
2169
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListSorting
2170
+ # orderBy - ARBGetSubscriptionListOrderFieldEnum
2171
+ # orderDescending - SOAP::SOAPBoolean
2172
+ class ARBGetSubscriptionListSorting
2173
+ include ROXML
2174
+ xml_accessor :orderBy
2175
+ xml_accessor :orderDescending
2176
+
2177
+ def initialize(orderBy = nil, orderDescending = nil)
2178
+ @orderBy = orderBy
2179
+ @orderDescending = orderDescending
2180
+ end
2181
+ end
2182
+
2183
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSubscription
2184
+ class ArrayOfSubscription < ::Array
2185
+ end
2186
+
2187
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionDetail
2188
+ # id - SOAP::SOAPInt
2189
+ # name - SOAP::SOAPString
2190
+ # status - ARBSubscriptionStatusEnum
2191
+ # createTimeStampUTC - SOAP::SOAPDateTime
2192
+ # firstName - SOAP::SOAPString
2193
+ # lastName - SOAP::SOAPString
2194
+ # totalOccurrences - SOAP::SOAPInt
2195
+ # pastOccurrences - SOAP::SOAPInt
2196
+ # paymentMethod - PaymentMethodEnum
2197
+ # accountNumber - SOAP::SOAPString
2198
+ # invoice - SOAP::SOAPString
2199
+ # amount - SOAP::SOAPDecimal
2200
+ # currencyCode - SOAP::SOAPString
2201
+ class SubscriptionDetail
2202
+ include ROXML
2203
+ xml_accessor :id
2204
+ xml_accessor :name
2205
+ xml_accessor :status
2206
+ xml_accessor :createTimeStampUTC
2207
+ xml_accessor :firstName
2208
+ xml_accessor :lastName
2209
+ xml_accessor :totalOccurrences
2210
+ xml_accessor :pastOccurrences
2211
+ xml_accessor :paymentMethod
2212
+ xml_accessor :accountNumber
2213
+ xml_accessor :invoice
2214
+ xml_accessor :amount
2215
+ xml_accessor :currencyCode
2216
+
2217
+ def initialize(id = nil, name = nil, status = nil, createTimeStampUTC = nil, firstName = nil, lastName = nil, totalOccurrences = nil, pastOccurrences = nil, paymentMethod = nil, accountNumber = nil, invoice = nil, amount = nil, currencyCode = nil)
2218
+ @id = id
2219
+ @name = name
2220
+ @status = status
2221
+ @createTimeStampUTC = createTimeStampUTC
2222
+ @firstName = firstName
2223
+ @lastName = lastName
2224
+ @totalOccurrences = totalOccurrences
2225
+ @pastOccurrences = pastOccurrences
2226
+ @paymentMethod = paymentMethod
2227
+ @accountNumber = accountNumber
2228
+ @invoice = invoice
2229
+ @amount = amount
2230
+ @currencyCode = currencyCode
2231
+ end
2232
+ end
2233
+
2234
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}searchCriteriaCustomerProfileType
2235
+ # merchantCustomerId - SOAP::SOAPString
2236
+ # email - SOAP::SOAPString
2237
+ class SearchCriteriaCustomerProfileType
2238
+ include ROXML
2239
+ xml_accessor :merchantCustomerId
2240
+ xml_accessor :email
2241
+
2242
+ def initialize(merchantCustomerId = nil, email = nil)
2243
+ @merchantCustomerId = merchantCustomerId
2244
+ @email = email
2245
+ end
2246
+ end
2247
+
2248
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileSummaryType
2249
+ # merchantCustomerId - SOAP::SOAPString
2250
+ # email - SOAP::SOAPString
2251
+ # customerProfileId - SOAP::SOAPString
2252
+ # description - SOAP::SOAPString
2253
+ class CustomerProfileSummaryType
2254
+ include ROXML
2255
+ xml_accessor :merchantCustomerId
2256
+ xml_accessor :email
2257
+ xml_accessor :customerProfileId
2258
+ xml_accessor :description
2259
+
2260
+ def initialize(merchantCustomerId = nil, email = nil, customerProfileId = nil, description = nil)
2261
+ @merchantCustomerId = merchantCustomerId
2262
+ @email = email
2263
+ @customerProfileId = customerProfileId
2264
+ @description = description
2265
+ end
2266
+ end
2267
+
2268
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentProfile
2269
+ # paymentProfileId - (any)
2270
+ # cardCode - (any)
2271
+ class PaymentProfile
2272
+ include ROXML
2273
+ xml_accessor :paymentProfileId, :as => Fixnum
2274
+ xml_accessor :cardCode
2275
+
2276
+ def initialize(paymentProfileId = nil, cardCode = nil)
2277
+ @paymentProfileId = paymentProfileId
2278
+ @cardCode = cardCode
2279
+ end
2280
+ end
2281
+
2282
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfilePaymentType
2283
+ # createProfile - SOAP::SOAPBoolean
2284
+ # customerProfileId - (any)
2285
+ # paymentProfile - PaymentProfile
2286
+ # shippingProfileId - (any)
2287
+ class CustomerProfilePaymentType
2288
+ include ROXML
2289
+ xml_accessor :createProfile
2290
+ xml_accessor :customerProfileId, :as => Fixnum
2291
+ xml_accessor :paymentProfile, :as => PaymentProfile
2292
+ xml_accessor :shippingProfileId, :as => Fixnum
2293
+
2294
+ def initialize(createProfile = nil, customerProfileId = nil, paymentProfile = nil, shippingProfileId = nil)
2295
+ @createProfile = createProfile
2296
+ @customerProfileId = customerProfileId
2297
+ @paymentProfile = paymentProfile
2298
+ @shippingProfileId = shippingProfileId
2299
+ end
2300
+ end
2301
+
2302
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountTypeEnum
2303
+ class BankAccountTypeEnum < ::String
2304
+ BusinessChecking = BankAccountTypeEnum.new("businessChecking")
2305
+ Checking = BankAccountTypeEnum.new("checking")
2306
+ Savings = BankAccountTypeEnum.new("savings")
2307
+ end
2308
+
2309
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}echeckTypeEnum
2310
+ class EcheckTypeEnum < ::String
2311
+ ARC = EcheckTypeEnum.new("ARC")
2312
+ BOC = EcheckTypeEnum.new("BOC")
2313
+ CCD = EcheckTypeEnum.new("CCD")
2314
+ PPD = EcheckTypeEnum.new("PPD")
2315
+ TEL = EcheckTypeEnum.new("TEL")
2316
+ WEB = EcheckTypeEnum.new("WEB")
2317
+ end
2318
+
2319
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentMethodEnum
2320
+ class PaymentMethodEnum < ::String
2321
+ CreditCard = PaymentMethodEnum.new("creditCard")
2322
+ ECheck = PaymentMethodEnum.new("eCheck")
2323
+ PayPal = PaymentMethodEnum.new("payPal")
2324
+ end
2325
+
2326
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}cardTypeEnum
2327
+ class CardTypeEnum < ::String
2328
+ AmericanExpress = CardTypeEnum.new("AmericanExpress")
2329
+ DinersClub = CardTypeEnum.new("DinersClub")
2330
+ Discover = CardTypeEnum.new("Discover")
2331
+ JCB = CardTypeEnum.new("JCB")
2332
+ MasterCard = CardTypeEnum.new("MasterCard")
2333
+ Visa = CardTypeEnum.new("Visa")
2334
+ end
2335
+
2336
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}accountTypeEnum
2337
+ class AccountTypeEnum < ::String
2338
+ AmericanExpress = AccountTypeEnum.new("AmericanExpress")
2339
+ DinersClub = AccountTypeEnum.new("DinersClub")
2340
+ Discover = AccountTypeEnum.new("Discover")
2341
+ ECheck = AccountTypeEnum.new("eCheck")
2342
+ JCB = AccountTypeEnum.new("JCB")
2343
+ MasterCard = AccountTypeEnum.new("MasterCard")
2344
+ Visa = AccountTypeEnum.new("Visa")
2345
+ end
2346
+
2347
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerTypeEnum
2348
+ class CustomerTypeEnum < ::String
2349
+ Business = CustomerTypeEnum.new("business")
2350
+ Individual = CustomerTypeEnum.new("individual")
2351
+ end
2352
+
2353
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionUnitEnum
2354
+ class ARBSubscriptionUnitEnum < ::String
2355
+ Days = ARBSubscriptionUnitEnum.new("days")
2356
+ Months = ARBSubscriptionUnitEnum.new("months")
2357
+ end
2358
+
2359
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}validationModeEnum
2360
+ class ValidationModeEnum < ::String
2361
+ LiveMode = ValidationModeEnum.new("liveMode")
2362
+ None = ValidationModeEnum.new("none")
2363
+ OldLiveMode = ValidationModeEnum.new("oldLiveMode")
2364
+ TestMode = ValidationModeEnum.new("testMode")
2365
+ end
2366
+
2367
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}splitTenderStatusEnum
2368
+ class SplitTenderStatusEnum < ::String
2369
+ Completed = SplitTenderStatusEnum.new("completed")
2370
+ Held = SplitTenderStatusEnum.new("held")
2371
+ Voided = SplitTenderStatusEnum.new("voided")
2372
+ end
2373
+
2374
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionStatusEnum
2375
+ class ARBSubscriptionStatusEnum < ::String
2376
+ Active = ARBSubscriptionStatusEnum.new("active")
2377
+ Canceled = ARBSubscriptionStatusEnum.new("canceled")
2378
+ Expired = ARBSubscriptionStatusEnum.new("expired")
2379
+ Suspended = ARBSubscriptionStatusEnum.new("suspended")
2380
+ Terminated = ARBSubscriptionStatusEnum.new("terminated")
2381
+ end
2382
+
2383
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionTypeEnum
2384
+ class TransactionTypeEnum < ::String
2385
+ AuthCaptureContinueTransaction = TransactionTypeEnum.new("authCaptureContinueTransaction")
2386
+ AuthCaptureTransaction = TransactionTypeEnum.new("authCaptureTransaction")
2387
+ AuthOnlyContinueTransaction = TransactionTypeEnum.new("authOnlyContinueTransaction")
2388
+ AuthOnlyTransaction = TransactionTypeEnum.new("authOnlyTransaction")
2389
+ CaptureOnlyTransaction = TransactionTypeEnum.new("captureOnlyTransaction")
2390
+ GetDetailsTransaction = TransactionTypeEnum.new("getDetailsTransaction")
2391
+ PriorAuthCaptureTransaction = TransactionTypeEnum.new("priorAuthCaptureTransaction")
2392
+ RefundTransaction = TransactionTypeEnum.new("refundTransaction")
2393
+ VoidTransaction = TransactionTypeEnum.new("voidTransaction")
2394
+ end
2395
+
2396
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionStatusEnum
2397
+ class TransactionStatusEnum < ::String
2398
+ ApprovedReview = TransactionStatusEnum.new("approvedReview")
2399
+ AuthorizedPendingCapture = TransactionStatusEnum.new("authorizedPendingCapture")
2400
+ AuthorizedPendingRelease = TransactionStatusEnum.new("authorizedPendingRelease")
2401
+ CapturedPendingSettlement = TransactionStatusEnum.new("capturedPendingSettlement")
2402
+ Chargeback = TransactionStatusEnum.new("chargeback")
2403
+ ChargebackReversal = TransactionStatusEnum.new("chargebackReversal")
2404
+ CommunicationError = TransactionStatusEnum.new("communicationError")
2405
+ CouldNotVoid = TransactionStatusEnum.new("couldNotVoid")
2406
+ Declined = TransactionStatusEnum.new("declined")
2407
+ Expired = TransactionStatusEnum.new("expired")
2408
+ FDSAuthorizedPendingReview = TransactionStatusEnum.new("FDSAuthorizedPendingReview")
2409
+ FDSPendingReview = TransactionStatusEnum.new("FDSPendingReview")
2410
+ FailedReview = TransactionStatusEnum.new("failedReview")
2411
+ GeneralError = TransactionStatusEnum.new("generalError")
2412
+ PendingFinalSettlement = TransactionStatusEnum.new("pendingFinalSettlement")
2413
+ PendingSettlement = TransactionStatusEnum.new("pendingSettlement")
2414
+ RefundPendingSettlement = TransactionStatusEnum.new("refundPendingSettlement")
2415
+ RefundSettledSuccessfully = TransactionStatusEnum.new("refundSettledSuccessfully")
2416
+ ReturnedItem = TransactionStatusEnum.new("returnedItem")
2417
+ SettledSuccessfully = TransactionStatusEnum.new("settledSuccessfully")
2418
+ SettlementError = TransactionStatusEnum.new("settlementError")
2419
+ UnderReview = TransactionStatusEnum.new("underReview")
2420
+ UpdatingSettlement = TransactionStatusEnum.new("updatingSettlement")
2421
+ Voided = TransactionStatusEnum.new("voided")
2422
+ end
2423
+
2424
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settlementStateEnum
2425
+ class SettlementStateEnum < ::String
2426
+ PendingSettlement = SettlementStateEnum.new("pendingSettlement")
2427
+ SettledSuccessfully = SettlementStateEnum.new("settledSuccessfully")
2428
+ SettlementError = SettlementStateEnum.new("settlementError")
2429
+ end
2430
+
2431
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FDSFilterActionEnum
2432
+ class FDSFilterActionEnum < ::String
2433
+ AuthAndHold = FDSFilterActionEnum.new("authAndHold")
2434
+ Decline = FDSFilterActionEnum.new("decline")
2435
+ Hold = FDSFilterActionEnum.new("hold")
2436
+ Reject = FDSFilterActionEnum.new("reject")
2437
+ Report = FDSFilterActionEnum.new("report")
2438
+ end
2439
+
2440
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}permissionsEnum
2441
+ class PermissionsEnum < ::String
2442
+ API_Merchant_BasicReporting = PermissionsEnum.new("API_Merchant_BasicReporting")
2443
+ Mobile_Admin = PermissionsEnum.new("Mobile_Admin")
2444
+ Submit_Charge = PermissionsEnum.new("Submit_Charge")
2445
+ Submit_Refund = PermissionsEnum.new("Submit_Refund")
2446
+ Submit_Update = PermissionsEnum.new("Submit_Update")
2447
+ end
2448
+
2449
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deviceActivationEnum
2450
+ class DeviceActivationEnum < ::String
2451
+ Activate = DeviceActivationEnum.new("Activate")
2452
+ Disable = DeviceActivationEnum.new("Disable")
2453
+ end
2454
+
2455
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settingNameEnum
2456
+ class SettingNameEnum < ::String
2457
+ AllowPartialAuth = SettingNameEnum.new("allowPartialAuth")
2458
+ DuplicateWindow = SettingNameEnum.new("duplicateWindow")
2459
+ EmailCustomer = SettingNameEnum.new("emailCustomer")
2460
+ FooterEmailReceipt = SettingNameEnum.new("footerEmailReceipt")
2461
+ HeaderEmailReceipt = SettingNameEnum.new("headerEmailReceipt")
2462
+ HostedProfileHeadingBgColor = SettingNameEnum.new("hostedProfileHeadingBgColor")
2463
+ HostedProfileIFrameCommunicatorUrl = SettingNameEnum.new("hostedProfileIFrameCommunicatorUrl")
2464
+ HostedProfilePageBorderVisible = SettingNameEnum.new("hostedProfilePageBorderVisible")
2465
+ HostedProfileReturnUrl = SettingNameEnum.new("hostedProfileReturnUrl")
2466
+ HostedProfileReturnUrlText = SettingNameEnum.new("hostedProfileReturnUrlText")
2467
+ HostedProfileValidationMode = SettingNameEnum.new("hostedProfileValidationMode")
2468
+ MerchantEmail = SettingNameEnum.new("merchantEmail")
2469
+ RecurringBilling = SettingNameEnum.new("recurringBilling")
2470
+ TestRequest = SettingNameEnum.new("testRequest")
2471
+ end
2472
+
2473
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListSearchTypeEnum
2474
+ class ARBGetSubscriptionListSearchTypeEnum < ::String
2475
+ CardExpiringThisMonth = ARBGetSubscriptionListSearchTypeEnum.new("cardExpiringThisMonth")
2476
+ SubscriptionActive = ARBGetSubscriptionListSearchTypeEnum.new("subscriptionActive")
2477
+ SubscriptionExpiringThisMonth = ARBGetSubscriptionListSearchTypeEnum.new("subscriptionExpiringThisMonth")
2478
+ SubscriptionInactive = ARBGetSubscriptionListSearchTypeEnum.new("subscriptionInactive")
2479
+ end
2480
+
2481
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListOrderFieldEnum
2482
+ class ARBGetSubscriptionListOrderFieldEnum < ::String
2483
+ AccountNumber = ARBGetSubscriptionListOrderFieldEnum.new("accountNumber")
2484
+ Amount = ARBGetSubscriptionListOrderFieldEnum.new("amount")
2485
+ CreateTimeStampUTC = ARBGetSubscriptionListOrderFieldEnum.new("createTimeStampUTC")
2486
+ FirstName = ARBGetSubscriptionListOrderFieldEnum.new("firstName")
2487
+ Id = ARBGetSubscriptionListOrderFieldEnum.new("id")
2488
+ LastName = ARBGetSubscriptionListOrderFieldEnum.new("lastName")
2489
+ Name = ARBGetSubscriptionListOrderFieldEnum.new("name")
2490
+ PastOccurrences = ARBGetSubscriptionListOrderFieldEnum.new("pastOccurrences")
2491
+ Status = ARBGetSubscriptionListOrderFieldEnum.new("status")
2492
+ end
2493
+
2494
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}isAliveRequest
2495
+ # refId - SOAP::SOAPString
2496
+ class IsAliveRequest
2497
+ include ROXML
2498
+ xml_accessor :refId
2499
+
2500
+ def initialize(refId = nil)
2501
+ @refId = refId
2502
+ end
2503
+ end
2504
+
2505
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}isAliveResponse
2506
+ # refId - SOAP::SOAPString
2507
+ # messages - MessagesType
2508
+ # sessionToken - SOAP::SOAPString
2509
+ class IsAliveResponse
2510
+ include ROXML
2511
+ xml_accessor :refId
2512
+ xml_accessor :messages
2513
+ xml_accessor :sessionToken
2514
+
2515
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2516
+ @refId = refId
2517
+ @messages = messages
2518
+ @sessionToken = sessionToken
2519
+ end
2520
+ end
2521
+
2522
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}authenticateTestRequest
2523
+ # merchantAuthentication - MerchantAuthenticationType
2524
+ # refId - SOAP::SOAPString
2525
+ class AuthenticateTestRequest
2526
+ include ROXML
2527
+ xml_accessor :merchantAuthentication
2528
+ xml_accessor :refId
2529
+
2530
+ def initialize(merchantAuthentication = nil, refId = nil)
2531
+ @merchantAuthentication = merchantAuthentication
2532
+ @refId = refId
2533
+ end
2534
+ end
2535
+
2536
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}authenticateTestResponse
2537
+ # refId - SOAP::SOAPString
2538
+ # messages - MessagesType
2539
+ # sessionToken - SOAP::SOAPString
2540
+ class AuthenticateTestResponse
2541
+ include ROXML
2542
+ xml_accessor :refId
2543
+ xml_accessor :messages
2544
+ xml_accessor :sessionToken
2545
+
2546
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2547
+ @refId = refId
2548
+ @messages = messages
2549
+ @sessionToken = sessionToken
2550
+ end
2551
+ end
2552
+
2553
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCreateSubscriptionRequest
2554
+ # merchantAuthentication - MerchantAuthenticationType
2555
+ # refId - SOAP::SOAPString
2556
+ # subscription - ARBSubscriptionType
2557
+ class ARBCreateSubscriptionRequest
2558
+ include ROXML
2559
+ xml_accessor :merchantAuthentication
2560
+ xml_accessor :refId
2561
+ xml_accessor :subscription
2562
+
2563
+ def initialize(merchantAuthentication = nil, refId = nil, subscription = nil)
2564
+ @merchantAuthentication = merchantAuthentication
2565
+ @refId = refId
2566
+ @subscription = subscription
2567
+ end
2568
+ end
2569
+
2570
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCreateSubscriptionResponse
2571
+ # refId - SOAP::SOAPString
2572
+ # messages - MessagesType
2573
+ # sessionToken - SOAP::SOAPString
2574
+ # subscriptionId - (any)
2575
+ class ARBCreateSubscriptionResponse
2576
+ include ROXML
2577
+ xml_accessor :refId
2578
+ xml_accessor :messages
2579
+ xml_accessor :sessionToken
2580
+ xml_accessor :subscriptionId
2581
+
2582
+ def initialize(refId = nil, messages = nil, sessionToken = nil, subscriptionId = nil)
2583
+ @refId = refId
2584
+ @messages = messages
2585
+ @sessionToken = sessionToken
2586
+ @subscriptionId = subscriptionId
2587
+ end
2588
+ end
2589
+
2590
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBUpdateSubscriptionRequest
2591
+ # merchantAuthentication - MerchantAuthenticationType
2592
+ # refId - SOAP::SOAPString
2593
+ # subscriptionId - (any)
2594
+ # subscription - ARBSubscriptionType
2595
+ class ARBUpdateSubscriptionRequest
2596
+ include ROXML
2597
+ xml_accessor :merchantAuthentication
2598
+ xml_accessor :refId
2599
+ xml_accessor :subscriptionId
2600
+ xml_accessor :subscription
2601
+
2602
+ def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil, subscription = nil)
2603
+ @merchantAuthentication = merchantAuthentication
2604
+ @refId = refId
2605
+ @subscriptionId = subscriptionId
2606
+ @subscription = subscription
2607
+ end
2608
+ end
2609
+
2610
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBUpdateSubscriptionResponse
2611
+ # refId - SOAP::SOAPString
2612
+ # messages - MessagesType
2613
+ # sessionToken - SOAP::SOAPString
2614
+ class ARBUpdateSubscriptionResponse
2615
+ include ROXML
2616
+ xml_accessor :refId
2617
+ xml_accessor :messages
2618
+ xml_accessor :sessionToken
2619
+
2620
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2621
+ @refId = refId
2622
+ @messages = messages
2623
+ @sessionToken = sessionToken
2624
+ end
2625
+ end
2626
+
2627
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCancelSubscriptionRequest
2628
+ # merchantAuthentication - MerchantAuthenticationType
2629
+ # refId - SOAP::SOAPString
2630
+ # subscriptionId - (any)
2631
+ class ARBCancelSubscriptionRequest
2632
+ include ROXML
2633
+ xml_accessor :merchantAuthentication
2634
+ xml_accessor :refId
2635
+ xml_accessor :subscriptionId
2636
+
2637
+ def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil)
2638
+ @merchantAuthentication = merchantAuthentication
2639
+ @refId = refId
2640
+ @subscriptionId = subscriptionId
2641
+ end
2642
+ end
2643
+
2644
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCancelSubscriptionResponse
2645
+ # refId - SOAP::SOAPString
2646
+ # messages - MessagesType
2647
+ # sessionToken - SOAP::SOAPString
2648
+ class ARBCancelSubscriptionResponse
2649
+ include ROXML
2650
+ xml_accessor :refId
2651
+ xml_accessor :messages
2652
+ xml_accessor :sessionToken
2653
+
2654
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2655
+ @refId = refId
2656
+ @messages = messages
2657
+ @sessionToken = sessionToken
2658
+ end
2659
+ end
2660
+
2661
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionStatusRequest
2662
+ # merchantAuthentication - MerchantAuthenticationType
2663
+ # refId - SOAP::SOAPString
2664
+ # subscriptionId - (any)
2665
+ class ARBGetSubscriptionStatusRequest
2666
+ include ROXML
2667
+ xml_accessor :merchantAuthentication
2668
+ xml_accessor :refId
2669
+ xml_accessor :subscriptionId
2670
+
2671
+ def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil)
2672
+ @merchantAuthentication = merchantAuthentication
2673
+ @refId = refId
2674
+ @subscriptionId = subscriptionId
2675
+ end
2676
+ end
2677
+
2678
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionStatusResponse
2679
+ # refId - SOAP::SOAPString
2680
+ # messages - MessagesType
2681
+ # sessionToken - SOAP::SOAPString
2682
+ # status - ARBSubscriptionStatusEnum
2683
+ class ARBGetSubscriptionStatusResponse
2684
+ include ROXML
2685
+ xml_accessor :refId
2686
+ xml_accessor :messages
2687
+ xml_accessor :sessionToken
2688
+ xml_accessor :status
2689
+
2690
+ def initialize(refId = nil, messages = nil, sessionToken = nil, status = nil)
2691
+ @refId = refId
2692
+ @messages = messages
2693
+ @sessionToken = sessionToken
2694
+ @status = status
2695
+ end
2696
+ end
2697
+
2698
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileRequest
2699
+ # merchantAuthentication - MerchantAuthenticationType
2700
+ # refId - SOAP::SOAPString
2701
+ # profile - CustomerProfileType
2702
+ # validationMode - ValidationModeEnum
2703
+ class CreateCustomerProfileRequest
2704
+ include ROXML
2705
+ xml_accessor :merchantAuthentication
2706
+ xml_accessor :refId
2707
+ xml_accessor :profile
2708
+ xml_accessor :validationMode
2709
+
2710
+ def initialize(merchantAuthentication = nil, refId = nil, profile = nil, validationMode = nil)
2711
+ @merchantAuthentication = merchantAuthentication
2712
+ @refId = refId
2713
+ @profile = profile
2714
+ @validationMode = validationMode
2715
+ end
2716
+ end
2717
+
2718
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileResponse
2719
+ # refId - SOAP::SOAPString
2720
+ # messages - MessagesType
2721
+ # sessionToken - SOAP::SOAPString
2722
+ # customerProfileId - (any)
2723
+ # customerPaymentProfileIdList - ArrayOfNumericString
2724
+ # customerShippingAddressIdList - ArrayOfNumericString
2725
+ # validationDirectResponseList - ArrayOfString
2726
+ class CreateCustomerProfileResponse
2727
+ include ROXML
2728
+ xml_accessor :refId
2729
+ xml_accessor :messages
2730
+ xml_accessor :sessionToken
2731
+ xml_accessor :customerProfileId
2732
+ xml_accessor :customerPaymentProfileIdList
2733
+ xml_accessor :customerShippingAddressIdList
2734
+ xml_accessor :validationDirectResponseList
2735
+
2736
+ def initialize(refId = nil, messages = nil, sessionToken = nil, customerProfileId = nil, customerPaymentProfileIdList = nil, customerShippingAddressIdList = nil, validationDirectResponseList = nil)
2737
+ @refId = refId
2738
+ @messages = messages
2739
+ @sessionToken = sessionToken
2740
+ @customerProfileId = customerProfileId
2741
+ @customerPaymentProfileIdList = customerPaymentProfileIdList
2742
+ @customerShippingAddressIdList = customerShippingAddressIdList
2743
+ @validationDirectResponseList = validationDirectResponseList
2744
+ end
2745
+ end
2746
+
2747
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerPaymentProfileRequest
2748
+ # merchantAuthentication - MerchantAuthenticationType
2749
+ # refId - SOAP::SOAPString
2750
+ # customerProfileId - (any)
2751
+ # paymentProfile - CustomerPaymentProfileType
2752
+ # validationMode - ValidationModeEnum
2753
+ class CreateCustomerPaymentProfileRequest
2754
+ include ROXML
2755
+ xml_accessor :merchantAuthentication
2756
+ xml_accessor :refId
2757
+ xml_accessor :customerProfileId
2758
+ xml_accessor :paymentProfile
2759
+ xml_accessor :validationMode
2760
+
2761
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, paymentProfile = nil, validationMode = nil)
2762
+ @merchantAuthentication = merchantAuthentication
2763
+ @refId = refId
2764
+ @customerProfileId = customerProfileId
2765
+ @paymentProfile = paymentProfile
2766
+ @validationMode = validationMode
2767
+ end
2768
+ end
2769
+
2770
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerPaymentProfileResponse
2771
+ # refId - SOAP::SOAPString
2772
+ # messages - MessagesType
2773
+ # sessionToken - SOAP::SOAPString
2774
+ # customerPaymentProfileId - (any)
2775
+ # validationDirectResponse - SOAP::SOAPString
2776
+ class CreateCustomerPaymentProfileResponse
2777
+ include ROXML
2778
+ xml_accessor :refId
2779
+ xml_accessor :messages
2780
+ xml_accessor :sessionToken
2781
+ xml_accessor :customerPaymentProfileId
2782
+ xml_accessor :validationDirectResponse
2783
+
2784
+ def initialize(refId = nil, messages = nil, sessionToken = nil, customerPaymentProfileId = nil, validationDirectResponse = nil)
2785
+ @refId = refId
2786
+ @messages = messages
2787
+ @sessionToken = sessionToken
2788
+ @customerPaymentProfileId = customerPaymentProfileId
2789
+ @validationDirectResponse = validationDirectResponse
2790
+ end
2791
+ end
2792
+
2793
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerShippingAddressRequest
2794
+ # merchantAuthentication - MerchantAuthenticationType
2795
+ # refId - SOAP::SOAPString
2796
+ # customerProfileId - (any)
2797
+ # address - CustomerAddressType
2798
+ class CreateCustomerShippingAddressRequest
2799
+ include ROXML
2800
+ xml_accessor :merchantAuthentication
2801
+ xml_accessor :refId
2802
+ xml_accessor :customerProfileId
2803
+ xml_accessor :address
2804
+
2805
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil)
2806
+ @merchantAuthentication = merchantAuthentication
2807
+ @refId = refId
2808
+ @customerProfileId = customerProfileId
2809
+ @address = address
2810
+ end
2811
+ end
2812
+
2813
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerShippingAddressResponse
2814
+ # refId - SOAP::SOAPString
2815
+ # messages - MessagesType
2816
+ # sessionToken - SOAP::SOAPString
2817
+ # customerAddressId - (any)
2818
+ class CreateCustomerShippingAddressResponse
2819
+ include ROXML
2820
+ xml_accessor :refId
2821
+ xml_accessor :messages
2822
+ xml_accessor :sessionToken
2823
+ xml_accessor :customerAddressId
2824
+
2825
+ def initialize(refId = nil, messages = nil, sessionToken = nil, customerAddressId = nil)
2826
+ @refId = refId
2827
+ @messages = messages
2828
+ @sessionToken = sessionToken
2829
+ @customerAddressId = customerAddressId
2830
+ end
2831
+ end
2832
+
2833
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileFromTransactionRequest
2834
+ # merchantAuthentication - MerchantAuthenticationType
2835
+ # refId - SOAP::SOAPString
2836
+ # transId - (any)
2837
+ class CreateCustomerProfileFromTransactionRequest
2838
+ include ROXML
2839
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
2840
+ xml_accessor :refId
2841
+ xml_accessor :transId
2842
+
2843
+ def initialize(merchantAuthentication = nil, refId = nil, transId = nil)
2844
+ @merchantAuthentication = merchantAuthentication
2845
+ @refId = refId
2846
+ @transId = transId
2847
+ end
2848
+ end
2849
+
2850
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileRequest
2851
+ # merchantAuthentication - MerchantAuthenticationType
2852
+ # refId - SOAP::SOAPString
2853
+ # customerProfileId - (any)
2854
+ class GetCustomerProfileRequest
2855
+ include ROXML
2856
+ xml_accessor :merchantAuthentication
2857
+ xml_accessor :refId
2858
+ xml_accessor :customerProfileId
2859
+
2860
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil)
2861
+ @merchantAuthentication = merchantAuthentication
2862
+ @refId = refId
2863
+ @customerProfileId = customerProfileId
2864
+ end
2865
+ end
2866
+
2867
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileResponse
2868
+ # refId - SOAP::SOAPString
2869
+ # messages - MessagesType
2870
+ # sessionToken - SOAP::SOAPString
2871
+ # profile - CustomerProfileMaskedType
2872
+ class GetCustomerProfileResponse
2873
+ include ROXML
2874
+ xml_accessor :refId
2875
+ xml_accessor :messages
2876
+ xml_accessor :sessionToken
2877
+ xml_accessor :profile
2878
+
2879
+ def initialize(refId = nil, messages = nil, sessionToken = nil, profile = nil)
2880
+ @refId = refId
2881
+ @messages = messages
2882
+ @sessionToken = sessionToken
2883
+ @profile = profile
2884
+ end
2885
+ end
2886
+
2887
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileRequest
2888
+ # merchantAuthentication - MerchantAuthenticationType
2889
+ # refId - SOAP::SOAPString
2890
+ # customerProfileId - (any)
2891
+ # customerPaymentProfileId - (any)
2892
+ class GetCustomerPaymentProfileRequest
2893
+ include ROXML
2894
+ xml_accessor :merchantAuthentication
2895
+ xml_accessor :refId
2896
+ xml_accessor :customerProfileId
2897
+ xml_accessor :customerPaymentProfileId
2898
+
2899
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil)
2900
+ @merchantAuthentication = merchantAuthentication
2901
+ @refId = refId
2902
+ @customerProfileId = customerProfileId
2903
+ @customerPaymentProfileId = customerPaymentProfileId
2904
+ end
2905
+ end
2906
+
2907
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileResponse
2908
+ # refId - SOAP::SOAPString
2909
+ # messages - MessagesType
2910
+ # sessionToken - SOAP::SOAPString
2911
+ # paymentProfile - CustomerPaymentProfileMaskedType
2912
+ class GetCustomerPaymentProfileResponse
2913
+ include ROXML
2914
+ xml_accessor :refId
2915
+ xml_accessor :messages
2916
+ xml_accessor :sessionToken
2917
+ xml_accessor :paymentProfile
2918
+
2919
+ def initialize(refId = nil, messages = nil, sessionToken = nil, paymentProfile = nil)
2920
+ @refId = refId
2921
+ @messages = messages
2922
+ @sessionToken = sessionToken
2923
+ @paymentProfile = paymentProfile
2924
+ end
2925
+ end
2926
+
2927
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressRequest
2928
+ # merchantAuthentication - MerchantAuthenticationType
2929
+ # refId - SOAP::SOAPString
2930
+ # customerProfileId - (any)
2931
+ # customerAddressId - (any)
2932
+ class GetCustomerShippingAddressRequest
2933
+ include ROXML
2934
+ xml_accessor :merchantAuthentication
2935
+ xml_accessor :refId
2936
+ xml_accessor :customerProfileId
2937
+ xml_accessor :customerAddressId
2938
+
2939
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil)
2940
+ @merchantAuthentication = merchantAuthentication
2941
+ @refId = refId
2942
+ @customerProfileId = customerProfileId
2943
+ @customerAddressId = customerAddressId
2944
+ end
2945
+ end
2946
+
2947
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressResponse
2948
+ # refId - SOAP::SOAPString
2949
+ # messages - MessagesType
2950
+ # sessionToken - SOAP::SOAPString
2951
+ # address - CustomerAddressExType
2952
+ class GetCustomerShippingAddressResponse
2953
+ include ROXML
2954
+ xml_accessor :refId
2955
+ xml_accessor :messages
2956
+ xml_accessor :sessionToken
2957
+ xml_accessor :address
2958
+
2959
+ def initialize(refId = nil, messages = nil, sessionToken = nil, address = nil)
2960
+ @refId = refId
2961
+ @messages = messages
2962
+ @sessionToken = sessionToken
2963
+ @address = address
2964
+ end
2965
+ end
2966
+
2967
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerProfileRequest
2968
+ # merchantAuthentication - MerchantAuthenticationType
2969
+ # refId - SOAP::SOAPString
2970
+ # profile - CustomerProfileExType
2971
+ class UpdateCustomerProfileRequest
2972
+ include ROXML
2973
+ xml_accessor :merchantAuthentication
2974
+ xml_accessor :refId
2975
+ xml_accessor :profile
2976
+
2977
+ def initialize(merchantAuthentication = nil, refId = nil, profile = nil)
2978
+ @merchantAuthentication = merchantAuthentication
2979
+ @refId = refId
2980
+ @profile = profile
2981
+ end
2982
+ end
2983
+
2984
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerProfileResponse
2985
+ # refId - SOAP::SOAPString
2986
+ # messages - MessagesType
2987
+ # sessionToken - SOAP::SOAPString
2988
+ class UpdateCustomerProfileResponse
2989
+ include ROXML
2990
+ xml_accessor :refId
2991
+ xml_accessor :messages
2992
+ xml_accessor :sessionToken
2993
+
2994
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2995
+ @refId = refId
2996
+ @messages = messages
2997
+ @sessionToken = sessionToken
2998
+ end
2999
+ end
3000
+
3001
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerPaymentProfileRequest
3002
+ # merchantAuthentication - MerchantAuthenticationType
3003
+ # refId - SOAP::SOAPString
3004
+ # customerProfileId - (any)
3005
+ # paymentProfile - CustomerPaymentProfileExType
3006
+ # validationMode - ValidationModeEnum
3007
+ class UpdateCustomerPaymentProfileRequest
3008
+ include ROXML
3009
+ xml_accessor :merchantAuthentication
3010
+ xml_accessor :refId
3011
+ xml_accessor :customerProfileId
3012
+ xml_accessor :paymentProfile
3013
+ xml_accessor :validationMode
3014
+
3015
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, paymentProfile = nil, validationMode = nil)
3016
+ @merchantAuthentication = merchantAuthentication
3017
+ @refId = refId
3018
+ @customerProfileId = customerProfileId
3019
+ @paymentProfile = paymentProfile
3020
+ @validationMode = validationMode
3021
+ end
3022
+ end
3023
+
3024
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerPaymentProfileResponse
3025
+ # refId - SOAP::SOAPString
3026
+ # messages - MessagesType
3027
+ # sessionToken - SOAP::SOAPString
3028
+ # validationDirectResponse - SOAP::SOAPString
3029
+ class UpdateCustomerPaymentProfileResponse
3030
+ include ROXML
3031
+ xml_accessor :refId
3032
+ xml_accessor :messages
3033
+ xml_accessor :sessionToken
3034
+ xml_accessor :validationDirectResponse
3035
+
3036
+ def initialize(refId = nil, messages = nil, sessionToken = nil, validationDirectResponse = nil)
3037
+ @refId = refId
3038
+ @messages = messages
3039
+ @sessionToken = sessionToken
3040
+ @validationDirectResponse = validationDirectResponse
3041
+ end
3042
+ end
3043
+
3044
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerShippingAddressRequest
3045
+ # merchantAuthentication - MerchantAuthenticationType
3046
+ # refId - SOAP::SOAPString
3047
+ # customerProfileId - (any)
3048
+ # address - CustomerAddressExType
3049
+ class UpdateCustomerShippingAddressRequest
3050
+ include ROXML
3051
+ xml_accessor :merchantAuthentication
3052
+ xml_accessor :refId
3053
+ xml_accessor :customerProfileId
3054
+ xml_accessor :address
3055
+
3056
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil)
3057
+ @merchantAuthentication = merchantAuthentication
3058
+ @refId = refId
3059
+ @customerProfileId = customerProfileId
3060
+ @address = address
3061
+ end
3062
+ end
3063
+
3064
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerShippingAddressResponse
3065
+ # refId - SOAP::SOAPString
3066
+ # messages - MessagesType
3067
+ # sessionToken - SOAP::SOAPString
3068
+ class UpdateCustomerShippingAddressResponse
3069
+ include ROXML
3070
+ xml_accessor :refId
3071
+ xml_accessor :messages
3072
+ xml_accessor :sessionToken
3073
+
3074
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3075
+ @refId = refId
3076
+ @messages = messages
3077
+ @sessionToken = sessionToken
3078
+ end
3079
+ end
3080
+
3081
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerProfileRequest
3082
+ # merchantAuthentication - MerchantAuthenticationType
3083
+ # refId - SOAP::SOAPString
3084
+ # customerProfileId - (any)
3085
+ class DeleteCustomerProfileRequest
3086
+ include ROXML
3087
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
3088
+ xml_accessor :refId
3089
+ xml_accessor :customerProfileId
3090
+
3091
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil)
3092
+ @merchantAuthentication = merchantAuthentication
3093
+ @refId = refId
3094
+ @customerProfileId = customerProfileId
3095
+ end
3096
+ end
3097
+
3098
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerProfileResponse
3099
+ # refId - SOAP::SOAPString
3100
+ # messages - MessagesType
3101
+ # sessionToken - SOAP::SOAPString
3102
+ class DeleteCustomerProfileResponse
3103
+ include ROXML
3104
+ xml_accessor :refId
3105
+ xml_accessor :messages, :as => MessagesType
3106
+ xml_accessor :sessionToken
3107
+
3108
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3109
+ @refId = refId
3110
+ @messages = messages
3111
+ @sessionToken = sessionToken
3112
+ end
3113
+ end
3114
+
3115
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileRequest
3116
+ # merchantAuthentication - MerchantAuthenticationType
3117
+ # refId - SOAP::SOAPString
3118
+ # customerProfileId - (any)
3119
+ # customerPaymentProfileId - (any)
3120
+ class DeleteCustomerPaymentProfileRequest
3121
+ include ROXML
3122
+ xml_accessor :merchantAuthentication
3123
+ xml_accessor :refId
3124
+ xml_accessor :customerProfileId
3125
+ xml_accessor :customerPaymentProfileId
3126
+
3127
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil)
3128
+ @merchantAuthentication = merchantAuthentication
3129
+ @refId = refId
3130
+ @customerProfileId = customerProfileId
3131
+ @customerPaymentProfileId = customerPaymentProfileId
3132
+ end
3133
+ end
3134
+
3135
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileResponse
3136
+ # refId - SOAP::SOAPString
3137
+ # messages - MessagesType
3138
+ # sessionToken - SOAP::SOAPString
3139
+ class DeleteCustomerPaymentProfileResponse
3140
+ include ROXML
3141
+ xml_accessor :refId
3142
+ xml_accessor :messages
3143
+ xml_accessor :sessionToken
3144
+
3145
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3146
+ @refId = refId
3147
+ @messages = messages
3148
+ @sessionToken = sessionToken
3149
+ end
3150
+ end
3151
+
3152
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressRequest
3153
+ # merchantAuthentication - MerchantAuthenticationType
3154
+ # refId - SOAP::SOAPString
3155
+ # customerProfileId - (any)
3156
+ # customerAddressId - (any)
3157
+ class DeleteCustomerShippingAddressRequest
3158
+ include ROXML
3159
+ xml_accessor :merchantAuthentication
3160
+ xml_accessor :refId
3161
+ xml_accessor :customerProfileId
3162
+ xml_accessor :customerAddressId
3163
+
3164
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil)
3165
+ @merchantAuthentication = merchantAuthentication
3166
+ @refId = refId
3167
+ @customerProfileId = customerProfileId
3168
+ @customerAddressId = customerAddressId
3169
+ end
3170
+ end
3171
+
3172
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressResponse
3173
+ # refId - SOAP::SOAPString
3174
+ # messages - MessagesType
3175
+ # sessionToken - SOAP::SOAPString
3176
+ class DeleteCustomerShippingAddressResponse
3177
+ include ROXML
3178
+ xml_accessor :refId
3179
+ xml_accessor :messages
3180
+ xml_accessor :sessionToken
3181
+
3182
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3183
+ @refId = refId
3184
+ @messages = messages
3185
+ @sessionToken = sessionToken
3186
+ end
3187
+ end
3188
+
3189
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileTransactionRequest
3190
+ # merchantAuthentication - MerchantAuthenticationType
3191
+ # refId - SOAP::SOAPString
3192
+ # transaction - ProfileTransactionType
3193
+ # extraOptions - SOAP::SOAPString
3194
+ class CreateCustomerProfileTransactionRequest
3195
+ include ROXML
3196
+ xml_accessor :merchantAuthentication
3197
+ xml_accessor :refId
3198
+ xml_accessor :transaction
3199
+ xml_accessor :extraOptions
3200
+
3201
+ def initialize(merchantAuthentication = nil, refId = nil, transaction = nil, extraOptions = nil)
3202
+ @merchantAuthentication = merchantAuthentication
3203
+ @refId = refId
3204
+ @transaction = transaction
3205
+ @extraOptions = extraOptions
3206
+ end
3207
+ end
3208
+
3209
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileTransactionResponse
3210
+ # refId - SOAP::SOAPString
3211
+ # messages - MessagesType
3212
+ # sessionToken - SOAP::SOAPString
3213
+ # transactionResponse - TransactionResponse
3214
+ # directResponse - SOAP::SOAPString
3215
+ class CreateCustomerProfileTransactionResponse
3216
+ include ROXML
3217
+ xml_accessor :refId
3218
+ xml_accessor :messages
3219
+ xml_accessor :sessionToken
3220
+ xml_accessor :transactionResponse
3221
+ xml_accessor :directResponse
3222
+
3223
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transactionResponse = nil, directResponse = nil)
3224
+ @refId = refId
3225
+ @messages = messages
3226
+ @sessionToken = sessionToken
3227
+ @transactionResponse = transactionResponse
3228
+ @directResponse = directResponse
3229
+ end
3230
+ end
3231
+
3232
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}validateCustomerPaymentProfileRequest
3233
+ # merchantAuthentication - MerchantAuthenticationType
3234
+ # refId - SOAP::SOAPString
3235
+ # customerProfileId - (any)
3236
+ # customerPaymentProfileId - (any)
3237
+ # customerShippingAddressId - (any)
3238
+ # cardCode - (any)
3239
+ # validationMode - ValidationModeEnum
3240
+ class ValidateCustomerPaymentProfileRequest
3241
+ include ROXML
3242
+ xml_accessor :merchantAuthentication
3243
+ xml_accessor :refId
3244
+ xml_accessor :customerProfileId
3245
+ xml_accessor :customerPaymentProfileId
3246
+ xml_accessor :customerShippingAddressId
3247
+ xml_accessor :cardCode
3248
+ xml_accessor :validationMode
3249
+
3250
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, cardCode = nil, validationMode = nil)
3251
+ @merchantAuthentication = merchantAuthentication
3252
+ @refId = refId
3253
+ @customerProfileId = customerProfileId
3254
+ @customerPaymentProfileId = customerPaymentProfileId
3255
+ @customerShippingAddressId = customerShippingAddressId
3256
+ @cardCode = cardCode
3257
+ @validationMode = validationMode
3258
+ end
3259
+ end
3260
+
3261
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}validateCustomerPaymentProfileResponse
3262
+ # refId - SOAP::SOAPString
3263
+ # messages - MessagesType
3264
+ # sessionToken - SOAP::SOAPString
3265
+ # directResponse - SOAP::SOAPString
3266
+ class ValidateCustomerPaymentProfileResponse
3267
+ include ROXML
3268
+ xml_accessor :refId
3269
+ xml_accessor :messages
3270
+ xml_accessor :sessionToken
3271
+ xml_accessor :directResponse
3272
+
3273
+ def initialize(refId = nil, messages = nil, sessionToken = nil, directResponse = nil)
3274
+ @refId = refId
3275
+ @messages = messages
3276
+ @sessionToken = sessionToken
3277
+ @directResponse = directResponse
3278
+ end
3279
+ end
3280
+
3281
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileIdsRequest
3282
+ # merchantAuthentication - MerchantAuthenticationType
3283
+ # refId - SOAP::SOAPString
3284
+ class GetCustomerProfileIdsRequest
3285
+ include ROXML
3286
+ xml_accessor :merchantAuthentication
3287
+ xml_accessor :refId
3288
+
3289
+ def initialize(merchantAuthentication = nil, refId = nil)
3290
+ @merchantAuthentication = merchantAuthentication
3291
+ @refId = refId
3292
+ end
3293
+ end
3294
+
3295
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileIdsResponse
3296
+ # refId - SOAP::SOAPString
3297
+ # messages - MessagesType
3298
+ # sessionToken - SOAP::SOAPString
3299
+ # ids - ArrayOfNumericString
3300
+ class GetCustomerProfileIdsResponse
3301
+ include ROXML
3302
+ xml_accessor :refId
3303
+ xml_accessor :messages
3304
+ xml_accessor :sessionToken
3305
+ xml_accessor :ids
3306
+
3307
+ def initialize(refId = nil, messages = nil, sessionToken = nil, ids = nil)
3308
+ @refId = refId
3309
+ @messages = messages
3310
+ @sessionToken = sessionToken
3311
+ @ids = ids
3312
+ end
3313
+ end
3314
+
3315
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateSplitTenderGroupRequest
3316
+ # merchantAuthentication - MerchantAuthenticationType
3317
+ # refId - SOAP::SOAPString
3318
+ # splitTenderId - SOAP::SOAPString
3319
+ # splitTenderStatus - SplitTenderStatusEnum
3320
+ class UpdateSplitTenderGroupRequest
3321
+ include ROXML
3322
+ xml_accessor :merchantAuthentication
3323
+ xml_accessor :refId
3324
+ xml_accessor :splitTenderId
3325
+ xml_accessor :splitTenderStatus
3326
+
3327
+ def initialize(merchantAuthentication = nil, refId = nil, splitTenderId = nil, splitTenderStatus = nil)
3328
+ @merchantAuthentication = merchantAuthentication
3329
+ @refId = refId
3330
+ @splitTenderId = splitTenderId
3331
+ @splitTenderStatus = splitTenderStatus
3332
+ end
3333
+ end
3334
+
3335
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateSplitTenderGroupResponse
3336
+ # refId - SOAP::SOAPString
3337
+ # messages - MessagesType
3338
+ # sessionToken - SOAP::SOAPString
3339
+ class UpdateSplitTenderGroupResponse
3340
+ include ROXML
3341
+ xml_accessor :refId
3342
+ xml_accessor :messages
3343
+ xml_accessor :sessionToken
3344
+
3345
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3346
+ @refId = refId
3347
+ @messages = messages
3348
+ @sessionToken = sessionToken
3349
+ end
3350
+ end
3351
+
3352
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionDetailsRequest
3353
+ # merchantAuthentication - MerchantAuthenticationType
3354
+ # refId - SOAP::SOAPString
3355
+ # transId - (any)
3356
+ class GetTransactionDetailsRequest
3357
+ include ROXML
3358
+ xml_accessor :merchantAuthentication
3359
+ xml_accessor :refId
3360
+ xml_accessor :transId
3361
+
3362
+ def initialize(merchantAuthentication = nil, refId = nil, transId = nil)
3363
+ @merchantAuthentication = merchantAuthentication
3364
+ @refId = refId
3365
+ @transId = transId
3366
+ end
3367
+ end
3368
+
3369
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionDetailsResponse
3370
+ # refId - SOAP::SOAPString
3371
+ # messages - MessagesType
3372
+ # sessionToken - SOAP::SOAPString
3373
+ # transaction - TransactionDetailsType
3374
+ class GetTransactionDetailsResponse
3375
+ include ROXML
3376
+ xml_accessor :refId
3377
+ xml_accessor :messages
3378
+ xml_accessor :sessionToken
3379
+ xml_accessor :transaction
3380
+
3381
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transaction = nil)
3382
+ @refId = refId
3383
+ @messages = messages
3384
+ @sessionToken = sessionToken
3385
+ @transaction = transaction
3386
+ end
3387
+ end
3388
+
3389
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createFingerPrintRequest
3390
+ # merchantAuthentication - MerchantAuthenticationType
3391
+ # refId - SOAP::SOAPString
3392
+ # supportInformation - FingerPrintSupportInformationType
3393
+ class CreateFingerPrintRequest
3394
+ include ROXML
3395
+ xml_accessor :merchantAuthentication
3396
+ xml_accessor :refId
3397
+ xml_accessor :supportInformation
3398
+
3399
+ def initialize(merchantAuthentication = nil, refId = nil, supportInformation = nil)
3400
+ @merchantAuthentication = merchantAuthentication
3401
+ @refId = refId
3402
+ @supportInformation = supportInformation
3403
+ end
3404
+ end
3405
+
3406
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createFingerPrintResponse
3407
+ # refId - SOAP::SOAPString
3408
+ # messages - MessagesType
3409
+ # sessionToken - SOAP::SOAPString
3410
+ # fingerPrint - FingerPrintType
3411
+ # supportInformation - FingerPrintSupportInformationType
3412
+ class CreateFingerPrintResponse
3413
+ include ROXML
3414
+ xml_accessor :refId
3415
+ xml_accessor :messages
3416
+ xml_accessor :sessionToken
3417
+ xml_accessor :fingerPrint
3418
+ xml_accessor :supportInformation
3419
+
3420
+ def initialize(refId = nil, messages = nil, sessionToken = nil, fingerPrint = nil, supportInformation = nil)
3421
+ @refId = refId
3422
+ @messages = messages
3423
+ @sessionToken = sessionToken
3424
+ @fingerPrint = fingerPrint
3425
+ @supportInformation = supportInformation
3426
+ end
3427
+ end
3428
+
3429
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getBatchStatisticsRequest
3430
+ # merchantAuthentication - MerchantAuthenticationType
3431
+ # refId - SOAP::SOAPString
3432
+ # batchId - (any)
3433
+ class GetBatchStatisticsRequest
3434
+ include ROXML
3435
+ xml_accessor :merchantAuthentication
3436
+ xml_accessor :refId
3437
+ xml_accessor :batchId
3438
+
3439
+ def initialize(merchantAuthentication = nil, refId = nil, batchId = nil)
3440
+ @merchantAuthentication = merchantAuthentication
3441
+ @refId = refId
3442
+ @batchId = batchId
3443
+ end
3444
+ end
3445
+
3446
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getBatchStatisticsResponse
3447
+ # refId - SOAP::SOAPString
3448
+ # messages - MessagesType
3449
+ # sessionToken - SOAP::SOAPString
3450
+ # batch - BatchDetailsType
3451
+ class GetBatchStatisticsResponse
3452
+ include ROXML
3453
+ xml_accessor :refId
3454
+ xml_accessor :messages
3455
+ xml_accessor :sessionToken
3456
+ xml_accessor :batch
3457
+
3458
+ def initialize(refId = nil, messages = nil, sessionToken = nil, batch = nil)
3459
+ @refId = refId
3460
+ @messages = messages
3461
+ @sessionToken = sessionToken
3462
+ @batch = batch
3463
+ end
3464
+ end
3465
+
3466
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getSettledBatchListRequest
3467
+ # merchantAuthentication - MerchantAuthenticationType
3468
+ # refId - SOAP::SOAPString
3469
+ # includeStatistics - SOAP::SOAPBoolean
3470
+ # firstSettlementDate - SOAP::SOAPDateTime
3471
+ # lastSettlementDate - SOAP::SOAPDateTime
3472
+ class GetSettledBatchListRequest
3473
+ include ROXML
3474
+ xml_accessor :merchantAuthentication
3475
+ xml_accessor :refId
3476
+ xml_accessor :includeStatistics
3477
+ xml_accessor :firstSettlementDate
3478
+ xml_accessor :lastSettlementDate
3479
+
3480
+ def initialize(merchantAuthentication = nil, refId = nil, includeStatistics = nil, firstSettlementDate = nil, lastSettlementDate = nil)
3481
+ @merchantAuthentication = merchantAuthentication
3482
+ @refId = refId
3483
+ @includeStatistics = includeStatistics
3484
+ @firstSettlementDate = firstSettlementDate
3485
+ @lastSettlementDate = lastSettlementDate
3486
+ end
3487
+ end
3488
+
3489
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getSettledBatchListResponse
3490
+ # refId - SOAP::SOAPString
3491
+ # messages - MessagesType
3492
+ # sessionToken - SOAP::SOAPString
3493
+ # batchList - ArrayOfBatchDetailsType
3494
+ class GetSettledBatchListResponse
3495
+ include ROXML
3496
+ xml_accessor :refId
3497
+ xml_accessor :messages
3498
+ xml_accessor :sessionToken
3499
+ xml_accessor :batchList
3500
+
3501
+ def initialize(refId = nil, messages = nil, sessionToken = nil, batchList = nil)
3502
+ @refId = refId
3503
+ @messages = messages
3504
+ @sessionToken = sessionToken
3505
+ @batchList = batchList
3506
+ end
3507
+ end
3508
+
3509
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListRequest
3510
+ # merchantAuthentication - MerchantAuthenticationType
3511
+ # refId - SOAP::SOAPString
3512
+ # batchId - (any)
3513
+ class GetTransactionListRequest
3514
+ include ROXML
3515
+ xml_accessor :merchantAuthentication
3516
+ xml_accessor :refId
3517
+ xml_accessor :batchId
3518
+
3519
+ def initialize(merchantAuthentication = nil, refId = nil, batchId = nil)
3520
+ @merchantAuthentication = merchantAuthentication
3521
+ @refId = refId
3522
+ @batchId = batchId
3523
+ end
3524
+ end
3525
+
3526
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListResponse
3527
+ # refId - SOAP::SOAPString
3528
+ # messages - MessagesType
3529
+ # sessionToken - SOAP::SOAPString
3530
+ # transactions - ArrayOfTransactionSummaryType
3531
+ class GetTransactionListResponse
3532
+ include ROXML
3533
+ xml_accessor :refId
3534
+ xml_accessor :messages
3535
+ xml_accessor :sessionToken
3536
+ xml_accessor :transactions
3537
+
3538
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil)
3539
+ @refId = refId
3540
+ @messages = messages
3541
+ @sessionToken = sessionToken
3542
+ @transactions = transactions
3543
+ end
3544
+ end
3545
+
3546
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedProfilePageRequest
3547
+ # merchantAuthentication - MerchantAuthenticationType
3548
+ # refId - SOAP::SOAPString
3549
+ # customerProfileId - (any)
3550
+ # hostedProfileSettings - ArrayOfSetting
3551
+ class GetHostedProfilePageRequest
3552
+ include ROXML
3553
+ xml_accessor :merchantAuthentication
3554
+ xml_accessor :refId
3555
+ xml_accessor :customerProfileId
3556
+ xml_accessor :hostedProfileSettings
3557
+
3558
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, hostedProfileSettings = nil)
3559
+ @merchantAuthentication = merchantAuthentication
3560
+ @refId = refId
3561
+ @customerProfileId = customerProfileId
3562
+ @hostedProfileSettings = hostedProfileSettings
3563
+ end
3564
+ end
3565
+
3566
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedProfilePageResponse
3567
+ # refId - SOAP::SOAPString
3568
+ # messages - MessagesType
3569
+ # sessionToken - SOAP::SOAPString
3570
+ # token - SOAP::SOAPString
3571
+ class GetHostedProfilePageResponse
3572
+ include ROXML
3573
+ xml_accessor :refId
3574
+ xml_accessor :messages
3575
+ xml_accessor :sessionToken
3576
+ xml_accessor :token
3577
+
3578
+ def initialize(refId = nil, messages = nil, sessionToken = nil, token = nil)
3579
+ @refId = refId
3580
+ @messages = messages
3581
+ @sessionToken = sessionToken
3582
+ @token = token
3583
+ end
3584
+ end
3585
+
3586
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getUnsettledTransactionListRequest
3587
+ # merchantAuthentication - MerchantAuthenticationType
3588
+ # refId - SOAP::SOAPString
3589
+ class GetUnsettledTransactionListRequest
3590
+ include ROXML
3591
+ xml_accessor :merchantAuthentication
3592
+ xml_accessor :refId
3593
+
3594
+ def initialize(merchantAuthentication = nil, refId = nil)
3595
+ @merchantAuthentication = merchantAuthentication
3596
+ @refId = refId
3597
+ end
3598
+ end
3599
+
3600
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getUnsettledTransactionListResponse
3601
+ # refId - SOAP::SOAPString
3602
+ # messages - MessagesType
3603
+ # sessionToken - SOAP::SOAPString
3604
+ # transactions - ArrayOfTransactionSummaryType
3605
+ class GetUnsettledTransactionListResponse
3606
+ include ROXML
3607
+ xml_accessor :refId
3608
+ xml_accessor :messages
3609
+ xml_accessor :sessionToken
3610
+ xml_accessor :transactions
3611
+
3612
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil)
3613
+ @refId = refId
3614
+ @messages = messages
3615
+ @sessionToken = sessionToken
3616
+ @transactions = transactions
3617
+ end
3618
+ end
3619
+
3620
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationRequest
3621
+ # merchantAuthentication - MerchantAuthenticationType
3622
+ # refId - SOAP::SOAPString
3623
+ # mobileDevice - MobileDeviceType
3624
+ class MobileDeviceRegistrationRequest
3625
+ include ROXML
3626
+ xml_accessor :merchantAuthentication
3627
+ xml_accessor :refId
3628
+ xml_accessor :mobileDevice
3629
+
3630
+ def initialize(merchantAuthentication = nil, refId = nil, mobileDevice = nil)
3631
+ @merchantAuthentication = merchantAuthentication
3632
+ @refId = refId
3633
+ @mobileDevice = mobileDevice
3634
+ end
3635
+ end
3636
+
3637
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationResponse
3638
+ # refId - SOAP::SOAPString
3639
+ # messages - MessagesType
3640
+ # sessionToken - SOAP::SOAPString
3641
+ class MobileDeviceRegistrationResponse
3642
+ include ROXML
3643
+ xml_accessor :refId
3644
+ xml_accessor :messages
3645
+ xml_accessor :sessionToken
3646
+
3647
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3648
+ @refId = refId
3649
+ @messages = messages
3650
+ @sessionToken = sessionToken
3651
+ end
3652
+ end
3653
+
3654
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceLoginRequest
3655
+ # merchantAuthentication - MerchantAuthenticationType
3656
+ # refId - SOAP::SOAPString
3657
+ class MobileDeviceLoginRequest
3658
+ include ROXML
3659
+ xml_accessor :merchantAuthentication
3660
+ xml_accessor :refId
3661
+
3662
+ def initialize(merchantAuthentication = nil, refId = nil)
3663
+ @merchantAuthentication = merchantAuthentication
3664
+ @refId = refId
3665
+ end
3666
+ end
3667
+
3668
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceLoginResponse
3669
+ # refId - SOAP::SOAPString
3670
+ # messages - MessagesType
3671
+ # sessionToken - SOAP::SOAPString
3672
+ # merchantContact - MerchantContactType
3673
+ # userPermissions - ArrayOfPermissionType
3674
+ # merchantAccount - TransRetailInfoType
3675
+ class MobileDeviceLoginResponse
3676
+ include ROXML
3677
+ xml_accessor :refId
3678
+ xml_accessor :messages
3679
+ xml_accessor :sessionToken
3680
+ xml_accessor :merchantContact
3681
+ xml_accessor :userPermissions
3682
+ xml_accessor :merchantAccount
3683
+
3684
+ def initialize(refId = nil, messages = nil, sessionToken = nil, merchantContact = nil, userPermissions = nil, merchantAccount = nil)
3685
+ @refId = refId
3686
+ @messages = messages
3687
+ @sessionToken = sessionToken
3688
+ @merchantContact = merchantContact
3689
+ @userPermissions = userPermissions
3690
+ @merchantAccount = merchantAccount
3691
+ end
3692
+ end
3693
+
3694
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}logoutRequest
3695
+ # merchantAuthentication - MerchantAuthenticationType
3696
+ # refId - SOAP::SOAPString
3697
+ class LogoutRequest
3698
+ include ROXML
3699
+ xml_accessor :merchantAuthentication
3700
+ xml_accessor :refId
3701
+
3702
+ def initialize(merchantAuthentication = nil, refId = nil)
3703
+ @merchantAuthentication = merchantAuthentication
3704
+ @refId = refId
3705
+ end
3706
+ end
3707
+
3708
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}logoutResponse
3709
+ # refId - SOAP::SOAPString
3710
+ # messages - MessagesType
3711
+ # sessionToken - SOAP::SOAPString
3712
+ class LogoutResponse
3713
+ include ROXML
3714
+ xml_accessor :refId
3715
+ xml_accessor :messages
3716
+ xml_accessor :sessionToken
3717
+
3718
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3719
+ @refId = refId
3720
+ @messages = messages
3721
+ @sessionToken = sessionToken
3722
+ end
3723
+ end
3724
+
3725
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}sendCustomerTransactionReceiptRequest
3726
+ # merchantAuthentication - MerchantAuthenticationType
3727
+ # refId - SOAP::SOAPString
3728
+ # transId - (any)
3729
+ # customerEmail - SOAP::SOAPString
3730
+ # emailSettings - EmailSettingsType
3731
+ class SendCustomerTransactionReceiptRequest
3732
+ include ROXML
3733
+ xml_accessor :merchantAuthentication
3734
+ xml_accessor :refId
3735
+ xml_accessor :transId
3736
+ xml_accessor :customerEmail
3737
+ xml_accessor :emailSettings
3738
+
3739
+ def initialize(merchantAuthentication = nil, refId = nil, transId = nil, customerEmail = nil, emailSettings = nil)
3740
+ @merchantAuthentication = merchantAuthentication
3741
+ @refId = refId
3742
+ @transId = transId
3743
+ @customerEmail = customerEmail
3744
+ @emailSettings = emailSettings
3745
+ end
3746
+ end
3747
+
3748
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}sendCustomerTransactionReceiptResponse
3749
+ # refId - SOAP::SOAPString
3750
+ # messages - MessagesType
3751
+ # sessionToken - SOAP::SOAPString
3752
+ class SendCustomerTransactionReceiptResponse
3753
+ include ROXML
3754
+ xml_accessor :refId
3755
+ xml_accessor :messages
3756
+ xml_accessor :sessionToken
3757
+
3758
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3759
+ @refId = refId
3760
+ @messages = messages
3761
+ @sessionToken = sessionToken
3762
+ end
3763
+ end
3764
+
3765
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListRequest
3766
+ # merchantAuthentication - MerchantAuthenticationType
3767
+ # refId - SOAP::SOAPString
3768
+ # searchType - ARBGetSubscriptionListSearchTypeEnum
3769
+ # sorting - ARBGetSubscriptionListSorting
3770
+ # paging - Paging
3771
+ class ARBGetSubscriptionListRequest
3772
+ include ROXML
3773
+ xml_accessor :merchantAuthentication
3774
+ xml_accessor :refId
3775
+ xml_accessor :searchType
3776
+ xml_accessor :sorting
3777
+ xml_accessor :paging
3778
+
3779
+ def initialize(merchantAuthentication = nil, refId = nil, searchType = nil, sorting = nil, paging = nil)
3780
+ @merchantAuthentication = merchantAuthentication
3781
+ @refId = refId
3782
+ @searchType = searchType
3783
+ @sorting = sorting
3784
+ @paging = paging
3785
+ end
3786
+ end
3787
+
3788
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListResponse
3789
+ # refId - SOAP::SOAPString
3790
+ # messages - MessagesType
3791
+ # sessionToken - SOAP::SOAPString
3792
+ # totalNumInResultSet - SOAP::SOAPInt
3793
+ # subscriptionDetails - ArrayOfSubscription
3794
+ class ARBGetSubscriptionListResponse
3795
+ include ROXML
3796
+ xml_accessor :refId
3797
+ xml_accessor :messages
3798
+ xml_accessor :sessionToken
3799
+ xml_accessor :totalNumInResultSet
3800
+ xml_accessor :subscriptionDetails
3801
+
3802
+ def initialize(refId = nil, messages = nil, sessionToken = nil, totalNumInResultSet = nil, subscriptionDetails = nil)
3803
+ @refId = refId
3804
+ @messages = messages
3805
+ @sessionToken = sessionToken
3806
+ @totalNumInResultSet = totalNumInResultSet
3807
+ @subscriptionDetails = subscriptionDetails
3808
+ end
3809
+ end
3810
+
3811
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EnumCollection
3812
+ # customerProfileSummaryType - CustomerProfileSummaryType
3813
+ # paymentSimpleType - PaymentSimpleType
3814
+ # accountTypeEnum - AccountTypeEnum
3815
+ # cardTypeEnum - CardTypeEnum
3816
+ # fDSFilterActionEnum - FDSFilterActionEnum
3817
+ # permissionsEnum - PermissionsEnum
3818
+ # settingNameEnum - SettingNameEnum
3819
+ # settlementStateEnum - SettlementStateEnum
3820
+ # transactionStatusEnum - TransactionStatusEnum
3821
+ # transactionTypeEnum - TransactionTypeEnum
3822
+ class EnumCollection
3823
+ include ROXML
3824
+ xml_accessor :customerProfileSummaryType
3825
+ xml_accessor :paymentSimpleType
3826
+ xml_accessor :accountTypeEnum
3827
+ xml_accessor :cardTypeEnum
3828
+ xml_accessor :fDSFilterActionEnum
3829
+ xml_accessor :permissionsEnum
3830
+ xml_accessor :settingNameEnum
3831
+ xml_accessor :settlementStateEnum
3832
+ xml_accessor :transactionStatusEnum
3833
+ xml_accessor :transactionTypeEnum
3834
+
3835
+ def initialize(customerProfileSummaryType = nil, paymentSimpleType = nil, accountTypeEnum = nil, cardTypeEnum = nil, fDSFilterActionEnum = nil, permissionsEnum = nil, settingNameEnum = nil, settlementStateEnum = nil, transactionStatusEnum = nil, transactionTypeEnum = nil)
3836
+ @customerProfileSummaryType = customerProfileSummaryType
3837
+ @paymentSimpleType = paymentSimpleType
3838
+ @accountTypeEnum = accountTypeEnum
3839
+ @cardTypeEnum = cardTypeEnum
3840
+ @fDSFilterActionEnum = fDSFilterActionEnum
3841
+ @permissionsEnum = permissionsEnum
3842
+ @settingNameEnum = settingNameEnum
3843
+ @settlementStateEnum = settlementStateEnum
3844
+ @transactionStatusEnum = transactionStatusEnum
3845
+ @transactionTypeEnum = transactionTypeEnum
3846
+ end
3847
+ end
3848
+
3849
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionRequestType
3850
+ # transactionType - SOAP::SOAPString
3851
+ # amount - SOAP::SOAPDecimal
3852
+ # currencyCode - SOAP::SOAPString
3853
+ # payment - PaymentType
3854
+ # profile - CustomerProfilePaymentType
3855
+ # solution - SolutionType
3856
+ # authCode - SOAP::SOAPString
3857
+ # refTransId - SOAP::SOAPString
3858
+ # splitTenderId - SOAP::SOAPString
3859
+ # order - OrderType
3860
+ # lineItems - ArrayOfLineItem
3861
+ # tax - ExtendedAmountType
3862
+ # duty - ExtendedAmountType
3863
+ # shipping - ExtendedAmountType
3864
+ # taxExempt - SOAP::SOAPBoolean
3865
+ # poNumber - SOAP::SOAPString
3866
+ # customer - CustomerDataType
3867
+ # billTo - CustomerAddressType
3868
+ # shipTo - NameAndAddressType
3869
+ # customerIP - SOAP::SOAPString
3870
+ # cardholderAuthentication - CcAuthenticationType
3871
+ # retail - TransRetailInfoType
3872
+ # transactionSettings - ArrayOfSetting
3873
+ # userFields - TransactionRequestType::UserFields
3874
+ class TransactionRequestType
3875
+ include ROXML
3876
+ xml_accessor :transactionType
3877
+ xml_accessor :amount, :as => BigDecimal
3878
+ xml_accessor :currencyCode
3879
+ xml_accessor :payment, :as => PaymentType
3880
+ xml_accessor :profile, :as => CustomerProfilePaymentType
3881
+ xml_accessor :solution, :as => SolutionType
3882
+ xml_accessor :authCode
3883
+ xml_accessor :refTransId
3884
+ xml_accessor :splitTenderId
3885
+ xml_accessor :order, :as => OrderType
3886
+ xml_accessor :lineItems, :as => LineItems
3887
+ xml_accessor :tax, :as => ExtendedAmountType
3888
+ xml_accessor :duty, :as => ExtendedAmountType
3889
+ xml_accessor :shipping, :as => ExtendedAmountType
3890
+ xml_accessor :taxExempt
3891
+ xml_accessor :poNumber
3892
+ xml_accessor :customer, :as => CustomerDataType
3893
+ xml_accessor :billTo, :as => CustomerAddressType
3894
+ xml_accessor :shipTo, :as => NameAndAddressType
3895
+ xml_accessor :customerIP
3896
+ xml_accessor :cardholderAuthentication, :as => CcAuthenticationType
3897
+ xml_accessor :retail, :as => TransRetailInfoType
3898
+ xml_accessor :transactionSettings, :as => Settings
3899
+ xml_accessor :userFields, :as => UserFields
3900
+
3901
+ def initialize(transactionType = nil, amount = nil, currencyCode = nil, payment = nil, profile = nil, solution = nil, authCode = nil, refTransId = nil, splitTenderId = nil, order = nil, lineItems = nil, tax = nil, duty = nil, shipping = nil, taxExempt = nil, poNumber = nil, customer = nil, billTo = nil, shipTo = nil, customerIP = nil, cardholderAuthentication = nil, retail = nil, transactionSettings = nil, userFields = nil)
3902
+ @transactionType = transactionType
3903
+ @amount = amount
3904
+ @currencyCode = currencyCode
3905
+ @payment = payment
3906
+ @profile = profile
3907
+ @solution = solution
3908
+ @authCode = authCode
3909
+ @refTransId = refTransId
3910
+ @splitTenderId = splitTenderId
3911
+ @order = order
3912
+ @lineItems = lineItems
3913
+ @tax = tax
3914
+ @duty = duty
3915
+ @shipping = shipping
3916
+ @taxExempt = taxExempt
3917
+ @poNumber = poNumber
3918
+ @customer = customer
3919
+ @billTo = billTo
3920
+ @shipTo = shipTo
3921
+ @customerIP = customerIP
3922
+ @cardholderAuthentication = cardholderAuthentication
3923
+ @retail = retail
3924
+ @transactionSettings = transactionSettings
3925
+ @userFields = userFields
3926
+ end
3927
+ end
3928
+
3929
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createTransactionRequest
3930
+ # merchantAuthentication - MerchantAuthenticationType
3931
+ # refId - SOAP::SOAPString
3932
+ # transactionRequest - TransactionRequestType
3933
+ class CreateTransactionRequest
3934
+ include ROXML
3935
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
3936
+ xml_accessor :refId
3937
+ xml_accessor :transactionRequest, :as => TransactionRequestType
3938
+
3939
+ def initialize(merchantAuthentication = nil, refId = nil, transactionRequest = nil)
3940
+ @merchantAuthentication = merchantAuthentication
3941
+ @refId = refId
3942
+ @transactionRequest = transactionRequest
3943
+ end
3944
+ end
3945
+
3946
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createTransactionResponse
3947
+ # refId - SOAP::SOAPString
3948
+ # messages - MessagesType
3949
+ # sessionToken - SOAP::SOAPString
3950
+ # transactionResponse - TransactionResponse
3951
+ # profileResponse - CreateProfileResponse
3952
+ class CreateTransactionResponse
3953
+ include ROXML
3954
+ xml_accessor :refId
3955
+ xml_accessor :messages, :as => MessagesType
3956
+ xml_accessor :sessionToken
3957
+ xml_accessor :transactionResponse, :as => TransactionResponse
3958
+ xml_accessor :profileResponse, :as => CreateProfileResponse
3959
+
3960
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transactionResponse = nil, profileResponse = nil)
3961
+ @refId = refId
3962
+ @messages = messages
3963
+ @sessionToken = sessionToken
3964
+ @transactionResponse = transactionResponse
3965
+ @profileResponse = profileResponse
3966
+ end
3967
+ end
3968
+ end