authorizenet_blaq 1.9.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.
Files changed (72) hide show
  1. checksums.yaml +7 -0
  2. data/lib/app/helpers/authorize_net_helper.rb +24 -0
  3. data/lib/authorize_net/addresses/address.rb +29 -0
  4. data/lib/authorize_net/addresses/shipping_address.rb +26 -0
  5. data/lib/authorize_net/aim/response.rb +131 -0
  6. data/lib/authorize_net/aim/transaction.rb +190 -0
  7. data/lib/authorize_net/api/api_transaction.rb +123 -0
  8. data/lib/authorize_net/api/constants.yml +1 -0
  9. data/lib/authorize_net/api/schema.rb +4985 -0
  10. data/lib/authorize_net/api/transaction.rb +258 -0
  11. data/lib/authorize_net/arb/fields.rb +24 -0
  12. data/lib/authorize_net/arb/paging.rb +33 -0
  13. data/lib/authorize_net/arb/response.rb +34 -0
  14. data/lib/authorize_net/arb/sorting.rb +43 -0
  15. data/lib/authorize_net/arb/subscription.rb +72 -0
  16. data/lib/authorize_net/arb/subscription_detail.rb +14 -0
  17. data/lib/authorize_net/arb/subscription_list_response.rb +43 -0
  18. data/lib/authorize_net/arb/transaction.rb +177 -0
  19. data/lib/authorize_net/authorize_net.rb +154 -0
  20. data/lib/authorize_net/cim/customer_profile.rb +19 -0
  21. data/lib/authorize_net/cim/payment_profile.rb +37 -0
  22. data/lib/authorize_net/cim/response.rb +116 -0
  23. data/lib/authorize_net/cim/transaction.rb +727 -0
  24. data/lib/authorize_net/customer.rb +27 -0
  25. data/lib/authorize_net/email_receipt.rb +24 -0
  26. data/lib/authorize_net/fields.rb +779 -0
  27. data/lib/authorize_net/key_value_response.rb +117 -0
  28. data/lib/authorize_net/key_value_transaction.rb +291 -0
  29. data/lib/authorize_net/line_item.rb +25 -0
  30. data/lib/authorize_net/order.rb +42 -0
  31. data/lib/authorize_net/payment_methods/credit_card.rb +62 -0
  32. data/lib/authorize_net/payment_methods/echeck.rb +72 -0
  33. data/lib/authorize_net/reporting/batch.rb +19 -0
  34. data/lib/authorize_net/reporting/batch_statistics.rb +19 -0
  35. data/lib/authorize_net/reporting/fds_filter.rb +11 -0
  36. data/lib/authorize_net/reporting/response.rb +163 -0
  37. data/lib/authorize_net/reporting/returned_item.rb +46 -0
  38. data/lib/authorize_net/reporting/transaction.rb +133 -0
  39. data/lib/authorize_net/reporting/transaction_details.rb +25 -0
  40. data/lib/authorize_net/response.rb +27 -0
  41. data/lib/authorize_net/sim/hosted_payment_form.rb +38 -0
  42. data/lib/authorize_net/sim/hosted_receipt_page.rb +37 -0
  43. data/lib/authorize_net/sim/response.rb +142 -0
  44. data/lib/authorize_net/sim/transaction.rb +138 -0
  45. data/lib/authorize_net/transaction.rb +66 -0
  46. data/lib/authorize_net/xml_response.rb +172 -0
  47. data/lib/authorize_net/xml_transaction.rb +298 -0
  48. data/lib/authorize_net.rb +107 -0
  49. data/lib/authorizenet_blaq.rb +4 -0
  50. data/lib/generators/authorize_net/direct_post/direct_post_generator.rb +53 -0
  51. data/lib/generators/authorize_net/direct_post/templates/README-AuthorizeNet +49 -0
  52. data/lib/generators/authorize_net/direct_post/templates/config.yml.erb +8 -0
  53. data/lib/generators/authorize_net/direct_post/templates/config.yml.rails3.erb +8 -0
  54. data/lib/generators/authorize_net/direct_post/templates/controller.rb.erb +31 -0
  55. data/lib/generators/authorize_net/direct_post/templates/initializer.rb +4 -0
  56. data/lib/generators/authorize_net/direct_post/templates/layout.erb +18 -0
  57. data/lib/generators/authorize_net/direct_post/templates/payment.erb +10 -0
  58. data/lib/generators/authorize_net/direct_post/templates/payment.rails3.erb +10 -0
  59. data/lib/generators/authorize_net/direct_post/templates/receipt.erb +1 -0
  60. data/lib/generators/authorize_net/direct_post/templates/relay_response.erb +1 -0
  61. data/lib/generators/authorize_net/sim/sim_generator.rb +47 -0
  62. data/lib/generators/authorize_net/sim/templates/README-AuthorizeNet +52 -0
  63. data/lib/generators/authorize_net/sim/templates/config.yml.erb +8 -0
  64. data/lib/generators/authorize_net/sim/templates/config.yml.rails3.erb +8 -0
  65. data/lib/generators/authorize_net/sim/templates/controller.rb.erb +21 -0
  66. data/lib/generators/authorize_net/sim/templates/initializer.rb +4 -0
  67. data/lib/generators/authorize_net/sim/templates/layout.erb +18 -0
  68. data/lib/generators/authorize_net/sim/templates/payment.erb +6 -0
  69. data/lib/generators/authorize_net/sim/templates/payment.rails3.erb +6 -0
  70. data/lib/generators/authorize_net/sim/templates/thank_you.erb +1 -0
  71. data/lib/generators/generator_extensions.rb +75 -0
  72. metadata +196 -0
@@ -0,0 +1,4985 @@
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
+
10
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfNumericString
11
+ class NumericStringsType
12
+ include ROXML
13
+ xml_reader :numericString, :as => []
14
+ def initialize(numericString = [])
15
+ @numericString = numericString
16
+ end
17
+ end
18
+
19
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfString
20
+ class ArrayOfString < ::Array
21
+ end
22
+
23
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfBatchStatisticType
24
+ class ArrayOfBatchStatisticType < ::Array
25
+ end
26
+
27
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSetting
28
+ class ArrayOfSetting < ::Array
29
+ end
30
+
31
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emailSettingsType
32
+ # setting - SettingType
33
+ # xmlattr_version - SOAP::SOAPInteger
34
+ class EmailSettingsType
35
+ include ROXML
36
+ #AttrVersion = XSD::QName.new(nil, "version")
37
+
38
+ xml_accessor :setting
39
+
40
+ def __xmlattr
41
+ @__xmlattr ||= {}
42
+ end
43
+
44
+ def xmlattr_version
45
+ __xmlattr[AttrVersion]
46
+ end
47
+
48
+ def xmlattr_version=(value)
49
+ __xmlattr[AttrVersion] = value
50
+ end
51
+
52
+ def initialize(setting = [])
53
+ @setting = setting
54
+ @__xmlattr = {}
55
+ end
56
+ end
57
+
58
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfFDSFilter
59
+ class ArrayOfFDSFilter < ::Array
60
+ end
61
+
62
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfPermissionType
63
+ class ArrayOfPermissionType < ::Array
64
+ end
65
+
66
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}driversLicenseType
67
+ # number - SOAP::SOAPString
68
+ # state - SOAP::SOAPString
69
+ # dateOfBirth - SOAP::SOAPString
70
+ class DriversLicenseType
71
+ include ROXML
72
+ xml_accessor :number
73
+ xml_accessor :state
74
+ xml_accessor :dateOfBirth
75
+
76
+ def initialize(number = nil, state = nil, dateOfBirth = nil)
77
+ @number = number
78
+ @state = state
79
+ @dateOfBirth = dateOfBirth
80
+ end
81
+ end
82
+
83
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}driversLicenseMaskedType
84
+ # number - SOAP::SOAPString
85
+ # state - SOAP::SOAPString
86
+ # dateOfBirth - SOAP::SOAPString
87
+ class DriversLicenseMaskedType
88
+ include ROXML
89
+ xml_accessor :number
90
+ xml_accessor :state
91
+ xml_accessor :dateOfBirth
92
+
93
+ def initialize(number = nil, state = nil, dateOfBirth = nil)
94
+ @number = number
95
+ @state = state
96
+ @dateOfBirth = dateOfBirth
97
+ end
98
+ end
99
+
100
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}nameAndAddressType
101
+ # firstName - SOAP::SOAPString
102
+ # lastName - SOAP::SOAPString
103
+ # company - SOAP::SOAPString
104
+ # address - SOAP::SOAPString
105
+ # city - SOAP::SOAPString
106
+ # state - SOAP::SOAPString
107
+ # zip - SOAP::SOAPString
108
+ # country - SOAP::SOAPString
109
+ class NameAndAddressType
110
+ include ROXML
111
+ xml_accessor :firstName
112
+ xml_accessor :lastName
113
+ xml_accessor :company
114
+ xml_accessor :address
115
+ xml_accessor :city
116
+ xml_accessor :state
117
+ xml_accessor :zip
118
+ xml_accessor :country
119
+
120
+ def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil)
121
+ @firstName = firstName
122
+ @lastName = lastName
123
+ @company = company
124
+ @address = address
125
+ @city = city
126
+ @state = state
127
+ @zip = zip
128
+ @country = country
129
+ end
130
+ end
131
+
132
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerAddressType
133
+ # firstName - SOAP::SOAPString
134
+ # lastName - SOAP::SOAPString
135
+ # company - SOAP::SOAPString
136
+ # address - SOAP::SOAPString
137
+ # city - SOAP::SOAPString
138
+ # state - SOAP::SOAPString
139
+ # zip - SOAP::SOAPString
140
+ # country - SOAP::SOAPString
141
+ # phoneNumber - SOAP::SOAPString
142
+ # faxNumber - SOAP::SOAPString
143
+ class CustomerAddressType
144
+ include ROXML
145
+ xml_accessor :firstName
146
+ xml_accessor :lastName
147
+ xml_accessor :company
148
+ xml_accessor :address
149
+ xml_accessor :city
150
+ xml_accessor :state
151
+ xml_accessor :zip
152
+ xml_accessor :country
153
+ xml_accessor :phoneNumber
154
+ xml_accessor :faxNumber
155
+
156
+ def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil, phoneNumber = nil, faxNumber = nil)
157
+ @firstName = firstName
158
+ @lastName = lastName
159
+ @company = company
160
+ @address = address
161
+ @city = city
162
+ @state = state
163
+ @zip = zip
164
+ @country = country
165
+ @phoneNumber = phoneNumber
166
+ @faxNumber = faxNumber
167
+ end
168
+ end
169
+
170
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerAddressExType
171
+ # firstName - SOAP::SOAPString
172
+ # lastName - SOAP::SOAPString
173
+ # company - SOAP::SOAPString
174
+ # address - SOAP::SOAPString
175
+ # city - SOAP::SOAPString
176
+ # state - SOAP::SOAPString
177
+ # zip - SOAP::SOAPString
178
+ # country - SOAP::SOAPString
179
+ # phoneNumber - SOAP::SOAPString
180
+ # faxNumber - SOAP::SOAPString
181
+ # email - SOAP::SOAPString
182
+ # customerAddressId - (any)
183
+ class CustomerAddressExType
184
+ include ROXML
185
+ xml_accessor :firstName
186
+ xml_accessor :lastName
187
+ xml_accessor :company
188
+ xml_accessor :address
189
+ xml_accessor :city
190
+ xml_accessor :state
191
+ xml_accessor :zip
192
+ xml_accessor :country
193
+ xml_accessor :phoneNumber
194
+ xml_accessor :faxNumber
195
+ xml_accessor :email
196
+ xml_accessor :customerAddressId
197
+
198
+ def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil, phoneNumber = nil, faxNumber = nil, email = nil, customerAddressId = nil)
199
+ @firstName = firstName
200
+ @lastName = lastName
201
+ @company = company
202
+ @address = address
203
+ @city = city
204
+ @state = state
205
+ @zip = zip
206
+ @country = country
207
+ @phoneNumber = phoneNumber
208
+ @faxNumber = faxNumber
209
+ @email = email
210
+ @customerAddressId = customerAddressId
211
+ end
212
+ end
213
+
214
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}merchantContactType
215
+ # merchantName - SOAP::SOAPString
216
+ # merchantAddress - SOAP::SOAPString
217
+ # merchantCity - SOAP::SOAPString
218
+ # merchantState - SOAP::SOAPString
219
+ # merchantZip - SOAP::SOAPString
220
+ # merchantPhone - SOAP::SOAPString
221
+ class MerchantContactType
222
+ include ROXML
223
+ xml_accessor :merchantName
224
+ xml_accessor :merchantAddress
225
+ xml_accessor :merchantCity
226
+ xml_accessor :merchantState
227
+ xml_accessor :merchantZip
228
+ xml_accessor :merchantPhone
229
+
230
+ def initialize(merchantName = nil, merchantAddress = nil, merchantCity = nil, merchantState = nil, merchantZip = nil, merchantPhone = nil)
231
+ @merchantName = merchantName
232
+ @merchantAddress = merchantAddress
233
+ @merchantCity = merchantCity
234
+ @merchantState = merchantState
235
+ @merchantZip = merchantZip
236
+ @merchantPhone = merchantPhone
237
+ end
238
+ end
239
+
240
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transRetailInfoType
241
+ # marketType - SOAP::SOAPString
242
+ # deviceType - SOAP::SOAPString
243
+ class TransRetailInfoType
244
+ include ROXML
245
+ xml_accessor :marketType
246
+ xml_accessor :deviceType
247
+
248
+ def initialize(marketType = nil, deviceType = nil)
249
+ @marketType = marketType
250
+ @deviceType = deviceType
251
+ end
252
+ end
253
+
254
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardSimpleType
255
+ # cardNumber - SOAP::SOAPString
256
+ # expirationDate - SOAP::SOAPString
257
+ class CreditCardSimpleType
258
+ include ROXML
259
+ xml_accessor :cardNumber
260
+ xml_accessor :expirationDate
261
+
262
+ def initialize(cardNumber = nil, expirationDate = nil)
263
+ @cardNumber = cardNumber
264
+ @expirationDate = expirationDate
265
+ end
266
+ end
267
+
268
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardType
269
+ # cardNumber - SOAP::SOAPString
270
+ # expirationDate - SOAP::SOAPString
271
+ # cardCode - (any)
272
+ # isPaymentToken - SOAP::SOAPBoolean
273
+ # cryptogram - SOAP::SOAPString
274
+ class CreditCardType
275
+ include ROXML
276
+ xml_accessor :cardNumber
277
+ xml_accessor :expirationDate
278
+ xml_accessor :cardCode
279
+ xml_accessor :isPaymentToken
280
+ xml_accessor :cryptogram
281
+
282
+ def initialize(cardNumber = nil, expirationDate = nil, cardCode = nil, isPaymentToken = nil, cryptogram = nil)
283
+ @cardNumber = cardNumber
284
+ @expirationDate = expirationDate
285
+ @cardCode = cardCode
286
+ @isPaymentToken = isPaymentToken
287
+ @cryptogram = cryptogram
288
+ end
289
+ end
290
+
291
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardTrackType
292
+ # track1 - SOAP::SOAPString
293
+ # track2 - SOAP::SOAPString
294
+ class CreditCardTrackType
295
+ include ROXML
296
+ xml_accessor :track1
297
+ xml_accessor :track2
298
+
299
+ def initialize(track1 = nil, track2 = nil)
300
+ @track1 = track1
301
+ @track2 = track2
302
+ end
303
+ end
304
+
305
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardMaskedType
306
+ # cardNumber - SOAP::SOAPString
307
+ # expirationDate - SOAP::SOAPString
308
+ # cardType - SOAP::SOAPString
309
+ # cardArt - CardArt
310
+ class CreditCardMaskedType
311
+ include ROXML
312
+ xml_accessor :cardNumber
313
+ xml_accessor :expirationDate
314
+ xml_accessor :cardType
315
+ xml_accessor :cardArt
316
+
317
+ def initialize(cardNumber = nil, expirationDate = nil, cardType = nil)
318
+ @cardNumber = cardNumber
319
+ @expirationDate = expirationDate
320
+ @cardType = cardType
321
+ @cardArt = cardArt
322
+ end
323
+ end
324
+
325
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ccAuthenticationType
326
+ # authenticationIndicator - SOAP::SOAPString
327
+ # cardholderAuthenticationValue - SOAP::SOAPString
328
+ class CcAuthenticationType
329
+ include ROXML
330
+ xml_accessor :authenticationIndicator
331
+ xml_accessor :cardholderAuthenticationValue
332
+
333
+ def initialize(authenticationIndicator = nil, cardholderAuthenticationValue = nil)
334
+ @authenticationIndicator = authenticationIndicator
335
+ @cardholderAuthenticationValue = cardholderAuthenticationValue
336
+ end
337
+ end
338
+
339
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountType
340
+ # accountType - BankAccountTypeEnum
341
+ # routingNumber - SOAP::SOAPString
342
+ # accountNumber - SOAP::SOAPString
343
+ # nameOnAccount - SOAP::SOAPString
344
+ # echeckType - EcheckTypeEnum
345
+ # bankName - SOAP::SOAPString
346
+ # checkNumber - SOAP::SOAPString
347
+ class BankAccountType
348
+ include ROXML
349
+ xml_accessor :accountType
350
+ xml_accessor :routingNumber
351
+ xml_accessor :accountNumber
352
+ xml_accessor :nameOnAccount
353
+ xml_accessor :echeckType
354
+ xml_accessor :bankName
355
+ xml_accessor :checkNumber
356
+
357
+ def initialize(accountType = nil, routingNumber = nil, accountNumber = nil, nameOnAccount = nil, echeckType = nil, bankName = nil, checkNumber = nil)
358
+ @accountType = accountType
359
+ @routingNumber = routingNumber
360
+ @accountNumber = accountNumber
361
+ @nameOnAccount = nameOnAccount
362
+ @echeckType = echeckType
363
+ @bankName = bankName
364
+ @checkNumber = checkNumber
365
+ end
366
+ end
367
+
368
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountMaskedType
369
+ # accountType - BankAccountTypeEnum
370
+ # routingNumber - SOAP::SOAPString
371
+ # accountNumber - SOAP::SOAPString
372
+ # nameOnAccount - SOAP::SOAPString
373
+ # echeckType - EcheckTypeEnum
374
+ # bankName - SOAP::SOAPString
375
+ class BankAccountMaskedType
376
+ include ROXML
377
+ xml_accessor :accountType
378
+ xml_accessor :routingNumber
379
+ xml_accessor :accountNumber
380
+ xml_accessor :nameOnAccount
381
+ xml_accessor :echeckType
382
+ xml_accessor :bankName
383
+
384
+ def initialize(accountType = nil, routingNumber = nil, accountNumber = nil, nameOnAccount = nil, echeckType = nil, bankName = nil)
385
+ @accountType = accountType
386
+ @routingNumber = routingNumber
387
+ @accountNumber = accountNumber
388
+ @nameOnAccount = nameOnAccount
389
+ @echeckType = echeckType
390
+ @bankName = bankName
391
+ end
392
+ end
393
+
394
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}opaqueDataType
395
+ # dataDescriptor - SOAP::SOAPString
396
+ # dataValue - SOAP::SOAPString
397
+ # dataKey - SOAP::SOAPString
398
+ class OpaqueDataType
399
+ include ROXML
400
+ xml_accessor :dataDescriptor
401
+ xml_accessor :dataValue
402
+ xml_accessor :dataKey
403
+
404
+ def initialize(dataDescriptor = nil, dataValue = nil, dataKey = nil)
405
+ @dataDescriptor = dataDescriptor
406
+ @dataValue = dataValue
407
+ @dataKey = dataKey
408
+ end
409
+ end
410
+
411
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentEmvType
412
+ # emvData - SOAP::SOAPString
413
+ # emvDescriptor - SOAP::SOAPString
414
+ # emvVersion - SOAP::SOAPString
415
+ class PaymentEmvType
416
+ include ROXML
417
+ xml_accessor :emvData
418
+ xml_accessor :emvDescriptor
419
+ xml_accessor :emvVersion
420
+
421
+ def initialize(emvData = nil, emvDescriptor = nil, emvVersion = nil)
422
+ @emvData = emvData
423
+ @emvDescriptor = emvDescriptor
424
+ @emvVersion = emvVersion
425
+ end
426
+ end
427
+
428
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentSimpleType
429
+ # creditCard - CreditCardSimpleType
430
+ # bankAccount - BankAccountType
431
+ class PaymentSimpleType
432
+ include ROXML
433
+ xml_accessor :creditCard
434
+ xml_accessor :bankAccount
435
+
436
+ def initialize(creditCard = nil, bankAccount = nil)
437
+ @creditCard = creditCard
438
+ @bankAccount = bankAccount
439
+ end
440
+ end
441
+
442
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}OperationType
443
+ class OperationType < ::String
444
+ DECRYPT = OperationType.new("DECRYPT")
445
+ end
446
+
447
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}KeyManagementScheme
448
+ # dUKPT - KeyManagementScheme::DUKPT
449
+ class KeyManagementScheme
450
+ include ROXML
451
+ # inner class for member: DUKPT
452
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}DUKPT
453
+ # operation - OperationType
454
+ # mode - KeyManagementScheme::DUKPT::Mode
455
+ # deviceInfo - KeyManagementScheme::DUKPT::DeviceInfo
456
+ # encryptedData - KeyManagementScheme::DUKPT::EncryptedData
457
+ class DUKPT
458
+ include ROXML
459
+ # inner class for member: Mode
460
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}Mode
461
+ # pIN - SOAP::SOAPString
462
+ # data - SOAP::SOAPString
463
+ class Mode
464
+ include ROXML
465
+ xml_accessor :PIN
466
+ xml_accessor :Data
467
+
468
+ def initialize(pIN = nil, data = nil)
469
+ @pIN = pIN
470
+ @data = data
471
+ end
472
+ end
473
+
474
+ # inner class for member: DeviceInfo
475
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}DeviceInfo
476
+ # description - SOAP::SOAPString
477
+ class DeviceInfo
478
+ include ROXML
479
+ xml_accessor :Description
480
+
481
+ def initialize(description = nil)
482
+ @description = description
483
+ end
484
+ end
485
+
486
+ # inner class for member: EncryptedData
487
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EncryptedData
488
+ # value - SOAP::SOAPString
489
+ class EncryptedData
490
+ include ROXML
491
+ xml_accessor :Value
492
+
493
+ def initialize(value = nil)
494
+ @value = value
495
+ end
496
+ end
497
+
498
+ xml_accessor :Operation
499
+ xml_accessor :Mode, :as => Mode
500
+ xml_accessor :DeviceInfo, :as => DeviceInfo
501
+ xml_accessor :EncryptedData, :as => EncryptedData
502
+
503
+ def initialize(operation = nil, mode = nil, deviceInfo = nil, encryptedData = nil)
504
+ @operation = operation
505
+ @mode = mode
506
+ @deviceInfo = deviceInfo
507
+ @encryptedData = encryptedData
508
+ end
509
+ end
510
+
511
+ xml_accessor :DUKPT, :as => DUKPT
512
+
513
+ def initialize(dUKPT = nil)
514
+ @dUKPT = dUKPT
515
+ end
516
+ end
517
+
518
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EncryptionAlgorithmType
519
+ class EncryptionAlgorithmType < ::String
520
+ AES = EncryptionAlgorithmType.new("AES")
521
+ RSA = EncryptionAlgorithmType.new("RSA")
522
+ TDES = EncryptionAlgorithmType.new("TDES")
523
+ end
524
+
525
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EncodingType
526
+ class EncodingType < ::String
527
+ Base64 = EncodingType.new("Base64")
528
+ Hex = EncodingType.new("Hex")
529
+ end
530
+
531
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}KeyValue
532
+ # encoding - EncodingType
533
+ # encryptionAlgorithm - EncryptionAlgorithmType
534
+ # scheme - KeyManagementScheme
535
+ class KeyValue
536
+ include ROXML
537
+ xml_accessor :Encoding
538
+ xml_accessor :EncryptionAlgorithm
539
+ xml_accessor :Scheme, :as => KeyManagementScheme
540
+
541
+ def initialize(encoding = nil, encryptionAlgorithm = nil, scheme = nil)
542
+ @encoding = encoding
543
+ @encryptionAlgorithm = encryptionAlgorithm
544
+ @scheme = scheme
545
+ end
546
+ end
547
+
548
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}KeyBlock
549
+ # value - KeyValue
550
+ class KeyBlock
551
+ include ROXML
552
+ xml_accessor :Value, :as => KeyValue
553
+
554
+ def initialize(value = nil)
555
+ @value = value
556
+ end
557
+ end
558
+
559
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}encryptedTrackDataType
560
+ # formOfPayment - KeyBlock
561
+ class EncryptedTrackDataType
562
+ include ROXML
563
+ xml_accessor :FormOfPayment, :as => KeyBlock
564
+
565
+ def initialize(formOfPayment = nil)
566
+ @formOfPayment = formOfPayment
567
+ end
568
+ end
569
+
570
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}payPalType
571
+ # successUrl - SOAP::SOAPString
572
+ # cancelUrl - SOAP::SOAPString
573
+ # paypalLc - SOAP::SOAPString
574
+ # paypalHdrImg - SOAP::SOAPString
575
+ # paypalPayflowcolor - SOAP::SOAPString
576
+ # payerID - SOAP::SOAPString
577
+ class PayPalType
578
+ include ROXML
579
+ xml_accessor :successUrl
580
+ xml_accessor :cancelUrl
581
+ xml_accessor :paypalLc
582
+ xml_accessor :paypalHdrImg
583
+ xml_accessor :paypalPayflowcolor
584
+ xml_accessor :payerID
585
+
586
+ def initialize(successUrl = nil, cancelUrl = nil, paypalLc = nil, paypalHdrImg = nil, paypalPayflowcolor = nil, payerID = nil)
587
+ @successUrl = successUrl
588
+ @cancelUrl = cancelUrl
589
+ @paypalLc = paypalLc
590
+ @paypalHdrImg = paypalHdrImg
591
+ @paypalPayflowcolor = paypalPayflowcolor
592
+ @payerID = payerID
593
+ end
594
+ end
595
+
596
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentType
597
+ # creditCard - CreditCardType
598
+ # bankAccount - BankAccountType
599
+ # trackData - CreditCardTrackType
600
+ # encryptedTrackData - EncryptedTrackDataType
601
+ # payPal - PayPalType
602
+ # opaqueData - OpaqueDataType
603
+ # emv - PaymentEmvType
604
+ class PaymentType
605
+ include ROXML
606
+ xml_accessor :creditCard, :as => CreditCardType
607
+ xml_accessor :bankAccount, :as => BankAccountType
608
+ xml_accessor :trackData, :as => CreditCardTrackType
609
+ xml_accessor :encryptedTrackData, :as => EncryptedTrackDataType
610
+ xml_accessor :payPal, :as => PayPalType
611
+ xml_accessor :opaqueData, :as => OpaqueDataType
612
+ xml_accessor :emv, :as => PaymentEmvType
613
+
614
+ def initialize(creditCard = nil, bankAccount = nil, trackData = nil, encryptedTrackData = nil, payPal = nil, opaqueData = nil, emv = nil)
615
+ @creditCard = creditCard
616
+ @bankAccount = bankAccount
617
+ @trackData = trackData
618
+ @encryptedTrackData = encryptedTrackData
619
+ @payPal = payPal
620
+ @opaqueData = opaqueData
621
+ @emv = emv
622
+ end
623
+ end
624
+
625
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentMaskedType
626
+ # creditCard - CreditCardMaskedType
627
+ # bankAccount - BankAccountMaskedType
628
+ # tokenInformation - TokenMaskedType
629
+ class PaymentMaskedType
630
+ include ROXML
631
+ xml_accessor :creditCard, :as => CreditCardMaskedType
632
+ xml_accessor :bankAccount, :as => BankAccountMaskedType
633
+ xml_accessor :tokenInformation
634
+
635
+ def initialize(creditCard = nil, bankAccount = nil, tokenInformation = nil)
636
+ @creditCard = creditCard
637
+ @bankAccount = bankAccount
638
+ @tokenInformation = tokenInformation
639
+ end
640
+ end
641
+
642
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}tokenMaskedType
643
+ # tokenSource - SOAP::SOAPString
644
+ # tokenNumber - SOAP::SOAPString
645
+ # expirationDate - SOAP::SOAPString
646
+ class TokenMaskedType
647
+ include ROXML
648
+ xml_accessor :tokenSource
649
+ xml_accessor :tokenNumber
650
+ xml_accessor :expirationDate
651
+
652
+ def initialize(tokenSource = nil, tokenNumber = nil, expirationDate = nil)
653
+ @tokenSource = tokenSource
654
+ @tokenNumber = tokenNumber
655
+ @expirationDate = expirationDate
656
+ end
657
+ end
658
+
659
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}orderType
660
+ # invoiceNumber - SOAP::SOAPString
661
+ # description - SOAP::SOAPString
662
+ class OrderType
663
+ include ROXML
664
+ xml_accessor :invoiceNumber
665
+ xml_accessor :description
666
+
667
+ def initialize(invoiceNumber = nil, description = nil)
668
+ @invoiceNumber = invoiceNumber
669
+ @description = description
670
+ end
671
+ end
672
+
673
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}orderExType
674
+ # invoiceNumber - SOAP::SOAPString
675
+ # description - SOAP::SOAPString
676
+ # purchaseOrderNumber - SOAP::SOAPString
677
+ class OrderExType
678
+ include ROXML
679
+ xml_accessor :invoiceNumber
680
+ xml_accessor :description
681
+ xml_accessor :purchaseOrderNumber
682
+
683
+ def initialize(invoiceNumber = nil, description = nil, purchaseOrderNumber = nil)
684
+ @invoiceNumber = invoiceNumber
685
+ @description = description
686
+ @purchaseOrderNumber = purchaseOrderNumber
687
+ end
688
+ end
689
+
690
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerType
691
+ # type - CustomerTypeEnum
692
+ # id - SOAP::SOAPString
693
+ # email - SOAP::SOAPString
694
+ # phoneNumber - SOAP::SOAPString
695
+ # faxNumber - SOAP::SOAPString
696
+ # driversLicense - DriversLicenseType
697
+ # taxId - SOAP::SOAPString
698
+ class CustomerType
699
+ include ROXML
700
+ xml_accessor :type
701
+ xml_accessor :id
702
+ xml_accessor :email
703
+ xml_accessor :phoneNumber
704
+ xml_accessor :faxNumber
705
+ xml_accessor :driversLicense
706
+ xml_accessor :taxId
707
+
708
+ def initialize(type = nil, id = nil, email = nil, phoneNumber = nil, faxNumber = nil, driversLicense = nil, taxId = nil)
709
+ @type = type
710
+ @id = id
711
+ @email = email
712
+ @phoneNumber = phoneNumber
713
+ @faxNumber = faxNumber
714
+ @driversLicense = driversLicense
715
+ @taxId = taxId
716
+ end
717
+ end
718
+
719
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerDataType
720
+ # type - CustomerTypeEnum
721
+ # id - SOAP::SOAPString
722
+ # email - SOAP::SOAPString
723
+ # driversLicense - DriversLicenseType
724
+ # taxId - SOAP::SOAPString
725
+ class CustomerDataType
726
+ include ROXML
727
+ xml_accessor :type
728
+ xml_accessor :id
729
+ xml_accessor :email
730
+ xml_accessor :driversLicense, :as => DriversLicenseType
731
+ xml_accessor :taxId
732
+
733
+ def initialize(type = nil, id = nil, email = nil, driversLicense = nil, taxId = nil)
734
+ @type = type
735
+ @id = id
736
+ @email = email
737
+ @driversLicense = driversLicense
738
+ @taxId = taxId
739
+ end
740
+ end
741
+
742
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}impersonationAuthenticationType
743
+ # partnerLoginId - SOAP::SOAPString
744
+ # partnerTransactionKey - SOAP::SOAPString
745
+ class ImpersonationAuthenticationType
746
+ include ROXML
747
+ xml_accessor :partnerLoginId
748
+ xml_accessor :partnerTransactionKey
749
+
750
+ def initialize(partnerLoginId = nil, partnerTransactionKey = nil)
751
+ @partnerLoginId = partnerLoginId
752
+ @partnerTransactionKey = partnerTransactionKey
753
+ end
754
+ end
755
+
756
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}fingerPrintType
757
+ # hashValue - SOAP::SOAPString
758
+ # sequence - SOAP::SOAPString
759
+ # timestamp - SOAP::SOAPString
760
+ # currencyCode - SOAP::SOAPString
761
+ # amount - SOAP::SOAPString
762
+ class FingerPrintType
763
+ include ROXML
764
+ xml_accessor :hashValue
765
+ xml_accessor :sequence
766
+ xml_accessor :timestamp
767
+ xml_accessor :currencyCode
768
+ xml_accessor :amount
769
+
770
+ def initialize(hashValue = nil, sequence = nil, timestamp = nil, currencyCode = nil, amount = nil)
771
+ @hashValue = hashValue
772
+ @sequence = sequence
773
+ @timestamp = timestamp
774
+ @currencyCode = currencyCode
775
+ @amount = amount
776
+ end
777
+ end
778
+
779
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}merchantAuthenticationType
780
+ # name - SOAP::SOAPString
781
+ # transactionKey - SOAP::SOAPString
782
+ # sessionToken - SOAP::SOAPString
783
+ # password - SOAP::SOAPString
784
+ # impersonationAuthentication - ImpersonationAuthenticationType
785
+ # fingerPrint - FingerPrintType
786
+ # mobileDeviceId - SOAP::SOAPString
787
+ # accessToken - SOAP::SOAPString
788
+ class MerchantAuthenticationType
789
+ include ROXML
790
+ xml_accessor :name
791
+ xml_accessor :transactionKey
792
+ xml_accessor :sessionToken
793
+ xml_accessor :password
794
+ xml_accessor :impersonationAuthentication, :as => ImpersonationAuthenticationType
795
+ xml_accessor :fingerPrint, :as => FingerPrintType
796
+ xml_accessor :mobileDeviceId
797
+ xml_accessor :accessToken
798
+
799
+ def initialize(name = nil, transactionKey = nil, sessionToken = nil, password = nil, impersonationAuthentication = nil, fingerPrint = nil, mobileDeviceId = nil, accessToken = nil)
800
+ @name = name
801
+ @transactionKey = transactionKey
802
+ @sessionToken = sessionToken
803
+ @password = password
804
+ @impersonationAuthentication = impersonationAuthentication
805
+ @fingerPrint = fingerPrint
806
+ @mobileDeviceId = mobileDeviceId
807
+ @accessToken = accessToken
808
+ end
809
+ end
810
+
811
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}cardArt
812
+ # cardBrand - SOAP::SOAPString
813
+ # cardImageHeight - SOAP::SOAPString
814
+ # cardImageUrl - SOAP::SOAPString
815
+ # cardImageWidth - SOAP::SOAPString
816
+ # cardType - SOAP::SOAPString
817
+ class CardArt
818
+ include ROXML
819
+ xml_accessor :cardBrand
820
+ xml_accessor :cardImageHeight
821
+ xml_accessor :cardImageUrl
822
+ xml_accessor :cardImageWidth
823
+ xml_accessor :cardType
824
+
825
+ def initialize(cardBrand = nil, cardImageHeight = nil, cardImageUrl = nil, cardImageWidth = nil, cardType = nil)
826
+ @cardBrand = cardBrand
827
+ @cardImageHeight = cardImageHeight
828
+ @cardImageUrl = cardImageUrl
829
+ @cardImageWidth = cardImageWidth
830
+ @cardType = cardType
831
+ end
832
+ end
833
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentDetails
834
+ # currency - SOAP::SOAPString
835
+ # promoCode - SOAP::SOAPString
836
+ # misc - SOAP::SOAPString
837
+ # giftWrap - SOAP::SOAPString
838
+ # discount - SOAP::SOAPString
839
+ # tax - SOAP::SOAPString
840
+ # shippingHandling - SOAP::SOAPString
841
+ # subTotal - SOAP::SOAPString
842
+ # orderID - SOAP::SOAPString
843
+ # amount - SOAP::SOAPString
844
+ class PaymentDetails
845
+ include ROXML
846
+ xml_accessor :currency
847
+ xml_accessor :promoCode
848
+ xml_accessor :misc
849
+ xml_accessor :giftWrap
850
+ xml_accessor :discount
851
+ xml_accessor :tax
852
+ xml_accessor :shippingHandling
853
+ xml_accessor :subTotal
854
+ xml_accessor :orderID
855
+ xml_accessor :amount
856
+
857
+ def initialize(currency = nil, promoCode = nil, misc = nil, giftWrap = nil, discount = nil, tax = nil, shippingHandling = nil, subTotal = nil, orderID = nil, amount = nil)
858
+ @currency = currency
859
+ @promoCode = promoCode
860
+ @misc = misc
861
+ @giftWrap = giftWrap
862
+ @discount = discount
863
+ @tax = tax
864
+ @shippingHandling = shippingHandling
865
+ @subTotal = subTotal
866
+ @orderID = orderID
867
+ @amount = amount
868
+ end
869
+ end
870
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentScheduleType
871
+ # interval - PaymentScheduleType::Interval
872
+ # startDate - SOAP::SOAPDate
873
+ # totalOccurrences - SOAP::SOAPShort
874
+ # trialOccurrences - SOAP::SOAPShort
875
+ class PaymentScheduleType
876
+ include ROXML
877
+
878
+ # inner class for member: interval
879
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}interval
880
+ # length - SOAP::SOAPShort
881
+ # unit - ARBSubscriptionUnitEnum
882
+ class Interval
883
+ include ROXML
884
+ xml_accessor :length
885
+ xml_accessor :unit
886
+
887
+ def initialize(length = nil, unit = nil)
888
+ @length = length
889
+ @unit = unit
890
+ end
891
+ end
892
+
893
+ xml_accessor :interval, :as => Interval
894
+ xml_accessor :startDate
895
+ xml_accessor :totalOccurrences
896
+ xml_accessor :trialOccurrences
897
+
898
+ def initialize(interval = nil, startDate = nil, totalOccurrences = nil, trialOccurrences = nil)
899
+ @interval = interval
900
+ @startDate = startDate
901
+ @totalOccurrences = totalOccurrences
902
+ @trialOccurrences = trialOccurrences
903
+ end
904
+ end
905
+
906
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileIdType
907
+ # customerProfileId - SOAP::SOAPString
908
+ # customerPaymentProfileId - SOAP::SOAPString
909
+ # customerAddressId - SOAP::SOAPString
910
+ class CustomerProfileIdType
911
+ include ROXML
912
+ xml_accessor :customerProfileId
913
+ xml_accessor :customerPaymentProfileId
914
+ xml_accessor :customerAddressId
915
+
916
+ def initialize(customerProfileId = nil, customerPaymentProfileId = nil, customerAddressId = nil)
917
+ @customerProfileId = customerProfileId
918
+ @customerPaymentProfileId = customerPaymentProfileId
919
+ @customerAddressId = customerAddressId
920
+ end
921
+ end
922
+
923
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionType
924
+ # name - SOAP::SOAPString
925
+ # paymentSchedule - PaymentScheduleType
926
+ # amount - SOAP::SOAPDecimal
927
+ # trialAmount - SOAP::SOAPDecimal
928
+ # payment - PaymentType
929
+ # order - OrderType
930
+ # customer - CustomerType
931
+ # billTo - NameAndAddressType
932
+ # shipTo - NameAndAddressType
933
+ # profile - CustomerProfileIdType
934
+ class ARBSubscriptionType
935
+ include ROXML
936
+ xml_accessor :name
937
+ xml_accessor :paymentSchedule, :as => PaymentScheduleType
938
+ xml_accessor :amount
939
+ xml_accessor :trialAmount
940
+ xml_accessor :payment, :as => PaymentType
941
+ xml_accessor :order, :as => OrderType
942
+ xml_accessor :customer, :as => CustomerType
943
+ xml_accessor :billTo, :as => NameAndAddressType
944
+ xml_accessor :shipTo, :as => NameAndAddressType
945
+ xml_accessor :profile, :as => CustomerProfileIdType
946
+
947
+ def initialize(name = nil, paymentSchedule = nil, amount = nil, trialAmount = nil, payment = nil, order = nil, customer = nil, billTo = nil, shipTo = nil, profile = nil)
948
+ @name = name
949
+ @paymentSchedule = paymentSchedule
950
+ @amount = amount
951
+ @trialAmount = trialAmount
952
+ @payment = payment
953
+ @order = order
954
+ @customer = customer
955
+ @billTo = billTo
956
+ @shipTo = shipTo
957
+ @profile = profile
958
+ end
959
+ end
960
+
961
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}subscriptionPaymentType
962
+ # id - SOAP::SOAPInt
963
+ # payNum - SOAP::SOAPInt
964
+ class SubscriptionPaymentType
965
+ include ROXML
966
+ xml_accessor :id
967
+ xml_accessor :payNum
968
+
969
+ def initialize(id = nil, payNum = nil)
970
+ @id = id
971
+ @payNum = payNum
972
+ end
973
+ end
974
+
975
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceType
976
+ # mobileDeviceId - SOAP::SOAPString
977
+ # description - SOAP::SOAPString
978
+ # phoneNumber - SOAP::SOAPString
979
+ # devicePlatform - SOAP::SOAPString
980
+ # deviceActivation - DeviceActivationEnum
981
+ class MobileDeviceType
982
+ include ROXML
983
+ xml_accessor :mobileDeviceId
984
+ xml_accessor :description
985
+ xml_accessor :phoneNumber
986
+ xml_accessor :devicePlatform
987
+ xml_accessor :deviceActivation
988
+
989
+ def initialize(mobileDeviceId = nil, description = nil, phoneNumber = nil, devicePlatform = nil, deviceActivation = nil)
990
+ @mobileDeviceId = mobileDeviceId
991
+ @description = description
992
+ @phoneNumber = phoneNumber
993
+ @devicePlatform = devicePlatform
994
+ @deviceActivation = deviceActivation
995
+ end
996
+ end
997
+
998
+
999
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settingType
1000
+ # settingName - SOAP::SOAPString
1001
+ # settingValue - SOAP::SOAPString
1002
+ class SettingType
1003
+ include ROXML
1004
+ xml_accessor :settingName
1005
+ xml_accessor :settingValue
1006
+
1007
+ def initialize(settingName = nil, settingValue = nil)
1008
+ @settingName = settingName
1009
+ @settingValue = settingValue
1010
+ end
1011
+ end
1012
+
1013
+ class Settings
1014
+ include ROXML
1015
+ xml_accessor :settings, :as => [SettingType]
1016
+ def initialize(settings = [])
1017
+ @settings = settings
1018
+ end
1019
+ end
1020
+
1021
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}permissionType
1022
+ # permissionName - SOAP::SOAPString
1023
+ class PermissionType
1024
+ include ROXML
1025
+ xml_accessor :permissionName
1026
+
1027
+ def initialize(permissionName = nil)
1028
+ @permissionName = permissionName
1029
+ end
1030
+ end
1031
+
1032
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}userField
1033
+ # name - SOAP::SOAPString
1034
+ # value - SOAP::SOAPString
1035
+ class UserField
1036
+ include ROXML
1037
+ xml_accessor :name
1038
+ xml_accessor :value
1039
+
1040
+ def initialize(name = nil, value = nil)
1041
+ @name = name
1042
+ @value = value
1043
+ end
1044
+ end
1045
+
1046
+ class UserFields
1047
+ include ROXML
1048
+ xml_accessor :userFields, :as => [UserField]
1049
+
1050
+ def initialize(userFields = [])
1051
+ @userFields = userFields
1052
+ end
1053
+ end
1054
+
1055
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileBaseType
1056
+ # customerType - CustomerTypeEnum
1057
+ # billTo - CustomerAddressType
1058
+ class CustomerPaymentProfileBaseType
1059
+ include ROXML
1060
+ xml_accessor :customerType
1061
+ xml_accessor :billTo
1062
+
1063
+ def initialize(customerType = nil, billTo = nil)
1064
+ @customerType = customerType
1065
+ @billTo = billTo
1066
+ end
1067
+ end
1068
+
1069
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileType
1070
+ # customerType - CustomerTypeEnum
1071
+ # billTo - CustomerAddressType
1072
+ # payment - PaymentType
1073
+ # driversLicense - DriversLicenseType
1074
+ # taxId - SOAP::SOAPString
1075
+ class CustomerPaymentProfileType
1076
+ include ROXML
1077
+ xml_accessor :customerType
1078
+ xml_accessor :billTo, :as => CustomerAddressType
1079
+ xml_accessor :payment, :as => PaymentType
1080
+ xml_accessor :driversLicense, :as => DriversLicenseType
1081
+ xml_accessor :taxId
1082
+ xml_accessor :defaultPaymentProfile
1083
+
1084
+ def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, defaultPaymentProfile = nil)
1085
+ @customerType = customerType
1086
+ @billTo = billTo
1087
+ @payment = payment
1088
+ @driversLicense = driversLicense
1089
+ @taxId = taxId
1090
+ @defaultPaymentProfile = defaultPaymentProfile
1091
+ end
1092
+ end
1093
+
1094
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileExType
1095
+ # customerType - CustomerTypeEnum
1096
+ # billTo - CustomerAddressType
1097
+ # payment - PaymentType
1098
+ # driversLicense - DriversLicenseType
1099
+ # taxId - SOAP::SOAPString
1100
+ # customerPaymentProfileId - (any)
1101
+ class CustomerPaymentProfileExType
1102
+ include ROXML
1103
+ xml_accessor :customerType
1104
+ xml_accessor :billTo, :as => CustomerAddressType
1105
+ xml_accessor :payment, :as => PaymentType
1106
+ xml_accessor :driversLicense, :as => DriversLicenseType
1107
+ xml_accessor :taxId
1108
+ xml_accessor :customerPaymentProfileId
1109
+
1110
+ def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, customerPaymentProfileId = nil)
1111
+ @customerType = customerType
1112
+ @billTo = billTo
1113
+ @payment = payment
1114
+ @driversLicense = driversLicense
1115
+ @taxId = taxId
1116
+ @customerPaymentProfileId = customerPaymentProfileId
1117
+ end
1118
+ end
1119
+
1120
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionIdList
1121
+ # subscriptionId - SubscriptionIdList
1122
+ class SubscriptionIdList
1123
+ include ROXML
1124
+ xml_accessor :subscriptionId, :as => []
1125
+
1126
+ def initialize(subscriptionId = nil)
1127
+ @subscriptionId = subscriptionId
1128
+ end
1129
+ end
1130
+
1131
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileMaskedType
1132
+ # customerType - CustomerTypeEnum
1133
+ # billTo - CustomerAddressType
1134
+ # customerProfileId - (any)
1135
+ # customerPaymentProfileId - (any)
1136
+ # payment - PaymentMaskedType
1137
+ # driversLicense - DriversLicenseMaskedType
1138
+ # taxId - SOAP::SOAPString
1139
+ # subscriptionIds - SubscriptionIdList
1140
+ class CustomerPaymentProfileMaskedType
1141
+ include ROXML
1142
+ xml_accessor :customerType
1143
+ xml_accessor :billTo, :as => CustomerAddressType
1144
+ xml_accessor :customerProfileId
1145
+ xml_accessor :customerPaymentProfileId
1146
+ xml_accessor :defaultPaymentProfile
1147
+ xml_accessor :payment, :as => PaymentMaskedType
1148
+ xml_accessor :driversLicense, :as => DriversLicenseMaskedType
1149
+ xml_accessor :taxId
1150
+ xml_accessor :subscriptionIds, :as => SubscriptionIdList
1151
+
1152
+ def initialize(customerType = nil, billTo = nil, customerProfileId = nil, customerPaymentProfileId = nil, payment = nil, driversLicense = nil, taxId = nil, subscriptionIds = nil, defaultPaymentProfile = nil)
1153
+ @customerType = customerType
1154
+ @billTo = billTo
1155
+ @customerProfileId = customerProfileId
1156
+ @customerPaymentProfileId = customerPaymentProfileId
1157
+ @payment = payment
1158
+ @driversLicense = driversLicense
1159
+ @taxId = taxId
1160
+ @subscriptionIds = subscriptionIds
1161
+ @defaultPaymentProfile = defaultPaymentProfile
1162
+ end
1163
+ end
1164
+
1165
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileBaseType
1166
+ # merchantCustomerId - SOAP::SOAPString
1167
+ # description - SOAP::SOAPString
1168
+ # email - SOAP::SOAPString
1169
+ class CustomerProfileBaseType
1170
+ include ROXML
1171
+ xml_accessor :merchantCustomerId
1172
+ xml_accessor :description
1173
+ xml_accessor :email
1174
+
1175
+ def initialize(merchantCustomerId = nil, description = nil, email = nil)
1176
+ @merchantCustomerId = merchantCustomerId
1177
+ @description = description
1178
+ @email = email
1179
+ end
1180
+ end
1181
+
1182
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileType
1183
+ # merchantCustomerId - SOAP::SOAPString
1184
+ # description - SOAP::SOAPString
1185
+ # email - SOAP::SOAPString
1186
+ # paymentProfiles - CustomerPaymentProfileType
1187
+ # shipToList - CustomerAddressType
1188
+ class CustomerProfileType
1189
+ include ROXML
1190
+ xml_accessor :merchantCustomerId
1191
+ xml_accessor :description
1192
+ xml_accessor :email
1193
+ xml_accessor :paymentProfiles, :from => 'paymentProfiles', :as => [CustomerPaymentProfileType]
1194
+ xml_accessor :shipToList, :from => 'shipToList', :as => [CustomerAddressType]
1195
+
1196
+ def initialize(merchantCustomerId = nil, description = nil, email = nil, paymentProfiles = [], shipToList = [])
1197
+ @merchantCustomerId = merchantCustomerId
1198
+ @description = description
1199
+ @email = email
1200
+ @paymentProfiles = paymentProfiles
1201
+ @shipToList = shipToList
1202
+ end
1203
+ end
1204
+
1205
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileExType
1206
+ # merchantCustomerId - SOAP::SOAPString
1207
+ # description - SOAP::SOAPString
1208
+ # email - SOAP::SOAPString
1209
+ # customerProfileId - (any)
1210
+ class CustomerProfileExType
1211
+ include ROXML
1212
+ xml_accessor :merchantCustomerId
1213
+ xml_accessor :description
1214
+ xml_accessor :email
1215
+ xml_accessor :customerProfileId
1216
+
1217
+ def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil)
1218
+ @merchantCustomerId = merchantCustomerId
1219
+ @description = description
1220
+ @email = email
1221
+ @customerProfileId = customerProfileId
1222
+ end
1223
+ end
1224
+
1225
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileMaskedType
1226
+ # merchantCustomerId - SOAP::SOAPString
1227
+ # description - SOAP::SOAPString
1228
+ # email - SOAP::SOAPString
1229
+ # customerProfileId - (any)
1230
+ # paymentProfiles - CustomerPaymentProfileMaskedType
1231
+ # shipToList - CustomerAddressExType
1232
+ class CustomerProfileMaskedType
1233
+ include ROXML
1234
+ xml_accessor :merchantCustomerId
1235
+ xml_accessor :description
1236
+ xml_accessor :email
1237
+ xml_accessor :customerProfileId
1238
+ xml_accessor :paymentProfiles, :from => 'paymentProfiles' , :as => [CustomerPaymentProfileMaskedType]
1239
+ xml_accessor :shipToList, :from => 'shipToList' , :as => [CustomerAddressExType]
1240
+
1241
+ def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil, paymentProfiles = [], shipToList = [])
1242
+ @merchantCustomerId = merchantCustomerId
1243
+ @description = description
1244
+ @email = email
1245
+ @customerProfileId = customerProfileId
1246
+ @paymentProfiles = paymentProfiles
1247
+ @shipToList = shipToList
1248
+ end
1249
+ end
1250
+
1251
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType
1252
+ # amount - SOAP::SOAPDecimal
1253
+ # name - SOAP::SOAPString
1254
+ # description - SOAP::SOAPString
1255
+ class ExtendedAmountType
1256
+ include ROXML
1257
+ xml_accessor :amount, :as => BigDecimal
1258
+ xml_accessor :name
1259
+ xml_accessor :description
1260
+
1261
+ def initialize(amount = nil, name = nil, description = nil)
1262
+ @amount = amount
1263
+ @name = name
1264
+ @description = description
1265
+ end
1266
+ end
1267
+
1268
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}lineItemType
1269
+ # itemId - SOAP::SOAPString
1270
+ # name - SOAP::SOAPString
1271
+ # description - SOAP::SOAPString
1272
+ # quantity - SOAP::SOAPDecimal
1273
+ # unitPrice - SOAP::SOAPDecimal
1274
+ # taxable - SOAP::SOAPBoolean
1275
+ class LineItemType
1276
+ include ROXML
1277
+ xml_accessor :itemId
1278
+ xml_accessor :name
1279
+ xml_accessor :description
1280
+ xml_accessor :quantity, :as => BigDecimal
1281
+ xml_accessor :unitPrice, :as => BigDecimal
1282
+ xml_accessor :taxable
1283
+
1284
+ def initialize(itemId = nil, name = nil, description = nil, quantity = nil, unitPrice = nil, taxable = nil)
1285
+ @itemId = itemId
1286
+ @name = name
1287
+ @description = description
1288
+ @quantity = quantity
1289
+ @unitPrice = unitPrice
1290
+ @taxable = taxable
1291
+ end
1292
+ end
1293
+
1294
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfLineItem
1295
+ class LineItems
1296
+ include ROXML
1297
+ xml_accessor :lineItems, :as => [LineItemType]
1298
+
1299
+ def initialize(lineItems = [])
1300
+ @lineItems = lineItems
1301
+ end
1302
+ end
1303
+
1304
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransAmountType
1305
+ # amount - SOAP::SOAPDecimal
1306
+ # tax - ExtendedAmountType
1307
+ # shipping - ExtendedAmountType
1308
+ # duty - ExtendedAmountType
1309
+ # lineItems - LineItemType
1310
+ class ProfileTransAmountType
1311
+ include ROXML
1312
+ xml_accessor :amount
1313
+ xml_accessor :tax
1314
+ xml_accessor :shipping
1315
+ xml_accessor :duty
1316
+ xml_accessor :lineItems
1317
+
1318
+ def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [])
1319
+ @amount = amount
1320
+ @tax = tax
1321
+ @shipping = shipping
1322
+ @duty = duty
1323
+ @lineItems = lineItems
1324
+ end
1325
+ end
1326
+
1327
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransOrderType
1328
+ # amount - SOAP::SOAPDecimal
1329
+ # tax - ExtendedAmountType
1330
+ # shipping - ExtendedAmountType
1331
+ # duty - ExtendedAmountType
1332
+ # lineItems - LineItemType
1333
+ # customerProfileId - (any)
1334
+ # customerPaymentProfileId - (any)
1335
+ # customerShippingAddressId - (any)
1336
+ # order - OrderExType
1337
+ # taxExempt - SOAP::SOAPBoolean
1338
+ # recurringBilling - SOAP::SOAPBoolean
1339
+ # cardCode - (any)
1340
+ # splitTenderId - (any)
1341
+ class ProfileTransOrderType
1342
+ include ROXML
1343
+ xml_accessor :amount
1344
+ xml_accessor :tax
1345
+ xml_accessor :shipping
1346
+ xml_accessor :duty
1347
+ xml_accessor :lineItems
1348
+ xml_accessor :customerProfileId
1349
+ xml_accessor :customerPaymentProfileId
1350
+ xml_accessor :customerShippingAddressId
1351
+ xml_accessor :order
1352
+ xml_accessor :taxExempt
1353
+ xml_accessor :recurringBilling
1354
+ xml_accessor :cardCode
1355
+ xml_accessor :splitTenderId
1356
+
1357
+ 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)
1358
+ @amount = amount
1359
+ @tax = tax
1360
+ @shipping = shipping
1361
+ @duty = duty
1362
+ @lineItems = lineItems
1363
+ @customerProfileId = customerProfileId
1364
+ @customerPaymentProfileId = customerPaymentProfileId
1365
+ @customerShippingAddressId = customerShippingAddressId
1366
+ @order = order
1367
+ @taxExempt = taxExempt
1368
+ @recurringBilling = recurringBilling
1369
+ @cardCode = cardCode
1370
+ @splitTenderId = splitTenderId
1371
+ end
1372
+ end
1373
+
1374
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransAuthCaptureType
1375
+ # amount - SOAP::SOAPDecimal
1376
+ # tax - ExtendedAmountType
1377
+ # shipping - ExtendedAmountType
1378
+ # duty - ExtendedAmountType
1379
+ # lineItems - LineItemType
1380
+ # customerProfileId - (any)
1381
+ # customerPaymentProfileId - (any)
1382
+ # customerShippingAddressId - (any)
1383
+ # order - OrderExType
1384
+ # taxExempt - SOAP::SOAPBoolean
1385
+ # recurringBilling - SOAP::SOAPBoolean
1386
+ # cardCode - (any)
1387
+ # splitTenderId - (any)
1388
+ class ProfileTransAuthCaptureType
1389
+ include ROXML
1390
+ xml_accessor :amount
1391
+ xml_accessor :tax
1392
+ xml_accessor :shipping
1393
+ xml_accessor :duty
1394
+ xml_accessor :lineItems
1395
+ xml_accessor :customerProfileId
1396
+ xml_accessor :customerPaymentProfileId
1397
+ xml_accessor :customerShippingAddressId
1398
+ xml_accessor :order
1399
+ xml_accessor :taxExempt
1400
+ xml_accessor :recurringBilling
1401
+ xml_accessor :cardCode
1402
+ xml_accessor :splitTenderId
1403
+
1404
+ 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)
1405
+ @amount = amount
1406
+ @tax = tax
1407
+ @shipping = shipping
1408
+ @duty = duty
1409
+ @lineItems = lineItems
1410
+ @customerProfileId = customerProfileId
1411
+ @customerPaymentProfileId = customerPaymentProfileId
1412
+ @customerShippingAddressId = customerShippingAddressId
1413
+ @order = order
1414
+ @taxExempt = taxExempt
1415
+ @recurringBilling = recurringBilling
1416
+ @cardCode = cardCode
1417
+ @splitTenderId = splitTenderId
1418
+ end
1419
+ end
1420
+
1421
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransAuthOnlyType
1422
+ # amount - SOAP::SOAPDecimal
1423
+ # tax - ExtendedAmountType
1424
+ # shipping - ExtendedAmountType
1425
+ # duty - ExtendedAmountType
1426
+ # lineItems - LineItemType
1427
+ # customerProfileId - (any)
1428
+ # customerPaymentProfileId - (any)
1429
+ # customerShippingAddressId - (any)
1430
+ # order - OrderExType
1431
+ # taxExempt - SOAP::SOAPBoolean
1432
+ # recurringBilling - SOAP::SOAPBoolean
1433
+ # cardCode - (any)
1434
+ # splitTenderId - (any)
1435
+ class ProfileTransAuthOnlyType
1436
+ include ROXML
1437
+ xml_accessor :amount
1438
+ xml_accessor :tax
1439
+ xml_accessor :shipping
1440
+ xml_accessor :duty
1441
+ xml_accessor :lineItems
1442
+ xml_accessor :customerProfileId
1443
+ xml_accessor :customerPaymentProfileId
1444
+ xml_accessor :customerShippingAddressId
1445
+ xml_accessor :order
1446
+ xml_accessor :taxExempt
1447
+ xml_accessor :recurringBilling
1448
+ xml_accessor :cardCode
1449
+ xml_accessor :splitTenderId
1450
+
1451
+ 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)
1452
+ @amount = amount
1453
+ @tax = tax
1454
+ @shipping = shipping
1455
+ @duty = duty
1456
+ @lineItems = lineItems
1457
+ @customerProfileId = customerProfileId
1458
+ @customerPaymentProfileId = customerPaymentProfileId
1459
+ @customerShippingAddressId = customerShippingAddressId
1460
+ @order = order
1461
+ @taxExempt = taxExempt
1462
+ @recurringBilling = recurringBilling
1463
+ @cardCode = cardCode
1464
+ @splitTenderId = splitTenderId
1465
+ end
1466
+ end
1467
+
1468
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransCaptureOnlyType
1469
+ # amount - SOAP::SOAPDecimal
1470
+ # tax - ExtendedAmountType
1471
+ # shipping - ExtendedAmountType
1472
+ # duty - ExtendedAmountType
1473
+ # lineItems - LineItemType
1474
+ # customerProfileId - (any)
1475
+ # customerPaymentProfileId - (any)
1476
+ # customerShippingAddressId - (any)
1477
+ # order - OrderExType
1478
+ # taxExempt - SOAP::SOAPBoolean
1479
+ # recurringBilling - SOAP::SOAPBoolean
1480
+ # cardCode - (any)
1481
+ # splitTenderId - (any)
1482
+ # approvalCode - SOAP::SOAPString
1483
+ class ProfileTransCaptureOnlyType
1484
+ include ROXML
1485
+ xml_accessor :amount
1486
+ xml_accessor :tax
1487
+ xml_accessor :shipping
1488
+ xml_accessor :duty
1489
+ xml_accessor :lineItems
1490
+ xml_accessor :customerProfileId
1491
+ xml_accessor :customerPaymentProfileId
1492
+ xml_accessor :customerShippingAddressId
1493
+ xml_accessor :order
1494
+ xml_accessor :taxExempt
1495
+ xml_accessor :recurringBilling
1496
+ xml_accessor :cardCode
1497
+ xml_accessor :splitTenderId
1498
+ xml_accessor :approvalCode
1499
+
1500
+ 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)
1501
+ @amount = amount
1502
+ @tax = tax
1503
+ @shipping = shipping
1504
+ @duty = duty
1505
+ @lineItems = lineItems
1506
+ @customerProfileId = customerProfileId
1507
+ @customerPaymentProfileId = customerPaymentProfileId
1508
+ @customerShippingAddressId = customerShippingAddressId
1509
+ @order = order
1510
+ @taxExempt = taxExempt
1511
+ @recurringBilling = recurringBilling
1512
+ @cardCode = cardCode
1513
+ @splitTenderId = splitTenderId
1514
+ @approvalCode = approvalCode
1515
+ end
1516
+ end
1517
+
1518
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransPriorAuthCaptureType
1519
+ # amount - SOAP::SOAPDecimal
1520
+ # tax - ExtendedAmountType
1521
+ # shipping - ExtendedAmountType
1522
+ # duty - ExtendedAmountType
1523
+ # lineItems - LineItemType
1524
+ # customerProfileId - (any)
1525
+ # customerPaymentProfileId - (any)
1526
+ # customerShippingAddressId - (any)
1527
+ # transId - (any)
1528
+ class ProfileTransPriorAuthCaptureType
1529
+ include ROXML
1530
+ xml_accessor :amount
1531
+ xml_accessor :tax
1532
+ xml_accessor :shipping
1533
+ xml_accessor :duty
1534
+ xml_accessor :lineItems
1535
+ xml_accessor :customerProfileId
1536
+ xml_accessor :customerPaymentProfileId
1537
+ xml_accessor :customerShippingAddressId
1538
+ xml_accessor :transId
1539
+
1540
+ def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, transId = nil)
1541
+ @amount = amount
1542
+ @tax = tax
1543
+ @shipping = shipping
1544
+ @duty = duty
1545
+ @lineItems = lineItems
1546
+ @customerProfileId = customerProfileId
1547
+ @customerPaymentProfileId = customerPaymentProfileId
1548
+ @customerShippingAddressId = customerShippingAddressId
1549
+ @transId = transId
1550
+ end
1551
+ end
1552
+
1553
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransRefundType
1554
+ # amount - SOAP::SOAPDecimal
1555
+ # tax - ExtendedAmountType
1556
+ # shipping - ExtendedAmountType
1557
+ # duty - ExtendedAmountType
1558
+ # lineItems - LineItemType
1559
+ # customerProfileId - (any)
1560
+ # customerPaymentProfileId - (any)
1561
+ # customerShippingAddressId - (any)
1562
+ # creditCardNumberMasked - SOAP::SOAPString
1563
+ # bankRoutingNumberMasked - SOAP::SOAPString
1564
+ # bankAccountNumberMasked - SOAP::SOAPString
1565
+ # order - OrderExType
1566
+ # transId - (any)
1567
+ class ProfileTransRefundType
1568
+ include ROXML
1569
+ xml_accessor :amount
1570
+ xml_accessor :tax
1571
+ xml_accessor :shipping
1572
+ xml_accessor :duty
1573
+ xml_accessor :lineItems
1574
+ xml_accessor :customerProfileId
1575
+ xml_accessor :customerPaymentProfileId
1576
+ xml_accessor :customerShippingAddressId
1577
+ xml_accessor :creditCardNumberMasked
1578
+ xml_accessor :bankRoutingNumberMasked
1579
+ xml_accessor :bankAccountNumberMasked
1580
+ xml_accessor :order
1581
+ xml_accessor :transId
1582
+
1583
+ 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)
1584
+ @amount = amount
1585
+ @tax = tax
1586
+ @shipping = shipping
1587
+ @duty = duty
1588
+ @lineItems = lineItems
1589
+ @customerProfileId = customerProfileId
1590
+ @customerPaymentProfileId = customerPaymentProfileId
1591
+ @customerShippingAddressId = customerShippingAddressId
1592
+ @creditCardNumberMasked = creditCardNumberMasked
1593
+ @bankRoutingNumberMasked = bankRoutingNumberMasked
1594
+ @bankAccountNumberMasked = bankAccountNumberMasked
1595
+ @order = order
1596
+ @transId = transId
1597
+ end
1598
+ end
1599
+
1600
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransVoidType
1601
+ # customerProfileId - (any)
1602
+ # customerPaymentProfileId - (any)
1603
+ # customerShippingAddressId - (any)
1604
+ # transId - (any)
1605
+ class ProfileTransVoidType
1606
+ include ROXML
1607
+ xml_accessor :customerProfileId
1608
+ xml_accessor :customerPaymentProfileId
1609
+ xml_accessor :customerShippingAddressId
1610
+ xml_accessor :transId
1611
+
1612
+ def initialize(customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, transId = nil)
1613
+ @customerProfileId = customerProfileId
1614
+ @customerPaymentProfileId = customerPaymentProfileId
1615
+ @customerShippingAddressId = customerShippingAddressId
1616
+ @transId = transId
1617
+ end
1618
+ end
1619
+
1620
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransactionType
1621
+ # profileTransAuthCapture - ProfileTransAuthCaptureType
1622
+ # profileTransAuthOnly - ProfileTransAuthOnlyType
1623
+ # profileTransPriorAuthCapture - ProfileTransPriorAuthCaptureType
1624
+ # profileTransCaptureOnly - ProfileTransCaptureOnlyType
1625
+ # profileTransRefund - ProfileTransRefundType
1626
+ # profileTransVoid - ProfileTransVoidType
1627
+ class ProfileTransactionType
1628
+ include ROXML
1629
+ xml_accessor :profileTransAuthCapture
1630
+ xml_accessor :profileTransAuthOnly
1631
+ xml_accessor :profileTransPriorAuthCapture
1632
+ xml_accessor :profileTransCaptureOnly
1633
+ xml_accessor :profileTransRefund
1634
+ xml_accessor :profileTransVoid
1635
+
1636
+ def initialize(profileTransAuthCapture = nil, profileTransAuthOnly = nil, profileTransPriorAuthCapture = nil, profileTransCaptureOnly = nil, profileTransRefund = nil, profileTransVoid = nil)
1637
+ @profileTransAuthCapture = profileTransAuthCapture
1638
+ @profileTransAuthOnly = profileTransAuthOnly
1639
+ @profileTransPriorAuthCapture = profileTransPriorAuthCapture
1640
+ @profileTransCaptureOnly = profileTransCaptureOnly
1641
+ @profileTransRefund = profileTransRefund
1642
+ @profileTransVoid = profileTransVoid
1643
+ end
1644
+ end
1645
+
1646
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfFraudFilterType
1647
+ class ArrayOfFraudFilterType < ::Array
1648
+ include ROXML
1649
+ xml_accessor :fraudFilter
1650
+
1651
+ def initialize(fraudFilter = [])
1652
+ @fraudFilter = fraudFilter
1653
+ end
1654
+ end
1655
+
1656
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FraudInformationType
1657
+ class FraudInformationType
1658
+ include ROXML
1659
+ xml_accessor :fraudFilterList, :as => ArrayOfFraudFilterType
1660
+ xml_accessor :fraudAction
1661
+
1662
+ def initialize(fraudFilterList = nil, fraudAction = nil)
1663
+ @fraudFilterList = fraudFilterList
1664
+ @fraudAction = fraudAction
1665
+ end
1666
+ end
1667
+
1668
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionSummaryType
1669
+ # transId - (any)
1670
+ # submitTimeUTC - SOAP::SOAPDateTime
1671
+ # submitTimeLocal - SOAP::SOAPDateTime
1672
+ # transactionStatus - SOAP::SOAPString
1673
+ # invoiceNumber - SOAP::SOAPString
1674
+ # firstName - SOAP::SOAPString
1675
+ # lastName - SOAP::SOAPString
1676
+ # accountType - SOAP::SOAPString
1677
+ # accountNumber - SOAP::SOAPString
1678
+ # settleAmount - SOAP::SOAPDecimal
1679
+ # marketType - SOAP::SOAPString
1680
+ # product - SOAP::SOAPString
1681
+ # mobileDeviceId - SOAP::SOAPString
1682
+ # subscription - SubscriptionPaymentType
1683
+ # hasReturnedItems - SOAP::SOAPBoolean
1684
+ # fraudInformation - FraudInformationType
1685
+ # profile - CustomerProfileIdType
1686
+ class TransactionSummaryType
1687
+ include ROXML
1688
+ xml_accessor :transId
1689
+ xml_accessor :submitTimeUTC
1690
+ xml_accessor :submitTimeLocal
1691
+ xml_accessor :transactionStatus
1692
+ xml_accessor :invoiceNumber
1693
+ xml_accessor :firstName
1694
+ xml_accessor :lastName
1695
+ xml_accessor :accountType
1696
+ xml_accessor :accountNumber
1697
+ xml_accessor :settleAmount
1698
+ xml_accessor :marketType
1699
+ xml_accessor :product
1700
+ xml_accessor :mobileDeviceId
1701
+ xml_accessor :subscription
1702
+ xml_accessor :hasReturnedItems
1703
+ xml_accessor :fraudInformation
1704
+ xml_accessor :profile, :as => CustomerProfileIdType
1705
+
1706
+ 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, fraudInformation = nil, profile = nil)
1707
+ @transId = transId
1708
+ @submitTimeUTC = submitTimeUTC
1709
+ @submitTimeLocal = submitTimeLocal
1710
+ @transactionStatus = transactionStatus
1711
+ @invoiceNumber = invoiceNumber
1712
+ @firstName = firstName
1713
+ @lastName = lastName
1714
+ @accountType = accountType
1715
+ @accountNumber = accountNumber
1716
+ @settleAmount = settleAmount
1717
+ @marketType = marketType
1718
+ @product = product
1719
+ @mobileDeviceId = mobileDeviceId
1720
+ @subscription = subscription
1721
+ @hasReturnedItems = hasReturnedItems
1722
+ @fraudInformation = fraudInformation
1723
+ @profile = profile
1724
+ end
1725
+ end
1726
+
1727
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfTransactionSummaryType
1728
+ class ArrayOfTransactionSummaryType < ::Array
1729
+ include ROXML
1730
+ xml_accessor :transaction, :as => [TransactionSummaryType]
1731
+
1732
+ def initialize(transaction = [])
1733
+ @transaction = transaction
1734
+ end
1735
+ end
1736
+
1737
+
1738
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchStatisticType
1739
+ # accountType - SOAP::SOAPString
1740
+ # chargeAmount - SOAP::SOAPDecimal
1741
+ # chargeCount - SOAP::SOAPInt
1742
+ # refundAmount - SOAP::SOAPDecimal
1743
+ # refundCount - SOAP::SOAPInt
1744
+ # voidCount - SOAP::SOAPInt
1745
+ # declineCount - SOAP::SOAPInt
1746
+ # errorCount - SOAP::SOAPInt
1747
+ # returnedItemAmount - SOAP::SOAPDecimal
1748
+ # returnedItemCount - SOAP::SOAPInt
1749
+ # chargebackAmount - SOAP::SOAPDecimal
1750
+ # chargebackCount - SOAP::SOAPInt
1751
+ # correctionNoticeCount - SOAP::SOAPInt
1752
+ # chargeChargeBackAmount - SOAP::SOAPDecimal
1753
+ # chargeChargeBackCount - SOAP::SOAPInt
1754
+ # refundChargeBackAmount - SOAP::SOAPDecimal
1755
+ # refundChargeBackCount - SOAP::SOAPInt
1756
+ # chargeReturnedItemsAmount - SOAP::SOAPDecimal
1757
+ # chargeReturnedItemsCount - SOAP::SOAPInt
1758
+ # refundReturnedItemsAmount - SOAP::SOAPDecimal
1759
+ # refundReturnedItemsCount - SOAP::SOAPInt
1760
+ class BatchStatisticType
1761
+ include ROXML
1762
+ xml_accessor :accountType
1763
+ xml_accessor :chargeAmount
1764
+ xml_accessor :chargeCount
1765
+ xml_accessor :refundAmount
1766
+ xml_accessor :refundCount
1767
+ xml_accessor :voidCount
1768
+ xml_accessor :declineCount
1769
+ xml_accessor :errorCount
1770
+ xml_accessor :returnedItemAmount
1771
+ xml_accessor :returnedItemCount
1772
+ xml_accessor :chargebackAmount
1773
+ xml_accessor :chargebackCount
1774
+ xml_accessor :correctionNoticeCount
1775
+ xml_accessor :chargeChargeBackAmount
1776
+ xml_accessor :chargeChargeBackCount
1777
+ xml_accessor :refundChargeBackAmount
1778
+ xml_accessor :refundChargeBackCount
1779
+ xml_accessor :chargeReturnedItemsAmount
1780
+ xml_accessor :chargeReturnedItemsCount
1781
+ xml_accessor :refundReturnedItemsAmount
1782
+ xml_accessor :refundReturnedItemsCount
1783
+
1784
+ 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)
1785
+ @accountType = accountType
1786
+ @chargeAmount = chargeAmount
1787
+ @chargeCount = chargeCount
1788
+ @refundAmount = refundAmount
1789
+ @refundCount = refundCount
1790
+ @voidCount = voidCount
1791
+ @declineCount = declineCount
1792
+ @errorCount = errorCount
1793
+ @returnedItemAmount = returnedItemAmount
1794
+ @returnedItemCount = returnedItemCount
1795
+ @chargebackAmount = chargebackAmount
1796
+ @chargebackCount = chargebackCount
1797
+ @correctionNoticeCount = correctionNoticeCount
1798
+ @chargeChargeBackAmount = chargeChargeBackAmount
1799
+ @chargeChargeBackCount = chargeChargeBackCount
1800
+ @refundChargeBackAmount = refundChargeBackAmount
1801
+ @refundChargeBackCount = refundChargeBackCount
1802
+ @chargeReturnedItemsAmount = chargeReturnedItemsAmount
1803
+ @chargeReturnedItemsCount = chargeReturnedItemsCount
1804
+ @refundReturnedItemsAmount = refundReturnedItemsAmount
1805
+ @refundReturnedItemsCount = refundReturnedItemsCount
1806
+ end
1807
+ end
1808
+
1809
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchDetailsType
1810
+ # batchId - (any)
1811
+ # settlementTimeUTC - SOAP::SOAPDateTime
1812
+ # settlementTimeLocal - SOAP::SOAPDateTime
1813
+ # settlementState - SOAP::SOAPString
1814
+ # paymentMethod - SOAP::SOAPString
1815
+ # marketType - SOAP::SOAPString
1816
+ # product - SOAP::SOAPString
1817
+ # statistics - ArrayOfBatchStatisticType
1818
+ class BatchDetailsType
1819
+ include ROXML
1820
+ xml_accessor :batchId
1821
+ xml_accessor :settlementTimeUTC
1822
+ xml_accessor :settlementTimeLocal
1823
+ xml_accessor :settlementState
1824
+ xml_accessor :paymentMethod
1825
+ xml_accessor :marketType
1826
+ xml_accessor :product
1827
+ xml_accessor :statistics, :as => [BatchStatisticType]
1828
+
1829
+ def initialize(batchId = nil, settlementTimeUTC = nil, settlementTimeLocal = nil, settlementState = nil, paymentMethod = nil, marketType = nil, product = nil, statistics = nil)
1830
+ @batchId = batchId
1831
+ @settlementTimeUTC = settlementTimeUTC
1832
+ @settlementTimeLocal = settlementTimeLocal
1833
+ @settlementState = settlementState
1834
+ @paymentMethod = paymentMethod
1835
+ @marketType = marketType
1836
+ @product = product
1837
+ @statistics = statistics
1838
+ end
1839
+ end
1840
+
1841
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfBatchDetailsType
1842
+ class ArrayOfBatchDetailsType < ::Array
1843
+ include ROXML
1844
+ xml_accessor :batch, :as => [BatchDetailsType]
1845
+
1846
+ def initialize(batch = [])
1847
+ @batch = batch
1848
+ end
1849
+ end
1850
+
1851
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}returnedItemType
1852
+ # id - (any)
1853
+ # dateUTC - SOAP::SOAPDateTime
1854
+ # dateLocal - SOAP::SOAPDateTime
1855
+ # code - SOAP::SOAPString
1856
+ # description - SOAP::SOAPString
1857
+ class ReturnedItemType
1858
+ include ROXML
1859
+ xml_accessor :id
1860
+ xml_accessor :dateUTC
1861
+ xml_accessor :dateLocal
1862
+ xml_accessor :code
1863
+ xml_accessor :description
1864
+
1865
+ def initialize(id = nil, dateUTC = nil, dateLocal = nil, code = nil, description = nil)
1866
+ @id = id
1867
+ @dateUTC = dateUTC
1868
+ @dateLocal = dateLocal
1869
+ @code = code
1870
+ @description = description
1871
+ end
1872
+ end
1873
+
1874
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfReturnedItem
1875
+ class ArrayOfReturnedItem < ::Array
1876
+ include ROXML
1877
+ xml_accessor :returnedItem, :as => [ReturnedItemType]
1878
+ end
1879
+
1880
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FDSFilterType
1881
+ # name - SOAP::SOAPString
1882
+ # action - SOAP::SOAPString
1883
+ class FDSFilterType
1884
+ include ROXML
1885
+ xml_accessor :name
1886
+ xml_accessor :action
1887
+
1888
+ def initialize(name = nil, action = nil)
1889
+ @name = name
1890
+ @action = action
1891
+ end
1892
+ end
1893
+
1894
+
1895
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionDetailsType
1896
+ # transId - (any)
1897
+ # refTransId - (any)
1898
+ # splitTenderId - (any)
1899
+ # submitTimeUTC - SOAP::SOAPDateTime
1900
+ # submitTimeLocal - SOAP::SOAPDateTime
1901
+ # transactionType - SOAP::SOAPString
1902
+ # transactionStatus - SOAP::SOAPString
1903
+ # responseCode - SOAP::SOAPInt
1904
+ # responseReasonCode - SOAP::SOAPInt
1905
+ # subscription - SubscriptionPaymentType
1906
+ # responseReasonDescription - SOAP::SOAPString
1907
+ # authCode - SOAP::SOAPString
1908
+ # aVSResponse - SOAP::SOAPString
1909
+ # cardCodeResponse - SOAP::SOAPString
1910
+ # cAVVResponse - SOAP::SOAPString
1911
+ # fDSFilterAction - SOAP::SOAPString
1912
+ # fDSFilters - ArrayOfFDSFilter
1913
+ # batch - BatchDetailsType
1914
+ # order - OrderExType
1915
+ # requestedAmount - SOAP::SOAPDecimal
1916
+ # authAmount - SOAP::SOAPDecimal
1917
+ # settleAmount - SOAP::SOAPDecimal
1918
+ # tax - ExtendedAmountType
1919
+ # shipping - ExtendedAmountType
1920
+ # duty - ExtendedAmountType
1921
+ # lineItems - ArrayOfLineItem
1922
+ # prepaidBalanceRemaining - SOAP::SOAPDecimal
1923
+ # taxExempt - SOAP::SOAPBoolean
1924
+ # payment - PaymentMaskedType
1925
+ # customer - CustomerDataType
1926
+ # billTo - CustomerAddressType
1927
+ # shipTo - NameAndAddressType
1928
+ # recurringBilling - SOAP::SOAPBoolean
1929
+ # customerIP - SOAP::SOAPString
1930
+ # product - SOAP::SOAPString
1931
+ # marketType - SOAP::SOAPString
1932
+ # mobileDeviceId - SOAP::SOAPString
1933
+ # returnedItems - ArrayOfReturnedItem
1934
+ # solution - SolutionType
1935
+ # emvDetails - TransactionDetailsType::EmvDetails
1936
+ # profile - CustomerProfileIdType
1937
+ class TransactionDetailsType
1938
+ include ROXML
1939
+ # inner class for member: EmvDetails
1940
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvDetails
1941
+ # tagId - SOAP::SOAPString
1942
+ # data - SOAP::SOAPString
1943
+ class EmvDetails
1944
+ include ROXML
1945
+ class Tag
1946
+ include ROXML
1947
+ xml_accessor :tagId
1948
+ xml_accessor :data
1949
+
1950
+ def initialize(tagId = nil, data = nil)
1951
+ @tagId = tagId
1952
+ @data = data
1953
+ end
1954
+ end
1955
+ xml_accessor :tag, :as => Tag
1956
+
1957
+ def initialize(tag = nil)
1958
+ @tag = tag
1959
+ end
1960
+ end
1961
+ xml_accessor :transId
1962
+ xml_accessor :refTransId
1963
+ xml_accessor :splitTenderId
1964
+ xml_accessor :submitTimeUTC
1965
+ xml_accessor :submitTimeLocal
1966
+ xml_accessor :transactionType
1967
+ xml_accessor :transactionStatus
1968
+ xml_accessor :responseCode
1969
+ xml_accessor :responseReasonCode
1970
+ xml_accessor :subscription
1971
+ xml_accessor :responseReasonDescription
1972
+ xml_accessor :authCode
1973
+ xml_accessor :aVSResponse
1974
+ xml_accessor :cardCodeResponse
1975
+ xml_accessor :cAVVResponse
1976
+ xml_accessor :fDSFilterAction
1977
+ xml_accessor :fDSFilters
1978
+ xml_accessor :batch, :as => BatchDetailsType
1979
+ xml_accessor :order, :as => OrderExType
1980
+ xml_accessor :requestedAmount
1981
+ xml_accessor :authAmount
1982
+ xml_accessor :settleAmount
1983
+ xml_accessor :tax
1984
+ xml_accessor :shipping
1985
+ xml_accessor :duty
1986
+ xml_accessor :lineItems
1987
+ xml_accessor :prepaidBalanceRemaining
1988
+ xml_accessor :taxExempt
1989
+ xml_accessor :payment, :as => PaymentMaskedType
1990
+ xml_accessor :customer, :as => CustomerDataType
1991
+ xml_accessor :billTo, :as => CustomerAddressType
1992
+ xml_accessor :shipTo, :as => NameAndAddressType
1993
+ xml_accessor :recurringBilling
1994
+ xml_accessor :customerIP
1995
+ xml_accessor :product
1996
+ xml_accessor :marketType
1997
+ xml_accessor :mobileDeviceId
1998
+ xml_accessor :returnedItems, :as => ArrayOfReturnedItem
1999
+ xml_accessor :solution
2000
+ xml_accessor :emvDetails, :as => EmvDetails
2001
+ xml_accessor :profile, :as => CustomerProfileIdType
2002
+
2003
+ 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, emvDetails = nil, profile = nil)
2004
+ @transId = transId
2005
+ @refTransId = refTransId
2006
+ @splitTenderId = splitTenderId
2007
+ @submitTimeUTC = submitTimeUTC
2008
+ @submitTimeLocal = submitTimeLocal
2009
+ @transactionType = transactionType
2010
+ @transactionStatus = transactionStatus
2011
+ @responseCode = responseCode
2012
+ @responseReasonCode = responseReasonCode
2013
+ @subscription = subscription
2014
+ @responseReasonDescription = responseReasonDescription
2015
+ @authCode = authCode
2016
+ @aVSResponse = aVSResponse
2017
+ @cardCodeResponse = cardCodeResponse
2018
+ @cAVVResponse = cAVVResponse
2019
+ @fDSFilterAction = fDSFilterAction
2020
+ @fDSFilters = fDSFilters
2021
+ @batch = batch
2022
+ @order = order
2023
+ @requestedAmount = requestedAmount
2024
+ @authAmount = authAmount
2025
+ @settleAmount = settleAmount
2026
+ @tax = tax
2027
+ @shipping = shipping
2028
+ @duty = duty
2029
+ @lineItems = lineItems
2030
+ @prepaidBalanceRemaining = prepaidBalanceRemaining
2031
+ @taxExempt = taxExempt
2032
+ @payment = payment
2033
+ @customer = customer
2034
+ @billTo = billTo
2035
+ @shipTo = shipTo
2036
+ @recurringBilling = recurringBilling
2037
+ @customerIP = customerIP
2038
+ @product = product
2039
+ @marketType = marketType
2040
+ @mobileDeviceId = mobileDeviceId
2041
+ @returnedItems = returnedItems
2042
+ @solution = solution
2043
+ @emvDetails = emvDetails
2044
+ @profile = profile
2045
+ end
2046
+ end
2047
+
2048
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}solutionType
2049
+ # id - SOAP::SOAPString
2050
+ # name - SOAP::SOAPString
2051
+ class SolutionType
2052
+ include ROXML
2053
+ xml_accessor :id
2054
+ xml_accessor :name
2055
+
2056
+ def initialize(id = nil, name = nil)
2057
+ @id = id
2058
+ @name = name
2059
+ end
2060
+ end
2061
+
2062
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvTag
2063
+ # id - SOAP::SOAPString
2064
+ # value - SOAP::SOAPString
2065
+ # formatted - SOAP::SOAPString
2066
+ class EmvTag
2067
+ include ROXML
2068
+ xml_accessor :name
2069
+ xml_accessor :value
2070
+ xml_accessor :formatted
2071
+
2072
+ def initialize(id = nil, value = nil, formatted = nil)
2073
+ @id = id
2074
+ @value = value
2075
+ @formatted = formatted
2076
+ end
2077
+ end
2078
+
2079
+
2080
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionResponse
2081
+ # responseCode - SOAP::SOAPString
2082
+ # rawResponseCode - SOAP::SOAPString
2083
+ # authCode - SOAP::SOAPString
2084
+ # avsResultCode - SOAP::SOAPString
2085
+ # cvvResultCode - SOAP::SOAPString
2086
+ # cavvResultCode - SOAP::SOAPString
2087
+ # transId - SOAP::SOAPString
2088
+ # refTransID - SOAP::SOAPString
2089
+ # transHash - SOAP::SOAPString
2090
+ # testRequest - SOAP::SOAPString
2091
+ # accountNumber - SOAP::SOAPString
2092
+ # accountType - SOAP::SOAPString
2093
+ # splitTenderId - SOAP::SOAPString
2094
+ # prePaidCard - TransactionResponse::PrePaidCard
2095
+ # messages - TransactionResponse::Messages
2096
+ # errors - TransactionResponse::Errors
2097
+ # splitTenderPayments - TransactionResponse::SplitTenderPayments
2098
+ # userFields - TransactionResponse::UserFields
2099
+ # shipTo - NameAndAddressType
2100
+ # secureAcceptance - TransactionResponse::secureAcceptance
2101
+ # emvResponse - TransactionResponse::emvResponse
2102
+ # transHashSha2 - SOAP::SOAPString
2103
+ # profile - CustomerProfileIdType
2104
+ class TransactionResponse
2105
+ include ROXML
2106
+ # inner class for member: prePaidCard
2107
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}prePaidCard
2108
+ # requestedAmount - SOAP::SOAPString
2109
+ # approvedAmount - SOAP::SOAPString
2110
+ # balanceOnCard - SOAP::SOAPString
2111
+ class PrePaidCard
2112
+ include ROXML
2113
+ xml_accessor :requestedAmount
2114
+ xml_accessor :approvedAmount
2115
+ xml_accessor :balanceOnCard
2116
+
2117
+ def initialize(requestedAmount = nil, approvedAmount = nil, balanceOnCard = nil)
2118
+ @requestedAmount = requestedAmount
2119
+ @approvedAmount = approvedAmount
2120
+ @balanceOnCard = balanceOnCard
2121
+ end
2122
+ end
2123
+
2124
+ # inner class for member: messages
2125
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messages
2126
+ class Messages
2127
+ include ROXML
2128
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}message
2129
+ # code - SOAP::SOAPString
2130
+ # description - SOAP::SOAPString
2131
+ class Message
2132
+ include ROXML
2133
+ xml_accessor :code
2134
+ xml_accessor :description
2135
+
2136
+ def initialize(code = nil, description = nil)
2137
+ @code = code
2138
+ @description = description
2139
+ end
2140
+ end
2141
+
2142
+ xml_accessor :messages, :as => [Messages::Message]
2143
+
2144
+ def initialize(messages = [])
2145
+ @messages = messages
2146
+ end
2147
+ end
2148
+
2149
+ # inner class for member: errors
2150
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}errors
2151
+ class Errors
2152
+ include ROXML
2153
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}error
2154
+ # errorCode - SOAP::SOAPString
2155
+ # errorText - SOAP::SOAPString
2156
+ class Error
2157
+ include ROXML
2158
+ xml_accessor :errorCode
2159
+ xml_accessor :errorText
2160
+
2161
+ def initialize(errorCode = nil, errorText = nil)
2162
+ @errorCode = errorCode
2163
+ @errorText = errorText
2164
+ end
2165
+ end
2166
+
2167
+ xml_accessor :errors, :as => [Error]
2168
+
2169
+ def initialize(errors = [])
2170
+ @errors = errors
2171
+ end
2172
+ end
2173
+
2174
+ # inner class for member: splitTenderPayments
2175
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}splitTenderPayments
2176
+ class SplitTenderPayments
2177
+ include ROXML
2178
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}splitTenderPayment
2179
+ # transId - SOAP::SOAPString
2180
+ # responseCode - SOAP::SOAPString
2181
+ # responseToCustomer - SOAP::SOAPString
2182
+ # authCode - SOAP::SOAPString
2183
+ # accountNumber - SOAP::SOAPString
2184
+ # accountType - SOAP::SOAPString
2185
+ # requestedAmount - SOAP::SOAPString
2186
+ # approvedAmount - SOAP::SOAPString
2187
+ # balanceOnCard - SOAP::SOAPString
2188
+ class SplitTenderPayment
2189
+ include ROXML
2190
+ xml_accessor :transId
2191
+ xml_accessor :responseCode
2192
+ xml_accessor :responseToCustomer
2193
+ xml_accessor :authCode
2194
+ xml_accessor :accountNumber
2195
+ xml_accessor :accountType
2196
+ xml_accessor :requestedAmount
2197
+ xml_accessor :approvedAmount
2198
+ xml_accessor :balanceOnCard
2199
+
2200
+ def initialize(transId = nil, responseCode = nil, responseToCustomer = nil, authCode = nil, accountNumber = nil, accountType = nil, requestedAmount = nil, approvedAmount = nil, balanceOnCard = nil)
2201
+ @transId = transId
2202
+ @responseCode = responseCode
2203
+ @responseToCustomer = responseToCustomer
2204
+ @authCode = authCode
2205
+ @accountNumber = accountNumber
2206
+ @accountType = accountType
2207
+ @requestedAmount = requestedAmount
2208
+ @approvedAmount = approvedAmount
2209
+ @balanceOnCard = balanceOnCard
2210
+ end
2211
+ end
2212
+
2213
+ xml_accessor :splitTenderPayments, :as => [SplitTenderPayment]
2214
+
2215
+ def initialize(splitTenderPayments = [])
2216
+ @splitTenderPayments = splitTenderPayments
2217
+ end
2218
+ end
2219
+
2220
+ # inner class for member: secureAcceptance
2221
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}secureAcceptance
2222
+ # secureAcceptanceUrl - SOAP::SOAPString
2223
+ # payerID - SOAP::SOAPString
2224
+ # payerEmail - SOAP::SOAPString
2225
+ class SecureAcceptance
2226
+ include ROXML
2227
+ xml_accessor :SecureAcceptanceUrl
2228
+ xml_accessor :PayerID
2229
+ xml_accessor :PayerEmail
2230
+
2231
+ def initialize(secureAcceptanceUrl = nil, payerID = nil, payerEmail = nil)
2232
+ @SecureAcceptanceUrl = secureAcceptanceUrl
2233
+ @PayerID = payerID
2234
+ @PayerEmail = payerEmail
2235
+ end
2236
+ end
2237
+
2238
+ # inner class for member: emvResponse
2239
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvResponse
2240
+ class EmvResponse
2241
+ include ROXML
2242
+
2243
+ class Tags
2244
+ include ROXML
2245
+ xml_accessor :tag, :as => [EmvTag]
2246
+
2247
+ def initialize(tag = nil)
2248
+ @tag = tag
2249
+ end
2250
+ end
2251
+
2252
+ xml_accessor :tlvData
2253
+ xml_accessor :tags, :as => [Tags]
2254
+
2255
+ def initialize(tlvData = nil, tags = nil)
2256
+ @tlvData = tlvData
2257
+ @tags = tags
2258
+ end
2259
+ end
2260
+
2261
+ xml_accessor :responseCode
2262
+ xml_accessor :rawResponseCode
2263
+ xml_accessor :authCode
2264
+ xml_accessor :avsResultCode
2265
+ xml_accessor :cvvResultCode
2266
+ xml_accessor :cavvResultCode
2267
+ xml_accessor :transId
2268
+ xml_accessor :refTransID
2269
+ xml_accessor :transHash
2270
+ xml_accessor :testRequest
2271
+ xml_accessor :accountNumber
2272
+ xml_accessor :accountType
2273
+ xml_accessor :splitTenderId
2274
+ xml_accessor :prePaidCard, :as => PrePaidCard
2275
+ xml_accessor :messages, :as => Messages
2276
+ xml_accessor :errors, :as => Errors
2277
+ xml_accessor :splitTenderPayments, :as => SplitTenderPayments
2278
+ xml_accessor :userFields, :as => UserFields
2279
+ xml_accessor :shipTo, :as => NameAndAddressType
2280
+ xml_accessor :secureAcceptance, :as => SecureAcceptance
2281
+ xml_accessor :emvResponse, :as => EmvResponse
2282
+ xml_accessor :transHashSha2
2283
+ xml_accessor :profile, :as => CustomerProfileIdType
2284
+
2285
+ 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, emvResponse = nil, transHashSha2 = nil, profile = nil)
2286
+ @responseCode = responseCode
2287
+ @rawResponseCode = rawResponseCode
2288
+ @authCode = authCode
2289
+ @avsResultCode = avsResultCode
2290
+ @cvvResultCode = cvvResultCode
2291
+ @cavvResultCode = cavvResultCode
2292
+ @transId = transId
2293
+ @refTransID = refTransID
2294
+ @transHash = transHash
2295
+ @testRequest = testRequest
2296
+ @accountNumber = accountNumber
2297
+ @accountType = accountType
2298
+ @splitTenderId = splitTenderId
2299
+ @prePaidCard = prePaidCard
2300
+ @messages = messages
2301
+ @errors = errors
2302
+ @splitTenderPayments = splitTenderPayments
2303
+ @userFields = userFields
2304
+ @shipTo = shipTo
2305
+ @secureAcceptance = secureAcceptance
2306
+ @emvResponse = emvResponse
2307
+ @transHashSha2 = transHashSha2
2308
+ @profile = profile
2309
+ end
2310
+ end
2311
+
2312
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ANetApiRequest
2313
+ # merchantAuthentication - MerchantAuthenticationType
2314
+ # clientId - SOAP::SOAPString
2315
+ # refId - SOAP::SOAPString
2316
+ class ANetApiRequest
2317
+ include ROXML
2318
+ xml_accessor :merchantAuthentication
2319
+ xml_accessor :clientId
2320
+ xml_accessor :refId
2321
+
2322
+ def initialize(merchantAuthentication = nil, clientId = nil, refId = nil)
2323
+ @merchantAuthentication = merchantAuthentication
2324
+ @clientId = clientId
2325
+ @refId = refId
2326
+ end
2327
+ end
2328
+
2329
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messageTypeEnum
2330
+ class MessageTypeEnum < ::String
2331
+ Error = MessageTypeEnum.new("Error")
2332
+ Ok = MessageTypeEnum.new("Ok")
2333
+ end
2334
+
2335
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messagesType
2336
+ # resultCode - MessageTypeEnum
2337
+ # message - MessagesType::Message
2338
+ class MessagesType
2339
+ include ROXML
2340
+ # inner class for member: message
2341
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}message
2342
+ # code - SOAP::SOAPString
2343
+ # text - SOAP::SOAPString
2344
+ class Message
2345
+ include ROXML
2346
+ xml_accessor :code
2347
+ xml_accessor :text
2348
+
2349
+ def initialize(code = nil, text = nil)
2350
+ @code = code
2351
+ @text = text
2352
+ end
2353
+ end
2354
+
2355
+ xml_accessor :resultCode
2356
+ xml_accessor :messages, :as => [MessagesType::Message]
2357
+
2358
+ def initialize(resultCode = nil, messages = [])
2359
+ @resultCode = resultCode
2360
+ @messages = messages
2361
+ end
2362
+ end
2363
+
2364
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ANetApiResponse
2365
+ # refId - SOAP::SOAPString
2366
+ # messages - MessagesType
2367
+ # sessionToken - SOAP::SOAPString
2368
+ class ANetApiResponse
2369
+ include ROXML
2370
+ xml_accessor :refId
2371
+ xml_accessor :messages, :as => MessagesType
2372
+ xml_accessor :sessionToken
2373
+
2374
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2375
+ @refId = refId
2376
+ @messages = messages
2377
+ @sessionToken = sessionToken
2378
+ end
2379
+ end
2380
+
2381
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createProfileResponse
2382
+ # messages - MessagesType
2383
+ # customerProfileId - (any)
2384
+ # customerPaymentProfileIdList - ArrayOfNumericString
2385
+ # customerShippingAddressIdList - ArrayOfNumericString
2386
+ class CreateProfileResponse
2387
+ include ROXML
2388
+ xml_accessor :messages, :as => MessagesType
2389
+ xml_accessor :customerProfileId
2390
+ xml_accessor :customerPaymentProfileIdList, :as => NumericStringsType
2391
+ xml_accessor :customerShippingAddressIdList, :as => NumericStringsType
2392
+
2393
+ def initialize(messages = nil, customerProfileId = nil, customerPaymentProfileIdList = nil, customerShippingAddressIdList = nil)
2394
+ @messages = messages
2395
+ @customerProfileId = customerProfileId
2396
+ @customerPaymentProfileIdList = customerPaymentProfileIdList
2397
+ @customerShippingAddressIdList = customerShippingAddressIdList
2398
+ end
2399
+ end
2400
+
2401
+
2402
+
2403
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}Paging
2404
+ # limit - SOAP::SOAPInt
2405
+ # offset - SOAP::SOAPInt
2406
+ class Paging
2407
+ include ROXML
2408
+ xml_accessor :limit
2409
+ xml_accessor :offset
2410
+
2411
+ def initialize(limit = nil, offset = nil)
2412
+ @limit = limit
2413
+ @offset = offset
2414
+ end
2415
+ end
2416
+
2417
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListSorting
2418
+ # orderBy - ARBGetSubscriptionListOrderFieldEnum
2419
+ # orderDescending - SOAP::SOAPBoolean
2420
+ class ARBGetSubscriptionListSorting
2421
+ include ROXML
2422
+ xml_accessor :orderBy
2423
+ xml_accessor :orderDescending
2424
+
2425
+ def initialize(orderBy = nil, orderDescending = nil)
2426
+ @orderBy = orderBy
2427
+ @orderDescending = orderDescending
2428
+ end
2429
+ end
2430
+
2431
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionDetail
2432
+ # id - SOAP::SOAPInt
2433
+ # name - SOAP::SOAPString
2434
+ # status - ARBSubscriptionStatusEnum
2435
+ # createTimeStampUTC - SOAP::SOAPDateTime
2436
+ # firstName - SOAP::SOAPString
2437
+ # lastName - SOAP::SOAPString
2438
+ # totalOccurrences - SOAP::SOAPInt
2439
+ # pastOccurrences - SOAP::SOAPInt
2440
+ # paymentMethod - PaymentMethodEnum
2441
+ # accountNumber - SOAP::SOAPString
2442
+ # invoice - SOAP::SOAPString
2443
+ # amount - SOAP::SOAPDecimal
2444
+ # currencyCode - SOAP::SOAPString
2445
+ # customerProfileId - SOAP::SOAPInt
2446
+ # customerPaymentProfileId - SOAP::SOAPInt
2447
+ # totalOccurrences - SOAP::SOAPInt
2448
+ class SubscriptionDetail
2449
+ include ROXML
2450
+ xml_accessor :id
2451
+ xml_accessor :name
2452
+ xml_accessor :status
2453
+ xml_accessor :createTimeStampUTC
2454
+ xml_accessor :firstName
2455
+ xml_accessor :lastName
2456
+ xml_accessor :totalOccurrences
2457
+ xml_accessor :pastOccurrences
2458
+ xml_accessor :paymentMethod
2459
+ xml_accessor :accountNumber
2460
+ xml_accessor :invoice
2461
+ xml_accessor :amount
2462
+ xml_accessor :currencyCode
2463
+ xml_accessor :customerProfileId
2464
+ xml_accessor :customerPaymentProfileId
2465
+ xml_accessor :customerShippingProfileId
2466
+
2467
+ 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, customerProfileId = nil, customerPaymentProfileId = nil, customerShippingProfileId = nil)
2468
+ @id = id
2469
+ @name = name
2470
+ @status = status
2471
+ @createTimeStampUTC = createTimeStampUTC
2472
+ @firstName = firstName
2473
+ @lastName = lastName
2474
+ @totalOccurrences = totalOccurrences
2475
+ @pastOccurrences = pastOccurrences
2476
+ @paymentMethod = paymentMethod
2477
+ @accountNumber = accountNumber
2478
+ @invoice = invoice
2479
+ @amount = amount
2480
+ @currencyCode = currencyCode
2481
+ @customerProfileId = customerProfileId
2482
+ @customerPaymentProfileId = customerPaymentProfileId
2483
+ @customerShippingProfileId = customerShippingProfileId
2484
+ end
2485
+ end
2486
+
2487
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSubscription
2488
+ class ArrayOfSubscription < ::Array
2489
+ include ROXML
2490
+ xml_accessor :subscriptionDetail, :as => [SubscriptionDetail]
2491
+
2492
+ def initialize(subscriptionDetail = [])
2493
+ @subscriptionDetail = subscriptionDetail
2494
+ end
2495
+ end
2496
+
2497
+
2498
+
2499
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}searchCriteriaCustomerProfileType
2500
+ # merchantCustomerId - SOAP::SOAPString
2501
+ # email - SOAP::SOAPString
2502
+ class SearchCriteriaCustomerProfileType
2503
+ include ROXML
2504
+ xml_accessor :merchantCustomerId
2505
+ xml_accessor :email
2506
+
2507
+ def initialize(merchantCustomerId = nil, email = nil)
2508
+ @merchantCustomerId = merchantCustomerId
2509
+ @email = email
2510
+ end
2511
+ end
2512
+
2513
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileSummaryType
2514
+ # merchantCustomerId - SOAP::SOAPString
2515
+ # email - SOAP::SOAPString
2516
+ # customerProfileId - SOAP::SOAPString
2517
+ # description - SOAP::SOAPString
2518
+ class CustomerProfileSummaryType
2519
+ include ROXML
2520
+ xml_accessor :merchantCustomerId
2521
+ xml_accessor :email
2522
+ xml_accessor :customerProfileId
2523
+ xml_accessor :description
2524
+
2525
+ def initialize(merchantCustomerId = nil, email = nil, customerProfileId = nil, description = nil)
2526
+ @merchantCustomerId = merchantCustomerId
2527
+ @email = email
2528
+ @customerProfileId = customerProfileId
2529
+ @description = description
2530
+ end
2531
+ end
2532
+
2533
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentProfile
2534
+ # paymentProfileId - (any)
2535
+ # cardCode - (any)
2536
+ class PaymentProfile
2537
+ include ROXML
2538
+ xml_accessor :paymentProfileId, :as => Fixnum
2539
+ xml_accessor :cardCode
2540
+
2541
+ def initialize(paymentProfileId = nil, cardCode = nil)
2542
+ @paymentProfileId = paymentProfileId
2543
+ @cardCode = cardCode
2544
+ end
2545
+ end
2546
+
2547
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfilePaymentType
2548
+ # createProfile - SOAP::SOAPBoolean
2549
+ # customerProfileId - (any)
2550
+ # paymentProfile - PaymentProfile
2551
+ # shippingProfileId - (any)
2552
+ class CustomerProfilePaymentType
2553
+ include ROXML
2554
+ xml_accessor :createProfile
2555
+ xml_accessor :customerProfileId, :as => Fixnum
2556
+ xml_accessor :paymentProfile, :as => PaymentProfile
2557
+ xml_accessor :shippingProfileId, :as => Fixnum
2558
+
2559
+ def initialize(createProfile = nil, customerProfileId = nil, paymentProfile = nil, shippingProfileId = nil)
2560
+ @createProfile = createProfile
2561
+ @customerProfileId = customerProfileId
2562
+ @paymentProfile = paymentProfile
2563
+ @shippingProfileId = shippingProfileId
2564
+ end
2565
+ end
2566
+
2567
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountTypeEnum
2568
+ class BankAccountTypeEnum < ::String
2569
+ BusinessChecking = BankAccountTypeEnum.new("businessChecking")
2570
+ Checking = BankAccountTypeEnum.new("checking")
2571
+ Savings = BankAccountTypeEnum.new("savings")
2572
+ end
2573
+
2574
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}echeckTypeEnum
2575
+ class EcheckTypeEnum < ::String
2576
+ ARC = EcheckTypeEnum.new("ARC")
2577
+ BOC = EcheckTypeEnum.new("BOC")
2578
+ CCD = EcheckTypeEnum.new("CCD")
2579
+ PPD = EcheckTypeEnum.new("PPD")
2580
+ TEL = EcheckTypeEnum.new("TEL")
2581
+ WEB = EcheckTypeEnum.new("WEB")
2582
+ end
2583
+
2584
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentMethodEnum
2585
+ class PaymentMethodEnum < ::String
2586
+ CreditCard = PaymentMethodEnum.new("creditCard")
2587
+ ECheck = PaymentMethodEnum.new("eCheck")
2588
+ PayPal = PaymentMethodEnum.new("payPal")
2589
+ end
2590
+
2591
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}cardTypeEnum
2592
+ class CardTypeEnum < ::String
2593
+ AmericanExpress = CardTypeEnum.new("AmericanExpress")
2594
+ DinersClub = CardTypeEnum.new("DinersClub")
2595
+ Discover = CardTypeEnum.new("Discover")
2596
+ JCB = CardTypeEnum.new("JCB")
2597
+ MasterCard = CardTypeEnum.new("MasterCard")
2598
+ Visa = CardTypeEnum.new("Visa")
2599
+ end
2600
+
2601
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}accountTypeEnum
2602
+ class AccountTypeEnum < ::String
2603
+ AmericanExpress = AccountTypeEnum.new("AmericanExpress")
2604
+ DinersClub = AccountTypeEnum.new("DinersClub")
2605
+ Discover = AccountTypeEnum.new("Discover")
2606
+ ECheck = AccountTypeEnum.new("eCheck")
2607
+ JCB = AccountTypeEnum.new("JCB")
2608
+ MasterCard = AccountTypeEnum.new("MasterCard")
2609
+ Visa = AccountTypeEnum.new("Visa")
2610
+ end
2611
+
2612
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerTypeEnum
2613
+ class CustomerTypeEnum < ::String
2614
+ Business = CustomerTypeEnum.new("business")
2615
+ Individual = CustomerTypeEnum.new("individual")
2616
+ end
2617
+
2618
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionUnitEnum
2619
+ class ARBSubscriptionUnitEnum < ::String
2620
+ Days = ARBSubscriptionUnitEnum.new("days")
2621
+ Months = ARBSubscriptionUnitEnum.new("months")
2622
+ end
2623
+
2624
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}validationModeEnum
2625
+ class ValidationModeEnum < ::String
2626
+ LiveMode = ValidationModeEnum.new("liveMode")
2627
+ None = ValidationModeEnum.new("none")
2628
+ OldLiveMode = ValidationModeEnum.new("oldLiveMode")
2629
+ TestMode = ValidationModeEnum.new("testMode")
2630
+ end
2631
+
2632
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}splitTenderStatusEnum
2633
+ class SplitTenderStatusEnum < ::String
2634
+ Completed = SplitTenderStatusEnum.new("completed")
2635
+ Held = SplitTenderStatusEnum.new("held")
2636
+ Voided = SplitTenderStatusEnum.new("voided")
2637
+ end
2638
+
2639
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionStatusEnum
2640
+ class ARBSubscriptionStatusEnum < ::String
2641
+ Active = ARBSubscriptionStatusEnum.new("active")
2642
+ Canceled = ARBSubscriptionStatusEnum.new("canceled")
2643
+ Expired = ARBSubscriptionStatusEnum.new("expired")
2644
+ Suspended = ARBSubscriptionStatusEnum.new("suspended")
2645
+ Terminated = ARBSubscriptionStatusEnum.new("terminated")
2646
+ end
2647
+
2648
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionTypeEnum
2649
+ class TransactionTypeEnum < ::String
2650
+ AuthCaptureContinueTransaction = TransactionTypeEnum.new("authCaptureContinueTransaction")
2651
+ AuthCaptureTransaction = TransactionTypeEnum.new("authCaptureTransaction")
2652
+ AuthOnlyContinueTransaction = TransactionTypeEnum.new("authOnlyContinueTransaction")
2653
+ AuthOnlyTransaction = TransactionTypeEnum.new("authOnlyTransaction")
2654
+ CaptureOnlyTransaction = TransactionTypeEnum.new("captureOnlyTransaction")
2655
+ GetDetailsTransaction = TransactionTypeEnum.new("getDetailsTransaction")
2656
+ PriorAuthCaptureTransaction = TransactionTypeEnum.new("priorAuthCaptureTransaction")
2657
+ RefundTransaction = TransactionTypeEnum.new("refundTransaction")
2658
+ VoidTransaction = TransactionTypeEnum.new("voidTransaction")
2659
+ end
2660
+
2661
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionStatusEnum
2662
+ class TransactionStatusEnum < ::String
2663
+ ApprovedReview = TransactionStatusEnum.new("approvedReview")
2664
+ AuthorizedPendingCapture = TransactionStatusEnum.new("authorizedPendingCapture")
2665
+ AuthorizedPendingRelease = TransactionStatusEnum.new("authorizedPendingRelease")
2666
+ CapturedPendingSettlement = TransactionStatusEnum.new("capturedPendingSettlement")
2667
+ Chargeback = TransactionStatusEnum.new("chargeback")
2668
+ ChargebackReversal = TransactionStatusEnum.new("chargebackReversal")
2669
+ CommunicationError = TransactionStatusEnum.new("communicationError")
2670
+ CouldNotVoid = TransactionStatusEnum.new("couldNotVoid")
2671
+ Declined = TransactionStatusEnum.new("declined")
2672
+ Expired = TransactionStatusEnum.new("expired")
2673
+ FDSAuthorizedPendingReview = TransactionStatusEnum.new("FDSAuthorizedPendingReview")
2674
+ FDSPendingReview = TransactionStatusEnum.new("FDSPendingReview")
2675
+ FailedReview = TransactionStatusEnum.new("failedReview")
2676
+ GeneralError = TransactionStatusEnum.new("generalError")
2677
+ PendingFinalSettlement = TransactionStatusEnum.new("pendingFinalSettlement")
2678
+ PendingSettlement = TransactionStatusEnum.new("pendingSettlement")
2679
+ RefundPendingSettlement = TransactionStatusEnum.new("refundPendingSettlement")
2680
+ RefundSettledSuccessfully = TransactionStatusEnum.new("refundSettledSuccessfully")
2681
+ ReturnedItem = TransactionStatusEnum.new("returnedItem")
2682
+ SettledSuccessfully = TransactionStatusEnum.new("settledSuccessfully")
2683
+ SettlementError = TransactionStatusEnum.new("settlementError")
2684
+ UnderReview = TransactionStatusEnum.new("underReview")
2685
+ UpdatingSettlement = TransactionStatusEnum.new("updatingSettlement")
2686
+ Voided = TransactionStatusEnum.new("voided")
2687
+ end
2688
+
2689
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settlementStateEnum
2690
+ class SettlementStateEnum < ::String
2691
+ PendingSettlement = SettlementStateEnum.new("pendingSettlement")
2692
+ SettledSuccessfully = SettlementStateEnum.new("settledSuccessfully")
2693
+ SettlementError = SettlementStateEnum.new("settlementError")
2694
+ end
2695
+
2696
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FDSFilterActionEnum
2697
+ class FDSFilterActionEnum < ::String
2698
+ AuthAndHold = FDSFilterActionEnum.new("authAndHold")
2699
+ Decline = FDSFilterActionEnum.new("decline")
2700
+ Hold = FDSFilterActionEnum.new("hold")
2701
+ Reject = FDSFilterActionEnum.new("reject")
2702
+ Report = FDSFilterActionEnum.new("report")
2703
+ end
2704
+
2705
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}permissionsEnum
2706
+ class PermissionsEnum < ::String
2707
+ API_Merchant_BasicReporting = PermissionsEnum.new("API_Merchant_BasicReporting")
2708
+ Mobile_Admin = PermissionsEnum.new("Mobile_Admin")
2709
+ Submit_Charge = PermissionsEnum.new("Submit_Charge")
2710
+ Submit_Refund = PermissionsEnum.new("Submit_Refund")
2711
+ Submit_Update = PermissionsEnum.new("Submit_Update")
2712
+ end
2713
+
2714
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deviceActivationEnum
2715
+ class DeviceActivationEnum < ::String
2716
+ Activate = DeviceActivationEnum.new("Activate")
2717
+ Disable = DeviceActivationEnum.new("Disable")
2718
+ end
2719
+
2720
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settingNameEnum
2721
+ class SettingNameEnum < ::String
2722
+ AllowPartialAuth = SettingNameEnum.new("allowPartialAuth")
2723
+ DuplicateWindow = SettingNameEnum.new("duplicateWindow")
2724
+ EmailCustomer = SettingNameEnum.new("emailCustomer")
2725
+ FooterEmailReceipt = SettingNameEnum.new("footerEmailReceipt")
2726
+ HeaderEmailReceipt = SettingNameEnum.new("headerEmailReceipt")
2727
+ HostedProfileBillingAddressRequired = SettingNameEnum.new("hostedProfileBillingAddressRequired")
2728
+ HostedProfileCardCodeRequired = SettingNameEnum.new("hostedProfileCardCodeRequired")
2729
+ HostedProfileHeadingBgColor = SettingNameEnum.new("hostedProfileHeadingBgColor")
2730
+ HostedProfileIFrameCommunicatorUrl = SettingNameEnum.new("hostedProfileIFrameCommunicatorUrl")
2731
+ HostedProfilePageBorderVisible = SettingNameEnum.new("hostedProfilePageBorderVisible")
2732
+ HostedProfileReturnUrl = SettingNameEnum.new("hostedProfileReturnUrl")
2733
+ HostedProfileReturnUrlText = SettingNameEnum.new("hostedProfileReturnUrlText")
2734
+ HostedProfileValidationMode = SettingNameEnum.new("hostedProfileValidationMode")
2735
+ HostedProfileBillingAddressOptions = SettingNameEnum.new("hostedProfileBillingAddressOptions")
2736
+ HostedProfileManageOptions = SettingNameEnum.new("hostedProfileManageOptions")
2737
+ HostedPaymentIFrameCommunicatorUrl = SettingNameEnum.new("hostedPaymentIFrameCommunicatorUrl")
2738
+ HostedPaymentButtonOptions = SettingNameEnum.new("hostedPaymentButtonOptions")
2739
+ HostedPaymentReturnOptions = SettingNameEnum.new("hostedPaymentReturnOptions")
2740
+ HostedPaymentOrderOptions = SettingNameEnum.new("hostedPaymentOrderOptions")
2741
+ HostedPaymentPaymentOptions = SettingNameEnum.new("hostedPaymentPaymentOptions")
2742
+ HostedPaymentBillingAddressOptions = SettingNameEnum.new("hostedPaymentBillingAddressOptions")
2743
+ HostedPaymentShippingAddressOptions = SettingNameEnum.new("hostedPaymentShippingAddressOptions")
2744
+ HostedPaymentSecurityOptions = SettingNameEnum.new("hostedPaymentSecurityOptions")
2745
+ HostedPaymentCustomerOptions = SettingNameEnum.new("hostedPaymentCustomerOptions")
2746
+ HostedPaymentStyleOptions = SettingNameEnum.new("hostedPaymentStyleOptions")
2747
+ MerchantEmail = SettingNameEnum.new("merchantEmail")
2748
+ RecurringBilling = SettingNameEnum.new("recurringBilling")
2749
+ TestRequest = SettingNameEnum.new("testRequest")
2750
+ end
2751
+
2752
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListSearchTypeEnum
2753
+ class ARBGetSubscriptionListSearchTypeEnum < ::String
2754
+ CardExpiringThisMonth = ARBGetSubscriptionListSearchTypeEnum.new("cardExpiringThisMonth")
2755
+ SubscriptionActive = ARBGetSubscriptionListSearchTypeEnum.new("subscriptionActive")
2756
+ SubscriptionExpiringThisMonth = ARBGetSubscriptionListSearchTypeEnum.new("subscriptionExpiringThisMonth")
2757
+ SubscriptionInactive = ARBGetSubscriptionListSearchTypeEnum.new("subscriptionInactive")
2758
+ end
2759
+
2760
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListOrderFieldEnum
2761
+ class ARBGetSubscriptionListOrderFieldEnum < ::String
2762
+ AccountNumber = ARBGetSubscriptionListOrderFieldEnum.new("accountNumber")
2763
+ Amount = ARBGetSubscriptionListOrderFieldEnum.new("amount")
2764
+ CreateTimeStampUTC = ARBGetSubscriptionListOrderFieldEnum.new("createTimeStampUTC")
2765
+ FirstName = ARBGetSubscriptionListOrderFieldEnum.new("firstName")
2766
+ Id = ARBGetSubscriptionListOrderFieldEnum.new("id")
2767
+ LastName = ARBGetSubscriptionListOrderFieldEnum.new("lastName")
2768
+ Name = ARBGetSubscriptionListOrderFieldEnum.new("name")
2769
+ PastOccurrences = ARBGetSubscriptionListOrderFieldEnum.new("pastOccurrences")
2770
+ Status = ARBGetSubscriptionListOrderFieldEnum.new("status")
2771
+ end
2772
+
2773
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}isAliveRequest
2774
+ # refId - SOAP::SOAPString
2775
+ class IsAliveRequest
2776
+ include ROXML
2777
+ xml_accessor :refId
2778
+
2779
+ def initialize(refId = nil)
2780
+ @refId = refId
2781
+ end
2782
+ end
2783
+
2784
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}isAliveResponse
2785
+ # refId - SOAP::SOAPString
2786
+ # messages - MessagesType
2787
+ # sessionToken - SOAP::SOAPString
2788
+ class IsAliveResponse
2789
+ include ROXML
2790
+ xml_accessor :refId
2791
+ xml_accessor :messages, :as => MessagesType
2792
+ xml_accessor :sessionToken
2793
+
2794
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2795
+ @refId = refId
2796
+ @messages = messages
2797
+ @sessionToken = sessionToken
2798
+ end
2799
+ end
2800
+
2801
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}authenticateTestRequest
2802
+ # merchantAuthentication - MerchantAuthenticationType
2803
+ # refId - SOAP::SOAPString
2804
+ class AuthenticateTestRequest
2805
+ include ROXML
2806
+ xml_accessor :merchantAuthentication
2807
+ xml_accessor :refId
2808
+
2809
+ def initialize(merchantAuthentication = nil, refId = nil)
2810
+ @merchantAuthentication = merchantAuthentication
2811
+ @refId = refId
2812
+ end
2813
+ end
2814
+
2815
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}authenticateTestResponse
2816
+ # refId - SOAP::SOAPString
2817
+ # messages - MessagesType
2818
+ # sessionToken - SOAP::SOAPString
2819
+ class AuthenticateTestResponse
2820
+ include ROXML
2821
+ xml_accessor :refId
2822
+ xml_accessor :messages, :as => MessagesType
2823
+ xml_accessor :sessionToken
2824
+
2825
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2826
+ @refId = refId
2827
+ @messages = messages
2828
+ @sessionToken = sessionToken
2829
+ end
2830
+ end
2831
+
2832
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCreateSubscriptionRequest
2833
+ # merchantAuthentication - MerchantAuthenticationType
2834
+ # refId - SOAP::SOAPString
2835
+ # subscription - ARBSubscriptionType
2836
+ class ARBCreateSubscriptionRequest
2837
+ include ROXML
2838
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
2839
+ xml_accessor :refId
2840
+ xml_accessor :subscription, :as => ARBSubscriptionType
2841
+
2842
+ def initialize(merchantAuthentication = nil, refId = nil, subscription = nil)
2843
+ @merchantAuthentication = merchantAuthentication
2844
+ @refId = refId
2845
+ @subscription = subscription
2846
+ end
2847
+ end
2848
+
2849
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCreateSubscriptionResponse
2850
+ # refId - SOAP::SOAPString
2851
+ # messages - MessagesType
2852
+ # sessionToken - SOAP::SOAPString
2853
+ # subscriptionId - (any)
2854
+ # profile - CustomerProfileIdType
2855
+ class ARBCreateSubscriptionResponse
2856
+ include ROXML
2857
+ xml_accessor :refId
2858
+ xml_accessor :messages, :as => MessagesType
2859
+ xml_accessor :sessionToken
2860
+ xml_accessor :subscriptionId
2861
+ xml_accessor :profile, :as => CustomerProfileIdType
2862
+
2863
+ def initialize(refId = nil, messages = nil, sessionToken = nil, subscriptionId = nil, profile = nil)
2864
+ @refId = refId
2865
+ @messages = messages
2866
+ @sessionToken = sessionToken
2867
+ @subscriptionId = subscriptionId
2868
+ @profile = profile
2869
+ end
2870
+ end
2871
+
2872
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBUpdateSubscriptionRequest
2873
+ # merchantAuthentication - MerchantAuthenticationType
2874
+ # refId - SOAP::SOAPString
2875
+ # subscriptionId - (any)
2876
+ # subscription - ARBSubscriptionType
2877
+ class ARBUpdateSubscriptionRequest
2878
+ include ROXML
2879
+ xml_accessor :merchantAuthentication
2880
+ xml_accessor :refId
2881
+ xml_accessor :subscriptionId
2882
+ xml_accessor :subscription, :as => ARBSubscriptionType
2883
+
2884
+ def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil, subscription = nil)
2885
+ @merchantAuthentication = merchantAuthentication
2886
+ @refId = refId
2887
+ @subscriptionId = subscriptionId
2888
+ @subscription = subscription
2889
+ end
2890
+ end
2891
+
2892
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBUpdateSubscriptionResponse
2893
+ # refId - SOAP::SOAPString
2894
+ # messages - MessagesType
2895
+ # sessionToken - SOAP::SOAPString
2896
+ # profile - CustomerProfileIdType
2897
+ class ARBUpdateSubscriptionResponse
2898
+ include ROXML
2899
+ xml_accessor :refId
2900
+ xml_accessor :messages, :as => MessagesType
2901
+ xml_accessor :sessionToken
2902
+ xml_accessor :profile, :as => CustomerProfileIdType
2903
+
2904
+ def initialize(refId = nil, messages = nil, sessionToken = nil, profile = nil)
2905
+ @refId = refId
2906
+ @messages = messages
2907
+ @sessionToken = sessionToken
2908
+ @profile = profile
2909
+ end
2910
+ end
2911
+
2912
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCancelSubscriptionRequest
2913
+ # merchantAuthentication - MerchantAuthenticationType
2914
+ # refId - SOAP::SOAPString
2915
+ # subscriptionId - (any)
2916
+ class ARBCancelSubscriptionRequest
2917
+ include ROXML
2918
+ xml_accessor :merchantAuthentication
2919
+ xml_accessor :refId
2920
+ xml_accessor :subscriptionId
2921
+
2922
+ def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil)
2923
+ @merchantAuthentication = merchantAuthentication
2924
+ @refId = refId
2925
+ @subscriptionId = subscriptionId
2926
+ end
2927
+ end
2928
+
2929
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCancelSubscriptionResponse
2930
+ # refId - SOAP::SOAPString
2931
+ # messages - MessagesType
2932
+ # sessionToken - SOAP::SOAPString
2933
+ class ARBCancelSubscriptionResponse
2934
+ include ROXML
2935
+ xml_accessor :refId
2936
+ xml_accessor :messages, :as => MessagesType
2937
+ xml_accessor :sessionToken
2938
+
2939
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
2940
+ @refId = refId
2941
+ @messages = messages
2942
+ @sessionToken = sessionToken
2943
+ end
2944
+ end
2945
+
2946
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionStatusRequest
2947
+ # merchantAuthentication - MerchantAuthenticationType
2948
+ # refId - SOAP::SOAPString
2949
+ # subscriptionId - (any)
2950
+ class ARBGetSubscriptionStatusRequest
2951
+ include ROXML
2952
+ xml_accessor :merchantAuthentication
2953
+ xml_accessor :refId
2954
+ xml_accessor :subscriptionId
2955
+
2956
+ def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil)
2957
+ @merchantAuthentication = merchantAuthentication
2958
+ @refId = refId
2959
+ @subscriptionId = subscriptionId
2960
+ end
2961
+ end
2962
+
2963
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionStatusResponse
2964
+ # refId - SOAP::SOAPString
2965
+ # messages - MessagesType
2966
+ # sessionToken - SOAP::SOAPString
2967
+ # status - ARBSubscriptionStatusEnum
2968
+ class ARBGetSubscriptionStatusResponse
2969
+ include ROXML
2970
+ xml_accessor :refId
2971
+ xml_accessor :messages, :as => MessagesType
2972
+ xml_accessor :sessionToken
2973
+ xml_accessor :status
2974
+
2975
+ def initialize(refId = nil, messages = nil, sessionToken = nil, status = nil)
2976
+ @refId = refId
2977
+ @messages = messages
2978
+ @sessionToken = sessionToken
2979
+ @status = status
2980
+ end
2981
+ end
2982
+
2983
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileRequest
2984
+ # merchantAuthentication - MerchantAuthenticationType
2985
+ # refId - SOAP::SOAPString
2986
+ # profile - CustomerProfileType
2987
+ # validationMode - ValidationModeEnum
2988
+ class CreateCustomerProfileRequest
2989
+ include ROXML
2990
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
2991
+ xml_accessor :refId
2992
+ xml_accessor :profile, :as => CustomerProfileType
2993
+ xml_accessor :validationMode
2994
+
2995
+ def initialize(merchantAuthentication = nil, refId = nil, profile = nil, validationMode = nil)
2996
+ @merchantAuthentication = merchantAuthentication
2997
+ @refId = refId
2998
+ @profile = profile
2999
+ @validationMode = validationMode
3000
+ end
3001
+ end
3002
+
3003
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileResponse
3004
+ # refId - SOAP::SOAPString
3005
+ # messages - MessagesType
3006
+ # sessionToken - SOAP::SOAPString
3007
+ # customerProfileId - (any)
3008
+ # customerPaymentProfileIdList - ArrayOfNumericString
3009
+ # customerShippingAddressIdList - ArrayOfNumericString
3010
+ # validationDirectResponseList - ArrayOfString
3011
+ class CreateCustomerProfileResponse
3012
+ include ROXML
3013
+ xml_accessor :refId
3014
+ xml_accessor :messages, :as => MessagesType
3015
+ xml_accessor :sessionToken
3016
+ xml_accessor :customerProfileId
3017
+ xml_accessor :customerPaymentProfileIdList, :as => NumericStringsType
3018
+ xml_accessor :customerShippingAddressIdList, :as => NumericStringsType
3019
+ xml_accessor :validationDirectResponseList
3020
+
3021
+ def initialize(refId = nil, messages = nil, sessionToken = nil, customerProfileId = nil, customerPaymentProfileIdList = nil, customerShippingAddressIdList = nil, validationDirectResponseList = nil)
3022
+ @refId = refId
3023
+ @messages = messages
3024
+ @sessionToken = sessionToken
3025
+ @customerProfileId = customerProfileId
3026
+ @customerPaymentProfileIdList = customerPaymentProfileIdList
3027
+ @customerShippingAddressIdList = customerShippingAddressIdList
3028
+ @validationDirectResponseList = validationDirectResponseList
3029
+ end
3030
+ end
3031
+
3032
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerPaymentProfileRequest
3033
+ # merchantAuthentication - MerchantAuthenticationType
3034
+ # refId - SOAP::SOAPString
3035
+ # customerProfileId - (any)
3036
+ # paymentProfile - CustomerPaymentProfileType
3037
+ # validationMode - ValidationModeEnum
3038
+ class CreateCustomerPaymentProfileRequest
3039
+ include ROXML
3040
+ xml_accessor :merchantAuthentication
3041
+ xml_accessor :refId
3042
+ xml_accessor :customerProfileId
3043
+ xml_accessor :paymentProfile, :as => CustomerPaymentProfileType
3044
+ xml_accessor :validationMode
3045
+
3046
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, paymentProfile = nil, validationMode = nil)
3047
+ @merchantAuthentication = merchantAuthentication
3048
+ @refId = refId
3049
+ @customerProfileId = customerProfileId
3050
+ @paymentProfile = paymentProfile
3051
+ @validationMode = validationMode
3052
+ end
3053
+ end
3054
+
3055
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerPaymentProfileResponse
3056
+ # refId - SOAP::SOAPString
3057
+ # messages - MessagesType
3058
+ # sessionToken - SOAP::SOAPString
3059
+ # customerProfileId - (any)
3060
+ # customerPaymentProfileId - (any)
3061
+ # validationDirectResponse - SOAP::SOAPString
3062
+ class CreateCustomerPaymentProfileResponse
3063
+ include ROXML
3064
+ xml_accessor :refId
3065
+ xml_accessor :messages, :as => MessagesType
3066
+ xml_accessor :sessionToken
3067
+ xml_accessor :customerProfileId
3068
+ xml_accessor :customerPaymentProfileId
3069
+ xml_accessor :validationDirectResponse
3070
+
3071
+ def initialize(refId = nil, messages = nil, sessionToken = nil, customerProfileId = nil, customerPaymentProfileId = nil, validationDirectResponse = nil)
3072
+ @refId = refId
3073
+ @messages = messages
3074
+ @sessionToken = sessionToken
3075
+ @customerProfileId = customerProfileId
3076
+ @customerPaymentProfileId = customerPaymentProfileId
3077
+ @validationDirectResponse = validationDirectResponse
3078
+ end
3079
+ end
3080
+
3081
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerShippingAddressRequest
3082
+ # merchantAuthentication - MerchantAuthenticationType
3083
+ # refId - SOAP::SOAPString
3084
+ # customerProfileId - (any)
3085
+ # address - CustomerAddressType
3086
+ class CreateCustomerShippingAddressRequest
3087
+ include ROXML
3088
+ xml_accessor :merchantAuthentication
3089
+ xml_accessor :refId
3090
+ xml_accessor :customerProfileId
3091
+ xml_accessor :address, :as => CustomerAddressType
3092
+ xml_accessor :defaultShippingAddress
3093
+
3094
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil, defaultShippingAddress = nil)
3095
+ @merchantAuthentication = merchantAuthentication
3096
+ @refId = refId
3097
+ @customerProfileId = customerProfileId
3098
+ @address = address
3099
+ @defaultShippingAddress = defaultShippingAddress
3100
+ end
3101
+ end
3102
+
3103
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerShippingAddressResponse
3104
+ # refId - SOAP::SOAPString
3105
+ # messages - MessagesType
3106
+ # sessionToken - SOAP::SOAPString
3107
+ # customerProfileId - (any)
3108
+ # customerAddressId - (any)
3109
+ class CreateCustomerShippingAddressResponse
3110
+ include ROXML
3111
+ xml_accessor :refId
3112
+ xml_accessor :messages, :as => MessagesType
3113
+ xml_accessor :sessionToken
3114
+ xml_accessor :customerProfileId
3115
+ xml_accessor :customerAddressId
3116
+
3117
+ def initialize(refId = nil, messages = nil, sessionToken = nil, customerProfileId = nil, customerAddressId = nil)
3118
+ @refId = refId
3119
+ @messages = messages
3120
+ @sessionToken = sessionToken
3121
+ @customerProfileId = customerProfileId
3122
+ @customerAddressId = customerAddressId
3123
+ end
3124
+ end
3125
+
3126
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileFromTransactionRequest
3127
+ # merchantAuthentication - MerchantAuthenticationType
3128
+ # refId - SOAP::SOAPString
3129
+ # transId - (any)
3130
+ # customer - CustomerProfileBaseType
3131
+ # customerProfileId - NumericStringsType
3132
+ class CreateCustomerProfileFromTransactionRequest
3133
+ include ROXML
3134
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
3135
+ xml_accessor :refId
3136
+ xml_accessor :transId
3137
+ xml_accessor :customer, :as => CustomerProfileBaseType
3138
+ xml_accessor :customerProfileId, :as => NumericStringsType
3139
+ xml_accessor :defaultPaymentProfile
3140
+ xml_accessor :defaultShippingAddress
3141
+
3142
+ def initialize(merchantAuthentication = nil, refId = nil, transId = nil, customer = nil, customerProfileId = nil, defaultPaymentProfile = nil, defaultShippingAddress = nil)
3143
+ @merchantAuthentication = merchantAuthentication
3144
+ @refId = refId
3145
+ @transId = transId
3146
+ @customer = customer
3147
+ @customerProfileId = customerProfileId
3148
+ @defaultPaymentProfile = defaultPaymentProfile
3149
+ @defaultShippingAddress = defaultShippingAddress
3150
+ end
3151
+ end
3152
+
3153
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileRequest
3154
+ # merchantAuthentication - MerchantAuthenticationType
3155
+ # refId - SOAP::SOAPString
3156
+ # customerProfileId - (any)
3157
+ # merchantCustomerId - SOAP::SOAPString
3158
+ # email - SOAP::SOAPString
3159
+ # unmaskExpirationDate - SOAP::SOAPBoolean
3160
+ class GetCustomerProfileRequest
3161
+ include ROXML
3162
+ xml_accessor :merchantAuthentication
3163
+ xml_accessor :refId
3164
+ xml_accessor :customerProfileId
3165
+ xml_accessor :merchantCustomerId
3166
+ xml_accessor :email
3167
+ xml_accessor :unmaskExpirationDate
3168
+
3169
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, unmaskExpirationDate = nil, merchantCustomerId = nil, email = nil)
3170
+ @merchantAuthentication = merchantAuthentication
3171
+ @refId = refId
3172
+ @customerProfileId = customerProfileId
3173
+ @merchantCustomerId = merchantCustomerId
3174
+ @email = email
3175
+ @unmaskExpirationDate = unmaskExpirationDate
3176
+ end
3177
+ end
3178
+
3179
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileResponse
3180
+ # refId - SOAP::SOAPString
3181
+ # messages - MessagesType
3182
+ # sessionToken - SOAP::SOAPString
3183
+ # profile - CustomerProfileMaskedType
3184
+ # subscriptionIds - SubscriptionIdList
3185
+ class GetCustomerProfileResponse
3186
+ include ROXML
3187
+ xml_accessor :refId
3188
+ xml_accessor :messages, :as => MessagesType
3189
+ xml_accessor :sessionToken
3190
+ xml_accessor :profile, :as => CustomerProfileMaskedType
3191
+ xml_accessor :subscriptionIds, :as => SubscriptionIdList
3192
+
3193
+ def initialize(refId = nil, messages = nil, sessionToken = nil, profile = nil, subscriptionIds = nil)
3194
+ @refId = refId
3195
+ @messages = messages
3196
+ @sessionToken = sessionToken
3197
+ @profile = profile
3198
+ @subscriptionIds = subscriptionIds
3199
+ end
3200
+ end
3201
+
3202
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileRequest
3203
+ # merchantAuthentication - MerchantAuthenticationType
3204
+ # refId - SOAP::SOAPString
3205
+ # customerProfileId - (any)
3206
+ # customerPaymentProfileId - (any)
3207
+ # unmaskExpirationDate - SOAP::SOAPBoolean
3208
+ class GetCustomerPaymentProfileRequest
3209
+ include ROXML
3210
+ xml_accessor :merchantAuthentication
3211
+ xml_accessor :refId
3212
+ xml_accessor :customerProfileId
3213
+ xml_accessor :customerPaymentProfileId
3214
+ xml_accessor :unmaskExpirationDate
3215
+
3216
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil, unmaskExpirationDate = nil)
3217
+ @merchantAuthentication = merchantAuthentication
3218
+ @refId = refId
3219
+ @customerProfileId = customerProfileId
3220
+ @customerPaymentProfileId = customerPaymentProfileId
3221
+ @unmaskExpirationDate = unmaskExpirationDate
3222
+ end
3223
+ end
3224
+
3225
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileResponse
3226
+ # refId - SOAP::SOAPString
3227
+ # messages - MessagesType
3228
+ # sessionToken - SOAP::SOAPString
3229
+ # paymentProfile - CustomerPaymentProfileMaskedType
3230
+ class GetCustomerPaymentProfileResponse
3231
+ include ROXML
3232
+ xml_accessor :refId
3233
+ xml_accessor :messages, :as => MessagesType
3234
+ xml_accessor :sessionToken
3235
+ xml_accessor :paymentProfile, :as => CustomerPaymentProfileMaskedType
3236
+
3237
+ def initialize(refId = nil, messages = nil, sessionToken = nil, paymentProfile = nil)
3238
+ @refId = refId
3239
+ @messages = messages
3240
+ @sessionToken = sessionToken
3241
+ @paymentProfile = paymentProfile
3242
+ end
3243
+ end
3244
+
3245
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressRequest
3246
+ # merchantAuthentication - MerchantAuthenticationType
3247
+ # refId - SOAP::SOAPString
3248
+ # customerProfileId - (any)
3249
+ # customerAddressId - (any)
3250
+ class GetCustomerShippingAddressRequest
3251
+ include ROXML
3252
+ xml_accessor :merchantAuthentication
3253
+ xml_accessor :refId
3254
+ xml_accessor :customerProfileId
3255
+ xml_accessor :customerAddressId
3256
+
3257
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil)
3258
+ @merchantAuthentication = merchantAuthentication
3259
+ @refId = refId
3260
+ @customerProfileId = customerProfileId
3261
+ @customerAddressId = customerAddressId
3262
+ end
3263
+ end
3264
+
3265
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressResponse
3266
+ # refId - SOAP::SOAPString
3267
+ # messages - MessagesType
3268
+ # sessionToken - SOAP::SOAPString
3269
+ # address - CustomerAddressExType
3270
+ # subscriptionIds - SubscriptionIdList
3271
+ class GetCustomerShippingAddressResponse
3272
+ include ROXML
3273
+ xml_accessor :refId
3274
+ xml_accessor :messages, :as => MessagesType
3275
+ xml_accessor :sessionToken
3276
+ xml_accessor :defaultShippingAddress
3277
+ xml_accessor :address
3278
+ xml_accessor :subscriptionIds, :as => SubscriptionIdList
3279
+
3280
+ def initialize(refId = nil, messages = nil, sessionToken = nil, address = nil, subscriptionIds = nil, defaultShippingAddress = nil)
3281
+ @refId = refId
3282
+ @messages = messages
3283
+ @sessionToken = sessionToken
3284
+ @address = address
3285
+ @subscriptionIds = subscriptionIds
3286
+ @defaultShippingAddress = defaultShippingAddress
3287
+ end
3288
+ end
3289
+
3290
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerProfileRequest
3291
+ # merchantAuthentication - MerchantAuthenticationType
3292
+ # refId - SOAP::SOAPString
3293
+ # profile - CustomerProfileExType
3294
+ class UpdateCustomerProfileRequest
3295
+ include ROXML
3296
+ xml_accessor :merchantAuthentication
3297
+ xml_accessor :refId
3298
+ xml_accessor :profile, :as => CustomerProfileExType
3299
+
3300
+ def initialize(merchantAuthentication = nil, refId = nil, profile = nil)
3301
+ @merchantAuthentication = merchantAuthentication
3302
+ @refId = refId
3303
+ @profile = profile
3304
+ end
3305
+ end
3306
+
3307
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerProfileResponse
3308
+ # refId - SOAP::SOAPString
3309
+ # messages - MessagesType
3310
+ # sessionToken - SOAP::SOAPString
3311
+ class UpdateCustomerProfileResponse
3312
+ include ROXML
3313
+ xml_accessor :refId
3314
+ xml_accessor :messages, :as => MessagesType
3315
+ xml_accessor :sessionToken
3316
+
3317
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3318
+ @refId = refId
3319
+ @messages = messages
3320
+ @sessionToken = sessionToken
3321
+ end
3322
+ end
3323
+
3324
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerPaymentProfileRequest
3325
+ # merchantAuthentication - MerchantAuthenticationType
3326
+ # refId - SOAP::SOAPString
3327
+ # customerProfileId - (any)
3328
+ # paymentProfile - CustomerPaymentProfileExType
3329
+ # validationMode - ValidationModeEnum
3330
+ class UpdateCustomerPaymentProfileRequest
3331
+ include ROXML
3332
+ xml_accessor :merchantAuthentication
3333
+ xml_accessor :refId
3334
+ xml_accessor :customerProfileId
3335
+ xml_accessor :paymentProfile, :as => CustomerPaymentProfileExType
3336
+ xml_accessor :validationMode
3337
+
3338
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, paymentProfile = nil, validationMode = nil)
3339
+ @merchantAuthentication = merchantAuthentication
3340
+ @refId = refId
3341
+ @customerProfileId = customerProfileId
3342
+ @paymentProfile = paymentProfile
3343
+ @validationMode = validationMode
3344
+ end
3345
+ end
3346
+
3347
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerPaymentProfileResponse
3348
+ # refId - SOAP::SOAPString
3349
+ # messages - MessagesType
3350
+ # sessionToken - SOAP::SOAPString
3351
+ # validationDirectResponse - SOAP::SOAPString
3352
+ class UpdateCustomerPaymentProfileResponse
3353
+ include ROXML
3354
+ xml_accessor :refId
3355
+ xml_accessor :messages, :as => MessagesType
3356
+ xml_accessor :sessionToken
3357
+ xml_accessor :validationDirectResponse
3358
+
3359
+ def initialize(refId = nil, messages = nil, sessionToken = nil, validationDirectResponse = nil)
3360
+ @refId = refId
3361
+ @messages = messages
3362
+ @sessionToken = sessionToken
3363
+ @validationDirectResponse = validationDirectResponse
3364
+ end
3365
+ end
3366
+
3367
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerShippingAddressRequest
3368
+ # merchantAuthentication - MerchantAuthenticationType
3369
+ # refId - SOAP::SOAPString
3370
+ # customerProfileId - (any)
3371
+ # address - CustomerAddressExType
3372
+ class UpdateCustomerShippingAddressRequest
3373
+ include ROXML
3374
+ xml_accessor :merchantAuthentication
3375
+ xml_accessor :refId
3376
+ xml_accessor :customerProfileId
3377
+ xml_accessor :address, :as => CustomerAddressExType
3378
+ xml_accessor :defaultShippingAddress
3379
+
3380
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil, defaultShippingAddress = nil)
3381
+ @merchantAuthentication = merchantAuthentication
3382
+ @refId = refId
3383
+ @customerProfileId = customerProfileId
3384
+ @address = address
3385
+ @defaultShippingAddress = defaultShippingAddress
3386
+ end
3387
+ end
3388
+
3389
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerShippingAddressResponse
3390
+ # refId - SOAP::SOAPString
3391
+ # messages - MessagesType
3392
+ # sessionToken - SOAP::SOAPString
3393
+ class UpdateCustomerShippingAddressResponse
3394
+ include ROXML
3395
+ xml_accessor :refId
3396
+ xml_accessor :messages, :as => MessagesType
3397
+ xml_accessor :sessionToken
3398
+
3399
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3400
+ @refId = refId
3401
+ @messages = messages
3402
+ @sessionToken = sessionToken
3403
+ end
3404
+ end
3405
+
3406
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerProfileRequest
3407
+ # merchantAuthentication - MerchantAuthenticationType
3408
+ # refId - SOAP::SOAPString
3409
+ # customerProfileId - (any)
3410
+ class DeleteCustomerProfileRequest
3411
+ include ROXML
3412
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
3413
+ xml_accessor :refId
3414
+ xml_accessor :customerProfileId
3415
+
3416
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil)
3417
+ @merchantAuthentication = merchantAuthentication
3418
+ @refId = refId
3419
+ @customerProfileId = customerProfileId
3420
+ end
3421
+ end
3422
+
3423
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerProfileResponse
3424
+ # refId - SOAP::SOAPString
3425
+ # messages - MessagesType
3426
+ # sessionToken - SOAP::SOAPString
3427
+ class DeleteCustomerProfileResponse
3428
+ include ROXML
3429
+ xml_accessor :refId
3430
+ xml_accessor :messages, :as => MessagesType
3431
+ xml_accessor :sessionToken
3432
+
3433
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3434
+ @refId = refId
3435
+ @messages = messages
3436
+ @sessionToken = sessionToken
3437
+ end
3438
+ end
3439
+
3440
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileRequest
3441
+ # merchantAuthentication - MerchantAuthenticationType
3442
+ # refId - SOAP::SOAPString
3443
+ # customerProfileId - (any)
3444
+ # customerPaymentProfileId - (any)
3445
+ class DeleteCustomerPaymentProfileRequest
3446
+ include ROXML
3447
+ xml_accessor :merchantAuthentication
3448
+ xml_accessor :refId
3449
+ xml_accessor :customerProfileId
3450
+ xml_accessor :customerPaymentProfileId
3451
+
3452
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil)
3453
+ @merchantAuthentication = merchantAuthentication
3454
+ @refId = refId
3455
+ @customerProfileId = customerProfileId
3456
+ @customerPaymentProfileId = customerPaymentProfileId
3457
+ end
3458
+ end
3459
+
3460
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileResponse
3461
+ # refId - SOAP::SOAPString
3462
+ # messages - MessagesType
3463
+ # sessionToken - SOAP::SOAPString
3464
+ class DeleteCustomerPaymentProfileResponse
3465
+ include ROXML
3466
+ xml_accessor :refId
3467
+ xml_accessor :messages, :as => MessagesType
3468
+ xml_accessor :sessionToken
3469
+
3470
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3471
+ @refId = refId
3472
+ @messages = messages
3473
+ @sessionToken = sessionToken
3474
+ end
3475
+ end
3476
+
3477
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressRequest
3478
+ # merchantAuthentication - MerchantAuthenticationType
3479
+ # refId - SOAP::SOAPString
3480
+ # customerProfileId - (any)
3481
+ # customerAddressId - (any)
3482
+ class DeleteCustomerShippingAddressRequest
3483
+ include ROXML
3484
+ xml_accessor :merchantAuthentication
3485
+ xml_accessor :refId
3486
+ xml_accessor :customerProfileId
3487
+ xml_accessor :customerAddressId
3488
+
3489
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil)
3490
+ @merchantAuthentication = merchantAuthentication
3491
+ @refId = refId
3492
+ @customerProfileId = customerProfileId
3493
+ @customerAddressId = customerAddressId
3494
+ end
3495
+ end
3496
+
3497
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressResponse
3498
+ # refId - SOAP::SOAPString
3499
+ # messages - MessagesType
3500
+ # sessionToken - SOAP::SOAPString
3501
+ class DeleteCustomerShippingAddressResponse
3502
+ include ROXML
3503
+ xml_accessor :refId
3504
+ xml_accessor :messages, :as => MessagesType
3505
+ xml_accessor :sessionToken
3506
+
3507
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3508
+ @refId = refId
3509
+ @messages = messages
3510
+ @sessionToken = sessionToken
3511
+ end
3512
+ end
3513
+
3514
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileTransactionRequest
3515
+ # merchantAuthentication - MerchantAuthenticationType
3516
+ # refId - SOAP::SOAPString
3517
+ # transaction - ProfileTransactionType
3518
+ # extraOptions - SOAP::SOAPString
3519
+ class CreateCustomerProfileTransactionRequest
3520
+ include ROXML
3521
+ xml_accessor :merchantAuthentication
3522
+ xml_accessor :refId
3523
+ xml_accessor :transaction
3524
+ xml_accessor :extraOptions
3525
+
3526
+ def initialize(merchantAuthentication = nil, refId = nil, transaction = nil, extraOptions = nil)
3527
+ @merchantAuthentication = merchantAuthentication
3528
+ @refId = refId
3529
+ @transaction = transaction
3530
+ @extraOptions = extraOptions
3531
+ end
3532
+ end
3533
+
3534
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileTransactionResponse
3535
+ # refId - SOAP::SOAPString
3536
+ # messages - MessagesType
3537
+ # sessionToken - SOAP::SOAPString
3538
+ # transactionResponse - TransactionResponse
3539
+ # directResponse - SOAP::SOAPString
3540
+ class CreateCustomerProfileTransactionResponse
3541
+ include ROXML
3542
+ xml_accessor :refId
3543
+ xml_accessor :messages, :as => MessagesType
3544
+ xml_accessor :sessionToken
3545
+ xml_accessor :transactionResponse
3546
+ xml_accessor :directResponse
3547
+
3548
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transactionResponse = nil, directResponse = nil)
3549
+ @refId = refId
3550
+ @messages = messages
3551
+ @sessionToken = sessionToken
3552
+ @transactionResponse = transactionResponse
3553
+ @directResponse = directResponse
3554
+ end
3555
+ end
3556
+
3557
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}validateCustomerPaymentProfileRequest
3558
+ # merchantAuthentication - MerchantAuthenticationType
3559
+ # refId - SOAP::SOAPString
3560
+ # customerProfileId - (any)
3561
+ # customerPaymentProfileId - (any)
3562
+ # customerShippingAddressId - (any)
3563
+ # cardCode - (any)
3564
+ # validationMode - ValidationModeEnum
3565
+ class ValidateCustomerPaymentProfileRequest
3566
+ include ROXML
3567
+ xml_accessor :merchantAuthentication
3568
+ xml_accessor :refId
3569
+ xml_accessor :customerProfileId
3570
+ xml_accessor :customerPaymentProfileId
3571
+ xml_accessor :customerShippingAddressId
3572
+ xml_accessor :cardCode
3573
+ xml_accessor :validationMode
3574
+
3575
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, cardCode = nil, validationMode = nil)
3576
+ @merchantAuthentication = merchantAuthentication
3577
+ @refId = refId
3578
+ @customerProfileId = customerProfileId
3579
+ @customerPaymentProfileId = customerPaymentProfileId
3580
+ @customerShippingAddressId = customerShippingAddressId
3581
+ @cardCode = cardCode
3582
+ @validationMode = validationMode
3583
+ end
3584
+ end
3585
+
3586
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}validateCustomerPaymentProfileResponse
3587
+ # refId - SOAP::SOAPString
3588
+ # messages - MessagesType
3589
+ # sessionToken - SOAP::SOAPString
3590
+ # directResponse - SOAP::SOAPString
3591
+ class ValidateCustomerPaymentProfileResponse
3592
+ include ROXML
3593
+ xml_accessor :refId
3594
+ xml_accessor :messages, :as => MessagesType
3595
+ xml_accessor :sessionToken
3596
+ xml_accessor :directResponse
3597
+
3598
+ def initialize(refId = nil, messages = nil, sessionToken = nil, directResponse = nil)
3599
+ @refId = refId
3600
+ @messages = messages
3601
+ @sessionToken = sessionToken
3602
+ @directResponse = directResponse
3603
+ end
3604
+ end
3605
+
3606
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileIdsRequest
3607
+ # merchantAuthentication - MerchantAuthenticationType
3608
+ # refId - SOAP::SOAPString
3609
+ class GetCustomerProfileIdsRequest
3610
+ include ROXML
3611
+ xml_accessor :merchantAuthentication
3612
+ xml_accessor :refId
3613
+
3614
+ def initialize(merchantAuthentication = nil, refId = nil)
3615
+ @merchantAuthentication = merchantAuthentication
3616
+ @refId = refId
3617
+ end
3618
+ end
3619
+
3620
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileIdsResponse
3621
+ # refId - SOAP::SOAPString
3622
+ # messages - MessagesType
3623
+ # sessionToken - SOAP::SOAPString
3624
+ # ids - ArrayOfNumericString
3625
+ class GetCustomerProfileIdsResponse
3626
+ include ROXML
3627
+ xml_accessor :refId
3628
+ xml_accessor :messages, :as => MessagesType
3629
+ xml_accessor :sessionToken
3630
+ xml_accessor :ids, :as => NumericStringsType
3631
+
3632
+ def initialize(refId = nil, messages = nil, sessionToken = nil, ids = nil)
3633
+ @refId = refId
3634
+ @messages = messages
3635
+ @sessionToken = sessionToken
3636
+ @ids = ids
3637
+ end
3638
+ end
3639
+
3640
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateSplitTenderGroupRequest
3641
+ # merchantAuthentication - MerchantAuthenticationType
3642
+ # refId - SOAP::SOAPString
3643
+ # splitTenderId - SOAP::SOAPString
3644
+ # splitTenderStatus - SplitTenderStatusEnum
3645
+ class UpdateSplitTenderGroupRequest
3646
+ include ROXML
3647
+ xml_accessor :merchantAuthentication
3648
+ xml_accessor :refId
3649
+ xml_accessor :splitTenderId
3650
+ xml_accessor :splitTenderStatus
3651
+
3652
+ def initialize(merchantAuthentication = nil, refId = nil, splitTenderId = nil, splitTenderStatus = nil)
3653
+ @merchantAuthentication = merchantAuthentication
3654
+ @refId = refId
3655
+ @splitTenderId = splitTenderId
3656
+ @splitTenderStatus = splitTenderStatus
3657
+ end
3658
+ end
3659
+
3660
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateSplitTenderGroupResponse
3661
+ # refId - SOAP::SOAPString
3662
+ # messages - MessagesType
3663
+ # sessionToken - SOAP::SOAPString
3664
+ class UpdateSplitTenderGroupResponse
3665
+ include ROXML
3666
+ xml_accessor :refId
3667
+ xml_accessor :messages, :as => MessagesType
3668
+ xml_accessor :sessionToken
3669
+
3670
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
3671
+ @refId = refId
3672
+ @messages = messages
3673
+ @sessionToken = sessionToken
3674
+ end
3675
+ end
3676
+
3677
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionDetailsRequest
3678
+ # merchantAuthentication - MerchantAuthenticationType
3679
+ # refId - SOAP::SOAPString
3680
+ # transId - (any)
3681
+ class GetTransactionDetailsRequest
3682
+ include ROXML
3683
+ xml_accessor :merchantAuthentication
3684
+ xml_accessor :refId
3685
+ xml_accessor :transId
3686
+
3687
+ def initialize(merchantAuthentication = nil, refId = nil, transId = nil)
3688
+ @merchantAuthentication = merchantAuthentication
3689
+ @refId = refId
3690
+ @transId = transId
3691
+ end
3692
+ end
3693
+
3694
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionDetailsResponse
3695
+ # refId - SOAP::SOAPString
3696
+ # messages - MessagesType
3697
+ # sessionToken - SOAP::SOAPString
3698
+ # transaction - TransactionDetailsType
3699
+ # clientId - SOAP::SOAPString
3700
+ # transrefId - SOAP::SOAPString
3701
+ class GetTransactionDetailsResponse
3702
+ include ROXML
3703
+ xml_accessor :refId
3704
+ xml_accessor :messages, :as => MessagesType
3705
+ xml_accessor :sessionToken
3706
+ xml_accessor :transaction, :as => TransactionDetailsType
3707
+ xml_accessor :clientId
3708
+ xml_accessor :transrefId
3709
+
3710
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transaction = nil, clientId = nil, transrefId = nil)
3711
+ @refId = refId
3712
+ @messages = messages
3713
+ @sessionToken = sessionToken
3714
+ @transaction = transaction
3715
+ @clientId = clientId
3716
+ @transrefId = transrefId
3717
+ end
3718
+ end
3719
+
3720
+
3721
+
3722
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getBatchStatisticsRequest
3723
+ # merchantAuthentication - MerchantAuthenticationType
3724
+ # refId - SOAP::SOAPString
3725
+ # batchId - (any)
3726
+ class GetBatchStatisticsRequest
3727
+ include ROXML
3728
+ xml_accessor :merchantAuthentication
3729
+ xml_accessor :refId
3730
+ xml_accessor :batchId
3731
+
3732
+ def initialize(merchantAuthentication = nil, refId = nil, batchId = nil)
3733
+ @merchantAuthentication = merchantAuthentication
3734
+ @refId = refId
3735
+ @batchId = batchId
3736
+ end
3737
+ end
3738
+
3739
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getBatchStatisticsResponse
3740
+ # refId - SOAP::SOAPString
3741
+ # messages - MessagesType
3742
+ # sessionToken - SOAP::SOAPString
3743
+ # batch - BatchDetailsType
3744
+ class GetBatchStatisticsResponse
3745
+ include ROXML
3746
+ xml_accessor :refId
3747
+ xml_accessor :messages, :as => MessagesType
3748
+ xml_accessor :sessionToken
3749
+ xml_accessor :batch, :as=> BatchDetailsType
3750
+
3751
+ def initialize(refId = nil, messages = nil, sessionToken = nil, batch = nil)
3752
+ @refId = refId
3753
+ @messages = messages
3754
+ @sessionToken = sessionToken
3755
+ @batch = batch
3756
+ end
3757
+ end
3758
+
3759
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getSettledBatchListRequest
3760
+ # merchantAuthentication - MerchantAuthenticationType
3761
+ # refId - SOAP::SOAPString
3762
+ # includeStatistics - SOAP::SOAPBoolean
3763
+ # firstSettlementDate - SOAP::SOAPDateTime
3764
+ # lastSettlementDate - SOAP::SOAPDateTime
3765
+ class GetSettledBatchListRequest
3766
+ include ROXML
3767
+ xml_accessor :merchantAuthentication
3768
+ xml_accessor :refId
3769
+ xml_accessor :includeStatistics
3770
+ xml_accessor :firstSettlementDate
3771
+ xml_accessor :lastSettlementDate
3772
+
3773
+ def initialize(merchantAuthentication = nil, refId = nil, includeStatistics = nil, firstSettlementDate = nil, lastSettlementDate = nil)
3774
+ @merchantAuthentication = merchantAuthentication
3775
+ @refId = refId
3776
+ @includeStatistics = includeStatistics
3777
+ @firstSettlementDate = firstSettlementDate
3778
+ @lastSettlementDate = lastSettlementDate
3779
+ end
3780
+ end
3781
+
3782
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getSettledBatchListResponse
3783
+ # refId - SOAP::SOAPString
3784
+ # messages - MessagesType
3785
+ # sessionToken - SOAP::SOAPString
3786
+ # batchList - ArrayOfBatchDetailsType
3787
+ class GetSettledBatchListResponse
3788
+ include ROXML
3789
+ xml_accessor :refId
3790
+ xml_accessor :messages, :as => MessagesType
3791
+ xml_accessor :sessionToken
3792
+ xml_accessor :batchList, :as => ArrayOfBatchDetailsType
3793
+
3794
+ def initialize(refId = nil, messages = nil, sessionToken = nil, batchList = nil)
3795
+ @refId = refId
3796
+ @messages = messages
3797
+ @sessionToken = sessionToken
3798
+ @batchList = batchList
3799
+ end
3800
+ end
3801
+
3802
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}TransactionListOrderFieldEnum
3803
+ class TransactionListOrderFieldEnum < ::String
3804
+ Id = TransactionListOrderFieldEnum.new("id")
3805
+ SubmitTimeUTC = TransactionListOrderFieldEnum.new("submitTimeUTC")
3806
+ end
3807
+
3808
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}TransactionListSorting
3809
+ class TransactionListSorting
3810
+ include ROXML
3811
+ xml_accessor :orderBy
3812
+ xml_accessor :orderDescending
3813
+
3814
+ def initialize(orderBy = nil, orderDescending = nil)
3815
+ @orderBy = orderBy
3816
+ @orderDescending = orderDescending
3817
+ end
3818
+ end
3819
+
3820
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListRequest
3821
+ # merchantAuthentication - MerchantAuthenticationType
3822
+ # refId - SOAP::SOAPString
3823
+ # batchId - (any)
3824
+ class GetTransactionListRequest
3825
+ include ROXML
3826
+ xml_accessor :merchantAuthentication
3827
+ xml_accessor :refId
3828
+ xml_accessor :batchId
3829
+ xml_accessor :sorting, :as => TransactionListSorting
3830
+ xml_accessor :paging, :as => Paging
3831
+
3832
+ def initialize(merchantAuthentication = nil, refId = nil, batchId = nil, sorting = nil, paging = nil)
3833
+ @merchantAuthentication = merchantAuthentication
3834
+ @refId = refId
3835
+ @batchId = batchId
3836
+ @sorting = sorting
3837
+ @paging = paging
3838
+ end
3839
+ end
3840
+
3841
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListResponse
3842
+ # refId - SOAP::SOAPString
3843
+ # messages - MessagesType
3844
+ # sessionToken - SOAP::SOAPString
3845
+ # transactions - ArrayOfTransactionSummaryType
3846
+ class GetTransactionListResponse
3847
+ include ROXML
3848
+ xml_accessor :refId
3849
+ xml_accessor :messages, :as => MessagesType
3850
+ xml_accessor :sessionToken
3851
+ xml_accessor :transactions, :as => ArrayOfTransactionSummaryType
3852
+ xml_accessor :totalNumInResultSet
3853
+
3854
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil, totalNumInResultSet = nil)
3855
+ @refId = refId
3856
+ @messages = messages
3857
+ @sessionToken = sessionToken
3858
+ @transactions = transactions
3859
+ @totalNumInResultSet = totalNumInResultSet
3860
+ end
3861
+ end
3862
+
3863
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedProfilePageRequest
3864
+ # merchantAuthentication - MerchantAuthenticationType
3865
+ # refId - SOAP::SOAPString
3866
+ # customerProfileId - (any)
3867
+ # hostedProfileSettings - ArrayOfSetting
3868
+ class GetHostedProfilePageRequest
3869
+ include ROXML
3870
+ xml_accessor :merchantAuthentication
3871
+ xml_accessor :refId
3872
+ xml_accessor :customerProfileId
3873
+ xml_accessor :hostedProfileSettings, :as => Settings
3874
+
3875
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, hostedProfileSettings = nil)
3876
+ @merchantAuthentication = merchantAuthentication
3877
+ @refId = refId
3878
+ @customerProfileId = customerProfileId
3879
+ @hostedProfileSettings = hostedProfileSettings
3880
+ end
3881
+ end
3882
+
3883
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedProfilePageResponse
3884
+ # refId - SOAP::SOAPString
3885
+ # messages - MessagesType
3886
+ # sessionToken - SOAP::SOAPString
3887
+ # token - SOAP::SOAPString
3888
+ class GetHostedProfilePageResponse
3889
+ include ROXML
3890
+ xml_accessor :refId
3891
+ xml_accessor :messages, :as => MessagesType
3892
+ xml_accessor :sessionToken
3893
+ xml_accessor :token
3894
+
3895
+ def initialize(refId = nil, messages = nil, sessionToken = nil, token = nil)
3896
+ @refId = refId
3897
+ @messages = messages
3898
+ @sessionToken = sessionToken
3899
+ @token = token
3900
+ end
3901
+ end
3902
+
3903
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}TransactionGroupStatusEnum
3904
+ class TransactionGroupStatusEnum < ::String
3905
+ ANY = TransactionGroupStatusEnum.new("any")
3906
+ PENDINGAPPROVAL = TransactionGroupStatusEnum.new("pendingApproval")
3907
+ end
3908
+
3909
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getUnsettledTransactionListRequest
3910
+ # merchantAuthentication - MerchantAuthenticationType
3911
+ # refId - SOAP::SOAPString
3912
+ class GetUnsettledTransactionListRequest
3913
+ include ROXML
3914
+ xml_accessor :merchantAuthentication
3915
+ xml_accessor :refId
3916
+ xml_accessor :status
3917
+ xml_accessor :sorting, :as => TransactionListSorting
3918
+ xml_accessor :paging, :as => Paging
3919
+
3920
+ def initialize(merchantAuthentication = nil, refId = nil, status = nil, sorting = nil, paging = nil)
3921
+ @merchantAuthentication = merchantAuthentication
3922
+ @refId = refId
3923
+ @status = status
3924
+ @sorting = sorting
3925
+ @paging = paging
3926
+ end
3927
+ end
3928
+
3929
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getUnsettledTransactionListResponse
3930
+ # refId - SOAP::SOAPString
3931
+ # messages - MessagesType
3932
+ # sessionToken - SOAP::SOAPString
3933
+ # transactions - ArrayOfTransactionSummaryType
3934
+ class GetUnsettledTransactionListResponse
3935
+ include ROXML
3936
+ xml_accessor :refId
3937
+ xml_accessor :messages, :as => MessagesType
3938
+ xml_accessor :sessionToken
3939
+ xml_accessor :transactions, :as => ArrayOfTransactionSummaryType
3940
+ xml_accessor :totalNumInResultSet
3941
+
3942
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil, totalNumInResultSet = nil)
3943
+ @refId = refId
3944
+ @messages = messages
3945
+ @sessionToken = sessionToken
3946
+ @transactions = transactions
3947
+ @totalNumInResultSet = totalNumInResultSet
3948
+ end
3949
+ end
3950
+
3951
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListForCustomerRequest
3952
+ # merchantAuthentication - MerchantAuthenticationType
3953
+ # refId - SOAP::SOAPString
3954
+ # customerProfileId - SOAP::SOAPString
3955
+ # customerPaymentProfileId - SOAP::SOAPString
3956
+ # sorting - TransactionListSorting
3957
+ # paging - Paging
3958
+ class GetTransactionListForCustomerRequest
3959
+ include ROXML
3960
+ xml_accessor :merchantAuthentication
3961
+ xml_accessor :refId
3962
+ xml_accessor :customerProfileId
3963
+ xml_accessor :customerPaymentProfileId
3964
+ xml_accessor :sorting, :as => TransactionListSorting
3965
+ xml_accessor :paging, :as => Paging
3966
+
3967
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil, sorting = nil, paging = nil)
3968
+ @merchantAuthentication = merchantAuthentication
3969
+ @refId = refId
3970
+ @customerProfileId = customerProfileId
3971
+ @customerPaymentProfileId = customerPaymentProfileId
3972
+ @sorting = sorting
3973
+ @paging = paging
3974
+ end
3975
+ end
3976
+
3977
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationRequest
3978
+ # merchantAuthentication - MerchantAuthenticationType
3979
+ # refId - SOAP::SOAPString
3980
+ # mobileDevice - MobileDeviceType
3981
+ class MobileDeviceRegistrationRequest
3982
+ include ROXML
3983
+ xml_accessor :merchantAuthentication
3984
+ xml_accessor :refId
3985
+ xml_accessor :mobileDevice
3986
+
3987
+ def initialize(merchantAuthentication = nil, refId = nil, mobileDevice = nil)
3988
+ @merchantAuthentication = merchantAuthentication
3989
+ @refId = refId
3990
+ @mobileDevice = mobileDevice
3991
+ end
3992
+ end
3993
+
3994
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationResponse
3995
+ # refId - SOAP::SOAPString
3996
+ # messages - MessagesType
3997
+ # sessionToken - SOAP::SOAPString
3998
+ class MobileDeviceRegistrationResponse
3999
+ include ROXML
4000
+ xml_accessor :refId
4001
+ xml_accessor :messages, :as => MessagesType
4002
+ xml_accessor :sessionToken
4003
+
4004
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
4005
+ @refId = refId
4006
+ @messages = messages
4007
+ @sessionToken = sessionToken
4008
+ end
4009
+ end
4010
+
4011
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceLoginRequest
4012
+ # merchantAuthentication - MerchantAuthenticationType
4013
+ # refId - SOAP::SOAPString
4014
+ class MobileDeviceLoginRequest
4015
+ include ROXML
4016
+ xml_accessor :merchantAuthentication
4017
+ xml_accessor :refId
4018
+
4019
+ def initialize(merchantAuthentication = nil, refId = nil)
4020
+ @merchantAuthentication = merchantAuthentication
4021
+ @refId = refId
4022
+ end
4023
+ end
4024
+
4025
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceLoginResponse
4026
+ # refId - SOAP::SOAPString
4027
+ # messages - MessagesType
4028
+ # sessionToken - SOAP::SOAPString
4029
+ # merchantContact - MerchantContactType
4030
+ # userPermissions - ArrayOfPermissionType
4031
+ # merchantAccount - TransRetailInfoType
4032
+ class MobileDeviceLoginResponse
4033
+ include ROXML
4034
+ xml_accessor :refId
4035
+ xml_accessor :messages, :as => MessagesType
4036
+ xml_accessor :sessionToken
4037
+ xml_accessor :merchantContact
4038
+ xml_accessor :userPermissions
4039
+ xml_accessor :merchantAccount
4040
+
4041
+ def initialize(refId = nil, messages = nil, sessionToken = nil, merchantContact = nil, userPermissions = nil, merchantAccount = nil)
4042
+ @refId = refId
4043
+ @messages = messages
4044
+ @sessionToken = sessionToken
4045
+ @merchantContact = merchantContact
4046
+ @userPermissions = userPermissions
4047
+ @merchantAccount = merchantAccount
4048
+ end
4049
+ end
4050
+
4051
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}logoutRequest
4052
+ # merchantAuthentication - MerchantAuthenticationType
4053
+ # refId - SOAP::SOAPString
4054
+ class LogoutRequest
4055
+ include ROXML
4056
+ xml_accessor :merchantAuthentication
4057
+ xml_accessor :refId
4058
+
4059
+ def initialize(merchantAuthentication = nil, refId = nil)
4060
+ @merchantAuthentication = merchantAuthentication
4061
+ @refId = refId
4062
+ end
4063
+ end
4064
+
4065
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}logoutResponse
4066
+ # refId - SOAP::SOAPString
4067
+ # messages - MessagesType
4068
+ # sessionToken - SOAP::SOAPString
4069
+ class LogoutResponse
4070
+ include ROXML
4071
+ xml_accessor :refId
4072
+ xml_accessor :messages, :as => MessagesType
4073
+ xml_accessor :sessionToken
4074
+
4075
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
4076
+ @refId = refId
4077
+ @messages = messages
4078
+ @sessionToken = sessionToken
4079
+ end
4080
+ end
4081
+
4082
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}sendCustomerTransactionReceiptRequest
4083
+ # merchantAuthentication - MerchantAuthenticationType
4084
+ # refId - SOAP::SOAPString
4085
+ # transId - (any)
4086
+ # customerEmail - SOAP::SOAPString
4087
+ # emailSettings - EmailSettingsType
4088
+ class SendCustomerTransactionReceiptRequest
4089
+ include ROXML
4090
+ xml_accessor :merchantAuthentication
4091
+ xml_accessor :refId
4092
+ xml_accessor :transId
4093
+ xml_accessor :customerEmail
4094
+ xml_accessor :emailSettings
4095
+
4096
+ def initialize(merchantAuthentication = nil, refId = nil, transId = nil, customerEmail = nil, emailSettings = nil)
4097
+ @merchantAuthentication = merchantAuthentication
4098
+ @refId = refId
4099
+ @transId = transId
4100
+ @customerEmail = customerEmail
4101
+ @emailSettings = emailSettings
4102
+ end
4103
+ end
4104
+
4105
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}sendCustomerTransactionReceiptResponse
4106
+ # refId - SOAP::SOAPString
4107
+ # messages - MessagesType
4108
+ # sessionToken - SOAP::SOAPString
4109
+ class SendCustomerTransactionReceiptResponse
4110
+ include ROXML
4111
+ xml_accessor :refId
4112
+ xml_accessor :messages, :as => MessagesType
4113
+ xml_accessor :sessionToken
4114
+
4115
+ def initialize(refId = nil, messages = nil, sessionToken = nil)
4116
+ @refId = refId
4117
+ @messages = messages
4118
+ @sessionToken = sessionToken
4119
+ end
4120
+ end
4121
+
4122
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListRequest
4123
+ # merchantAuthentication - MerchantAuthenticationType
4124
+ # refId - SOAP::SOAPString
4125
+ # searchType - ARBGetSubscriptionListSearchTypeEnum
4126
+ # sorting - ARBGetSubscriptionListSorting
4127
+ # paging - Paging
4128
+ class ARBGetSubscriptionListRequest
4129
+ include ROXML
4130
+ xml_accessor :merchantAuthentication
4131
+ xml_accessor :refId
4132
+ xml_accessor :searchType
4133
+ xml_accessor :sorting, :as => ARBGetSubscriptionListSorting
4134
+ xml_accessor :paging, :as => Paging
4135
+
4136
+ def initialize(merchantAuthentication = nil, refId = nil, searchType = nil, sorting = nil, paging = nil)
4137
+ @merchantAuthentication = merchantAuthentication
4138
+ @refId = refId
4139
+ @searchType = searchType
4140
+ @sorting = sorting
4141
+ @paging = paging
4142
+ end
4143
+ end
4144
+
4145
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListResponse
4146
+ # refId - SOAP::SOAPString
4147
+ # messages - MessagesType
4148
+ # sessionToken - SOAP::SOAPString
4149
+ # totalNumInResultSet - SOAP::SOAPInt
4150
+ # subscriptionDetails - ArrayOfSubscription
4151
+ class ARBGetSubscriptionListResponse
4152
+ include ROXML
4153
+ xml_accessor :refId
4154
+ xml_accessor :messages, :as => MessagesType
4155
+ xml_accessor :sessionToken
4156
+ xml_accessor :totalNumInResultSet
4157
+ xml_accessor :subscriptionDetails, :as => ArrayOfSubscription
4158
+
4159
+ def initialize(refId = nil, messages = nil, sessionToken = nil, totalNumInResultSet = nil, subscriptionDetails = nil)
4160
+ @refId = refId
4161
+ @messages = messages
4162
+ @sessionToken = sessionToken
4163
+ @totalNumInResultSet = totalNumInResultSet
4164
+ @subscriptionDetails = subscriptionDetails
4165
+ end
4166
+ end
4167
+
4168
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}decryptPaymentDataRequest
4169
+ # merchantAuthentication - MerchantAuthenticationType
4170
+ # refId - SOAP::SOAPString
4171
+ # opaqueData - OpaqueDataType
4172
+ # callId - SOAP::SOAPString
4173
+ class DecryptPaymentDataRequest
4174
+ include ROXML
4175
+ xml_accessor :merchantAuthentication
4176
+ xml_accessor :refId
4177
+ xml_accessor :opaqueData, :as => OpaqueDataType
4178
+ xml_accessor :callId
4179
+
4180
+ def initialize(merchantAuthentication = nil, refId = nil, opaqueData = nil, callId = nil)
4181
+ @merchantAuthentication = merchantAuthentication
4182
+ @refId = refId
4183
+ @opaqueData = opaqueData
4184
+ @callId = callId
4185
+ end
4186
+ end
4187
+
4188
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}decryptPaymentDataResponse
4189
+ # refId - SOAP::SOAPString
4190
+ # messages - MessagesType
4191
+ # sessionToken - SOAP::SOAPString
4192
+ # shippingInfo - CustomerAddressType
4193
+ # billingInfo - CustomerAddressType
4194
+ # cardInfo - CreditCardMaskedType
4195
+ # paymentDetails - PaymentDetails
4196
+ class DecryptPaymentDataResponse
4197
+ include ROXML
4198
+ xml_accessor :refId
4199
+ xml_accessor :messages, :as => MessagesType
4200
+ xml_accessor :sessionToken
4201
+ xml_accessor :shippingInfo, :as => CustomerAddressType
4202
+ xml_accessor :billingInfo, :as => CustomerAddressType
4203
+ xml_accessor :cardInfo, :as => CreditCardMaskedType
4204
+ xml_accessor :paymentDetails, :as => PaymentDetails
4205
+
4206
+ def initialize(refId = nil, messages = nil, sessionToken = nil, shippingInfo = nil, billingInfo = nil, cardInfo = nil, paymentDetails = nil)
4207
+ @refId = refId
4208
+ @messages = messages
4209
+ @sessionToken = sessionToken
4210
+ @shippingInfo = shippingInfo
4211
+ @billingInfo = billingInfo
4212
+ @cardInfo = cardInfo
4213
+ @paymentDetails = paymentDetails
4214
+ end
4215
+ end
4216
+
4217
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}EnumCollection
4218
+ # customerProfileSummaryType - CustomerProfileSummaryType
4219
+ # paymentSimpleType - PaymentSimpleType
4220
+ # accountTypeEnum - AccountTypeEnum
4221
+ # cardTypeEnum - CardTypeEnum
4222
+ # fDSFilterActionEnum - FDSFilterActionEnum
4223
+ # permissionsEnum - PermissionsEnum
4224
+ # settingNameEnum - SettingNameEnum
4225
+ # settlementStateEnum - SettlementStateEnum
4226
+ # transactionStatusEnum - TransactionStatusEnum
4227
+ # transactionTypeEnum - TransactionTypeEnum
4228
+ class EnumCollection
4229
+ include ROXML
4230
+ xml_accessor :customerProfileSummaryType
4231
+ xml_accessor :paymentSimpleType
4232
+ xml_accessor :accountTypeEnum
4233
+ xml_accessor :cardTypeEnum
4234
+ xml_accessor :fDSFilterActionEnum
4235
+ xml_accessor :permissionsEnum
4236
+ xml_accessor :settingNameEnum
4237
+ xml_accessor :settlementStateEnum
4238
+ xml_accessor :transactionStatusEnum
4239
+ xml_accessor :transactionTypeEnum
4240
+
4241
+ def initialize(customerProfileSummaryType = nil, paymentSimpleType = nil, accountTypeEnum = nil, cardTypeEnum = nil, fDSFilterActionEnum = nil, permissionsEnum = nil, settingNameEnum = nil, settlementStateEnum = nil, transactionStatusEnum = nil, transactionTypeEnum = nil)
4242
+ @customerProfileSummaryType = customerProfileSummaryType
4243
+ @paymentSimpleType = paymentSimpleType
4244
+ @accountTypeEnum = accountTypeEnum
4245
+ @cardTypeEnum = cardTypeEnum
4246
+ @fDSFilterActionEnum = fDSFilterActionEnum
4247
+ @permissionsEnum = permissionsEnum
4248
+ @settingNameEnum = settingNameEnum
4249
+ @settlementStateEnum = settlementStateEnum
4250
+ @transactionStatusEnum = transactionStatusEnum
4251
+ @transactionTypeEnum = transactionTypeEnum
4252
+ end
4253
+ end
4254
+
4255
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionRequestType
4256
+ # transactionType - SOAP::SOAPString
4257
+ # amount - SOAP::SOAPDecimal
4258
+ # currencyCode - SOAP::SOAPString
4259
+ # payment - PaymentType
4260
+ # profile - CustomerProfilePaymentType
4261
+ # solution - SolutionType
4262
+ # callId - SOAP::SOAPString
4263
+ # authCode - SOAP::SOAPString
4264
+ # refTransId - SOAP::SOAPString
4265
+ # splitTenderId - SOAP::SOAPString
4266
+ # order - OrderType
4267
+ # lineItems - ArrayOfLineItem
4268
+ # tax - ExtendedAmountType
4269
+ # duty - ExtendedAmountType
4270
+ # shipping - ExtendedAmountType
4271
+ # taxExempt - SOAP::SOAPBoolean
4272
+ # poNumber - SOAP::SOAPString
4273
+ # customer - CustomerDataType
4274
+ # billTo - CustomerAddressType
4275
+ # shipTo - NameAndAddressType
4276
+ # customerIP - SOAP::SOAPString
4277
+ # cardholderAuthentication - CcAuthenticationType
4278
+ # retail - TransRetailInfoType
4279
+ # transactionSettings - ArrayOfSetting
4280
+ # userFields - TransactionRequestType::UserFields
4281
+ class TransactionRequestType
4282
+ include ROXML
4283
+ xml_accessor :transactionType
4284
+ xml_accessor :amount, :as => BigDecimal
4285
+ xml_accessor :currencyCode
4286
+ xml_accessor :payment, :as => PaymentType
4287
+ xml_accessor :profile, :as => CustomerProfilePaymentType
4288
+ xml_accessor :solution, :as => SolutionType
4289
+ xml_accessor :callId
4290
+ xml_accessor :authCode
4291
+ xml_accessor :refTransId
4292
+ xml_accessor :splitTenderId
4293
+ xml_accessor :order, :as => OrderType
4294
+ xml_accessor :lineItems, :as => LineItems
4295
+ xml_accessor :tax, :as => ExtendedAmountType
4296
+ xml_accessor :duty, :as => ExtendedAmountType
4297
+ xml_accessor :shipping, :as => ExtendedAmountType
4298
+ xml_accessor :taxExempt
4299
+ xml_accessor :poNumber
4300
+ xml_accessor :customer, :as => CustomerDataType
4301
+ xml_accessor :billTo, :as => CustomerAddressType
4302
+ xml_accessor :shipTo, :as => NameAndAddressType
4303
+ xml_accessor :customerIP
4304
+ xml_accessor :cardholderAuthentication, :as => CcAuthenticationType
4305
+ xml_accessor :retail, :as => TransRetailInfoType
4306
+ xml_accessor :transactionSettings, :as => Settings
4307
+ xml_accessor :userFields, :as => UserFields
4308
+
4309
+ def initialize(transactionType = nil, amount = nil, currencyCode = nil, payment = nil, profile = nil, solution = nil, callId = 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)
4310
+ @transactionType = transactionType
4311
+ @amount = amount
4312
+ @currencyCode = currencyCode
4313
+ @payment = payment
4314
+ @profile = profile
4315
+ @solution = solution
4316
+ @callId = callId
4317
+ @authCode = authCode
4318
+ @refTransId = refTransId
4319
+ @splitTenderId = splitTenderId
4320
+ @order = order
4321
+ @lineItems = lineItems
4322
+ @tax = tax
4323
+ @duty = duty
4324
+ @shipping = shipping
4325
+ @taxExempt = taxExempt
4326
+ @poNumber = poNumber
4327
+ @customer = customer
4328
+ @billTo = billTo
4329
+ @shipTo = shipTo
4330
+ @customerIP = customerIP
4331
+ @cardholderAuthentication = cardholderAuthentication
4332
+ @retail = retail
4333
+ @transactionSettings = transactionSettings
4334
+ @userFields = userFields
4335
+ end
4336
+ end
4337
+
4338
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createTransactionRequest
4339
+ # merchantAuthentication - MerchantAuthenticationType
4340
+ # refId - SOAP::SOAPString
4341
+ # transactionRequest - TransactionRequestType
4342
+ class CreateTransactionRequest
4343
+ include ROXML
4344
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
4345
+ xml_accessor :refId
4346
+ xml_accessor :transactionRequest, :as => TransactionRequestType
4347
+
4348
+ def initialize(merchantAuthentication = nil, refId = nil, transactionRequest = nil)
4349
+ @merchantAuthentication = merchantAuthentication
4350
+ @refId = refId
4351
+ @transactionRequest = transactionRequest
4352
+ end
4353
+ end
4354
+
4355
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createTransactionResponse
4356
+ # refId - SOAP::SOAPString
4357
+ # messages - MessagesType
4358
+ # sessionToken - SOAP::SOAPString
4359
+ # transactionResponse - TransactionResponse
4360
+ # profileResponse - CreateProfileResponse
4361
+ class CreateTransactionResponse
4362
+ include ROXML
4363
+ xml_accessor :refId
4364
+ xml_accessor :messages, :as => MessagesType
4365
+ xml_accessor :sessionToken
4366
+ xml_accessor :transactionResponse, :as => TransactionResponse
4367
+ xml_accessor :profileResponse, :as => CreateProfileResponse
4368
+
4369
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transactionResponse = nil, profileResponse = nil)
4370
+ @refId = refId
4371
+ @messages = messages
4372
+ @sessionToken = sessionToken
4373
+ @transactionResponse = transactionResponse
4374
+ @profileResponse = profileResponse
4375
+ end
4376
+ end
4377
+
4378
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileListItemType
4379
+ # customerPaymentProfileId - SOAP::SOAPInt
4380
+ # customerProfileId - SOAP::SOAPInt
4381
+ # billTo - CustomerAddressType
4382
+ # payment - PaymentMaskedType
4383
+ class CustomerPaymentProfileListItemType
4384
+ include ROXML
4385
+ xml_accessor :defaultPaymentProfile
4386
+ xml_accessor :customerPaymentProfileId
4387
+ xml_accessor :customerProfileId
4388
+ xml_accessor :billTo, :as => CustomerAddressType
4389
+ xml_accessor :payment, :as => PaymentMaskedType
4390
+
4391
+ def initialize(customerPaymentProfileId = nil, customerProfileId = nil, billTo = nil, payment = nil, defaultPaymentProfile = nil)
4392
+ @customerPaymentProfileId = customerPaymentProfileId
4393
+ @customerProfileId = customerProfileId
4394
+ @billTo = billTo
4395
+ @payment = payment
4396
+ @defaultPaymentProfile = defaultPaymentProfile
4397
+ end
4398
+ end
4399
+
4400
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfCustomerPaymentProfileListItemType
4401
+ class ArrayOfCustomerPaymentProfileListItemType < ::Array
4402
+ include ROXML
4403
+ xml_accessor :paymentProfile, :as => [CustomerPaymentProfileListItemType]
4404
+
4405
+ def initialize(paymentProfile = [])
4406
+ @paymentProfile = paymentProfile
4407
+ end
4408
+ end
4409
+
4410
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}CustomerPaymentProfileOrderFieldEnum
4411
+ class CustomerPaymentProfileOrderFieldEnum < ::String
4412
+ Id = CustomerPaymentProfileOrderFieldEnum.new("id")
4413
+ end
4414
+
4415
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}CustomerPaymentProfileSearchTypeEnum
4416
+ class CustomerPaymentProfileSearchTypeEnum < ::String
4417
+ CardsExpiringInMonth = CustomerPaymentProfileSearchTypeEnum.new("cardsExpiringInMonth")
4418
+ end
4419
+
4420
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}CustomerPaymentProfileSorting
4421
+ # orderBy - CustomerPaymentProfileOrderFieldEnum
4422
+ # orderDescending - SOAP::SOAPBoolean
4423
+ class CustomerPaymentProfileSorting
4424
+ include ROXML
4425
+ xml_accessor :orderBy
4426
+ xml_accessor :orderDescending
4427
+
4428
+ def initialize(orderBy = nil, orderDescending = nil)
4429
+ @orderBy = orderBy
4430
+ @orderDescending = orderDescending
4431
+ end
4432
+ end
4433
+
4434
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileListRequest
4435
+ # merchantAuthentication - MerchantAuthenticationType
4436
+ # refId - SOAP::SOAPString
4437
+ # searchType - CustomerPaymentProfileSearchTypeEnum
4438
+ # month - SOAP::SOAPString
4439
+ # sorting - CustomerPaymentProfileSorting
4440
+ # paging - Paging
4441
+ class GetCustomerPaymentProfileListRequest
4442
+ include ROXML
4443
+ xml_accessor :merchantAuthentication
4444
+ xml_accessor :refId
4445
+ xml_accessor :searchType
4446
+ xml_accessor :month
4447
+ xml_accessor :sorting, :as => CustomerPaymentProfileSorting
4448
+ xml_accessor :paging, :as => Paging
4449
+
4450
+ def initialize(merchantAuthentication = nil, refId = nil, searchType = nil, month = nil, sorting = nil, paging = nil)
4451
+ @merchantAuthentication = merchantAuthentication
4452
+ @refId = refId
4453
+ @searchType = searchType
4454
+ @month = month
4455
+ @sorting = sorting
4456
+ @paging = paging
4457
+ end
4458
+ end
4459
+
4460
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileListResponse
4461
+ # refId - SOAP::SOAPString
4462
+ # messages - MessagesType
4463
+ # sessionToken - SOAP::SOAPString
4464
+ # totalNumInResultSet - SOAP::SOAPInt
4465
+ # paymentProfiles - ArrayOfCustomerPaymentProfileListItemType
4466
+
4467
+ class GetCustomerPaymentProfileListResponse
4468
+ include ROXML
4469
+ xml_accessor :refId
4470
+ xml_accessor :messages, :as => MessagesType
4471
+ xml_accessor :sessionToken
4472
+ xml_accessor :totalNumInResultSet
4473
+ xml_accessor :paymentProfiles, :as => ArrayOfCustomerPaymentProfileListItemType
4474
+
4475
+ def initialize(refId = nil, messages = nil, sessionToken = nil, totalNumInResultSet = nil, paymentProfiles = [])
4476
+ @refId = refId
4477
+ @messages = messages
4478
+ @sessionToken = sessionToken
4479
+ @totalNumInResultSet = totalNumInResultSet
4480
+ @paymentProfiles = paymentProfiles
4481
+ end
4482
+ end
4483
+
4484
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}subscriptionCustomerProfileType
4485
+ # merchantCustomerId - SOAP::SOAPString
4486
+ # description - SOAP::SOAPString
4487
+ # email - SOAP::SOAPString
4488
+ # customerProfileId - (any)
4489
+ # paymentProfile - CustomerPaymentProfileMaskedType
4490
+ # shippingProfile - CustomerAddressExType
4491
+ class SubscriptionCustomerProfileType
4492
+ include ROXML
4493
+ xml_accessor :merchantCustomerId
4494
+ xml_accessor :description
4495
+ xml_accessor :email
4496
+ xml_accessor :customerProfileId
4497
+ xml_accessor :paymentProfile, :as => CustomerPaymentProfileMaskedType
4498
+ xml_accessor :shippingProfile, :as => CustomerAddressExType
4499
+
4500
+ def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil, paymentProfile = nil, shippingProfile = nil)
4501
+ @merchantCustomerId = merchantCustomerId
4502
+ @description = description
4503
+ @email = email
4504
+ @customerProfileId = customerProfileId
4505
+ @paymentProfile = paymentProfile
4506
+ @shippingProfile = shippingProfile
4507
+ end
4508
+ end
4509
+
4510
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionMaskedType
4511
+ # name - SOAP::SOAPString
4512
+ # paymentSchedule - PaymentScheduleType
4513
+ # amount - SOAP::SOAPDecimal
4514
+ # trialAmount - SOAP::SOAPDecimal
4515
+ # status - ARBSubscriptionStatusEnum
4516
+ # profile - SubscriptionCustomerProfileType
4517
+ # order - OrderType
4518
+ class ARBSubscriptionMaskedType
4519
+ include ROXML
4520
+ xml_accessor :name
4521
+ xml_accessor :paymentSchedule, :as => PaymentScheduleType
4522
+ xml_accessor :amount, :as => BigDecimal
4523
+ xml_accessor :trialAmount, :as => BigDecimal
4524
+ xml_accessor :status
4525
+ xml_accessor :profile, :as => SubscriptionCustomerProfileType
4526
+ xml_accessor :order, :as => OrderType
4527
+
4528
+ def initialize(name = nil, paymentSchedule = nil, amount = nil, trialAmount = nil, status = nil, profile = nil, order = nil)
4529
+ @name = name
4530
+ @paymentSchedule = paymentSchedule
4531
+ @amount = amount
4532
+ @trialAmount = trialAmount
4533
+ @status = status
4534
+ @profile = profile
4535
+ @order = order
4536
+ end
4537
+ end
4538
+
4539
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionRequest
4540
+ # merchantAuthentication - MerchantAuthenticationType
4541
+ # refId - SOAP::SOAPString
4542
+ # subscriptionId - (any)
4543
+ class ARBGetSubscriptionRequest
4544
+ include ROXML
4545
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
4546
+ xml_accessor :refId
4547
+ xml_accessor :subscriptionId
4548
+
4549
+ def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil)
4550
+ @merchantAuthentication = merchantAuthentication
4551
+ @refId = refId
4552
+ @subscriptionId = subscriptionId
4553
+ end
4554
+ end
4555
+
4556
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionResponse
4557
+ # refId - SOAP::SOAPString
4558
+ # messages - MessagesType
4559
+ # sessionToken - SOAP::SOAPString
4560
+ # subscription - ARBSubscriptionMaskedType
4561
+ class ARBGetSubscriptionResponse
4562
+ include ROXML
4563
+ xml_accessor :refId
4564
+ xml_accessor :messages, :as => MessagesType
4565
+ xml_accessor :sessionToken
4566
+ xml_accessor :subscription, :as => ARBSubscriptionMaskedType
4567
+
4568
+ def initialize(refId = nil, messages = nil, sessionToken = nil, subscription = nil)
4569
+ @refId = refId
4570
+ @messages = messages
4571
+ @sessionToken = sessionToken
4572
+ @subscription = subscription
4573
+ end
4574
+ end
4575
+
4576
+
4577
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUResponseType
4578
+ class AUResponseType
4579
+ include ROXML
4580
+ xml_accessor :auReasonCode
4581
+ xml_accessor :profileCount
4582
+ xml_accessor :reasonDescription
4583
+
4584
+ def initialize(auReasonCode = nil, profileCount = nil, reasonDescription = nil)
4585
+ @auReasonCode = auReasonCode
4586
+ @profileCount = profileCount
4587
+ @reasonDescription = reasonDescription
4588
+ end
4589
+ end
4590
+
4591
+
4592
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfAUResponseType
4593
+ class ArrayOfAUResponseType < ::Array
4594
+ include ROXML
4595
+ xml_accessor :auResponse, :as => [AUResponseType]
4596
+
4597
+ def initialize(auResponse = [])
4598
+ @auResponse = auResponse
4599
+ end
4600
+ end
4601
+
4602
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUUpdateType
4603
+ class AUUpdateType
4604
+ include ROXML
4605
+ xml_accessor :customerProfileID
4606
+ xml_accessor :customerPaymentProfileID
4607
+ xml_accessor :firstName
4608
+ xml_accessor :lastName
4609
+ xml_accessor :updateTimeUTC
4610
+ xml_accessor :auReasonCode
4611
+ xml_accessor :reasonDescription
4612
+ xml_accessor :newCreditCard, :as => CreditCardMaskedType
4613
+ xml_accessor :oldCreditCard, :as => CreditCardMaskedType
4614
+
4615
+ def initialize(customerProfileID = nil, customerPaymentProfileID = nil, firstName = nil, lastName = nil, updateTimeUTC = nil, auReasonCode = nil, reasonDescription = nil, newCreditCard = nil, oldCreditCard = nil)
4616
+ @customerProfileID = customerProfileID
4617
+ @customerPaymentProfileID = customerPaymentProfileID
4618
+ @firstName = firstName
4619
+ @lastName = lastName
4620
+ @updateTimeUTC = updateTimeUTC
4621
+ @auReasonCode = auReasonCode
4622
+ @reasonDescription = reasonDescription
4623
+ @newCreditCard = newCreditCard
4624
+ @oldCreditCard = oldCreditCard
4625
+ end
4626
+ end
4627
+
4628
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUDeleteType
4629
+ class AUDeleteType
4630
+ include ROXML
4631
+ xml_accessor :customerProfileID
4632
+ xml_accessor :customerPaymentProfileID
4633
+ xml_accessor :firstName
4634
+ xml_accessor :lastName
4635
+ xml_accessor :updateTimeUTC
4636
+ xml_accessor :auReasonCode
4637
+ xml_accessor :reasonDescription
4638
+ xml_accessor :creditCard, :as => CreditCardMaskedType
4639
+
4640
+ def initialize(customerProfileID = nil, customerPaymentProfileID = nil, firstName = nil, lastName = nil, updateTimeUTC = nil, auReasonCode = nil, reasonDescription = nil, creditCard = nil)
4641
+ @customerProfileID = customerProfileID
4642
+ @customerPaymentProfileID = customerPaymentProfileID
4643
+ @firstName = firstName
4644
+ @lastName = lastName
4645
+ @updateTimeUTC = updateTimeUTC
4646
+ @auReasonCode = auReasonCode
4647
+ @reasonDescription = reasonDescription
4648
+ @creditCard = creditCard
4649
+ end
4650
+ end
4651
+
4652
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUDetailsType
4653
+ class AUDetailsType
4654
+ include ROXML
4655
+ xml_accessor :customerProfileID
4656
+ xml_accessor :customerPaymentProfileID
4657
+ xml_accessor :firstName
4658
+ xml_accessor :lastName
4659
+ xml_accessor :updateTimeUTC
4660
+ xml_accessor :auReasonCode
4661
+ xml_accessor :reasonDescription
4662
+
4663
+ def initialize(customerProfileID = nil, customerPaymentProfileID = nil, firstName = nil, lastName = nil, updateTimeUTC = nil, auReasonCode = nil, reasonDescription = nil)
4664
+ @customerProfileID = customerProfileID
4665
+ @customerPaymentProfileID = customerPaymentProfileID
4666
+ @firstName = firstName
4667
+ @lastName = lastName
4668
+ @updateTimeUTC = updateTimeUTC
4669
+ @auReasonCode = auReasonCode
4670
+ @reasonDescription = reasonDescription
4671
+ end
4672
+ end
4673
+
4674
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ListOfAUDetailsType
4675
+ class ListOfAUDetailsType
4676
+ include ROXML
4677
+ xml_accessor :auUpdate, :as => AUUpdateType
4678
+ xml_accessor :auDelete, :as => AUDeleteType
4679
+
4680
+ def initialize(auUpdate = nil, auDelete = nil)
4681
+ @auUpdate = auUpdate
4682
+ @auDelete = auDelete
4683
+ end
4684
+ end
4685
+
4686
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUJobTypeEnum
4687
+ class AUJobTypeEnum < ::String
4688
+ All = BankAccountTypeEnum.new("all")
4689
+ Updates = BankAccountTypeEnum.new("updates")
4690
+ Deletes = BankAccountTypeEnum.new("deletes")
4691
+ end
4692
+
4693
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobSummaryRequest
4694
+ # refId - SOAP::SOAPString
4695
+ # messages - MessagesType
4696
+ # month - SOAP::SOAPString
4697
+ class GetAUJobSummaryRequest
4698
+ include ROXML
4699
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
4700
+ xml_accessor :refId
4701
+ xml_accessor :month
4702
+
4703
+ def initialize(merchantAuthentication = nil, refId = nil, month = nil)
4704
+ @merchantAuthentication = merchantAuthentication
4705
+ @refId = refId
4706
+ @month = month
4707
+ end
4708
+ end
4709
+
4710
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobSummaryResponse
4711
+ # refId - SOAP::SOAPString
4712
+ # messages - MessagesType
4713
+ # sessionToken - SOAP::SOAPString
4714
+ # auSummary - ARBSubscriptionMaskedType
4715
+ class GetAUJobSummaryResponse
4716
+ include ROXML
4717
+ xml_accessor :refId
4718
+ xml_accessor :messages, :as => MessagesType
4719
+ xml_accessor :sessionToken
4720
+ xml_accessor :auSummary, :as => ArrayOfAUResponseType
4721
+
4722
+ def initialize(refId = nil, messages = nil, sessionToken = nil, auSummary = nil)
4723
+ @refId = refId
4724
+ @messages = messages
4725
+ @sessionToken = sessionToken
4726
+ @auSummary = auSummary
4727
+ end
4728
+ end
4729
+
4730
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobDetailsRequest
4731
+ # refId - SOAP::SOAPString
4732
+ # messages - MessagesType
4733
+ # month - SOAP::SOAPString
4734
+ # modifiedTypeFilter - AUJobTypeEnum
4735
+ # paging - Paging
4736
+ class GetAUJobDetailsRequest
4737
+ include ROXML
4738
+ xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
4739
+ xml_accessor :refId
4740
+ xml_accessor :month
4741
+ xml_accessor :modifiedTypeFilter
4742
+ xml_accessor :paging, :as => Paging
4743
+
4744
+ def initialize(merchantAuthentication = nil, refId = nil, month = nil, modifiedTypeFilter = nil, paging = nil)
4745
+ @merchantAuthentication = merchantAuthentication
4746
+ @refId = refId
4747
+ @month = month
4748
+ @modifiedTypeFilter = modifiedTypeFilter
4749
+ @paging = paging
4750
+ end
4751
+ end
4752
+
4753
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobDetailsResponse
4754
+ # refId - SOAP::SOAPString
4755
+ # messages - MessagesType
4756
+ # sessionToken - SOAP::SOAPString
4757
+ # totalNumInResultSet - ListOfAUDetailsType
4758
+ # auDetails - SOAP::SOAPInt
4759
+ class GetAUJobDetailsResponse
4760
+ include ROXML
4761
+ xml_accessor :refId
4762
+ xml_accessor :messages, :as => MessagesType
4763
+ xml_accessor :sessionToken
4764
+ xml_accessor :totalNumInResultSet, :as => Integer
4765
+ xml_accessor :auDetails, :as => [ListOfAUDetailsType]
4766
+
4767
+ def initialize(refId = nil, messages = nil, sessionToken = nil, totalNumInResultSet = nil, auDetails = [])
4768
+ @refId = refId
4769
+ @messages = messages
4770
+ @sessionToken = sessionToken
4771
+ @totalNumInResultSet = totalNumInResultSet
4772
+ @auDetails = auDetails
4773
+ end
4774
+ end
4775
+
4776
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getMerchantDetailsRequest
4777
+ # merchantAuthentication - MerchantAuthenticationType
4778
+ # refId - SOAP::SOAPString
4779
+ class GetMerchantDetailsRequest
4780
+ include ROXML
4781
+ xml_accessor :merchantAuthentication
4782
+ xml_accessor :refId
4783
+
4784
+ def initialize(merchantAuthentication = nil, refId = nil)
4785
+ @merchantAuthentication = merchantAuthentication
4786
+ @refId = refId
4787
+ end
4788
+ end
4789
+
4790
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ProcessorType
4791
+ class ProcessorType
4792
+ include ROXML
4793
+ xml_accessor :name
4794
+
4795
+ def initialize(name = nil)
4796
+ @name = name
4797
+ end
4798
+ end
4799
+
4800
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfProcessorType
4801
+ class ArrayOfProcessorType < ::Array
4802
+ include ROXML
4803
+ xml_accessor :processor, :as => [ProcessorType]
4804
+
4805
+ def initialize(processor = [])
4806
+ @processor = processor
4807
+ end
4808
+ end
4809
+
4810
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfMarketType
4811
+ class ArrayOfMarketType < ::Array
4812
+ include ROXML
4813
+ xml_accessor :marketType
4814
+ def initialize(marketType = [])
4815
+ @marketType = marketType
4816
+ end
4817
+ end
4818
+
4819
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfProductCode
4820
+ class ArrayOfProductCode < ::Array
4821
+ include ROXML
4822
+ xml_accessor :productCode
4823
+
4824
+ def initialize(productCode = [])
4825
+ @productCode = productCode
4826
+ end
4827
+ end
4828
+
4829
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}PaymentMethodsTypeEnum
4830
+ class PaymentMethodsTypeEnum < ::String
4831
+ Visa = PaymentMethodsTypeEnum.new("Visa")
4832
+ MasterCard = PaymentMethodsTypeEnum.new("MasterCard")
4833
+ Discover = PaymentMethodsTypeEnum.new("Discover")
4834
+ AmericanExpress = PaymentMethodsTypeEnum.new("AmericanExpress")
4835
+ DinersClub = PaymentMethodsTypeEnum.new("DinersClub")
4836
+ JCB = PaymentMethodsTypeEnum.new("JCB")
4837
+ EnRoute = PaymentMethodsTypeEnum.new("EnRoute")
4838
+ Echeck = PaymentMethodsTypeEnum.new("Echeck")
4839
+ Paypal = PaymentMethodsTypeEnum.new("Paypal")
4840
+ VisaCheckout = PaymentMethodsTypeEnum.new("VisaCheckout")
4841
+ ApplePay = PaymentMethodsTypeEnum.new("ApplePay")
4842
+ AndroidPay = PaymentMethodsTypeEnum.new("AndroidPay")
4843
+ end
4844
+
4845
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfPaymentMethod
4846
+ class ArrayOfPaymentMethod < ::Array
4847
+ include ROXML
4848
+ xml_accessor :paymentMethod
4849
+
4850
+ def initialize(paymentMethod = [])
4851
+ @paymentMethod = paymentMethod
4852
+ end
4853
+ end
4854
+
4855
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfCurrencyCode
4856
+ class ArrayOfCurrencyCode < ::Array
4857
+ include ROXML
4858
+ xml_accessor :currency
4859
+
4860
+ def initialize(currency = [])
4861
+ @currency = currency
4862
+ end
4863
+ end
4864
+
4865
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getMerchantDetailsResponse
4866
+ class GetMerchantDetailsResponse
4867
+ include ROXML
4868
+ xml_accessor :refId
4869
+ xml_accessor :messages, :as => MessagesType
4870
+ xml_accessor :sessionToken
4871
+ xml_accessor :isTestMode
4872
+ xml_accessor :processors, :as => ArrayOfProcessorType
4873
+ xml_accessor :merchantName
4874
+ xml_accessor :gatewayId
4875
+ xml_accessor :marketTypes, :as => ArrayOfMarketType
4876
+ xml_accessor :productCodes, :as => ArrayOfProductCode
4877
+ xml_accessor :paymentMethods, :as => ArrayOfPaymentMethod
4878
+ xml_accessor :currencies, :as => ArrayOfCurrencyCode
4879
+
4880
+ def initialize(refId = nil, messages = nil, sessionToken = nil, isTestMode = nil, processors = nil, merchantName = nil, gatewayId = nil, marketTypes = nil, productCodes = nil, paymentMethods = nil, currencies = nil)
4881
+ @refId = refId
4882
+ @messages = messages
4883
+ @sessionToken = sessionToken
4884
+ @isTestMode = isTestMode
4885
+ @processors = processors
4886
+ @merchantName = merchantName
4887
+ @gatewayId = gatewayId
4888
+ @marketTypes = marketTypes
4889
+ @productCodes = productCodes
4890
+ @paymentMethods = paymentMethods
4891
+ @currencies = currencies
4892
+ end
4893
+ end
4894
+
4895
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}PaymentMethodsTypeEnum
4896
+ class AfdsTransactionEnum < ::String
4897
+ Approve = AfdsTransactionEnum.new("approve")
4898
+ Decline = AfdsTransactionEnum.new("decline")
4899
+ end
4900
+
4901
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}HeldTransactionRequestType
4902
+ class HeldTransactionRequestType
4903
+ include ROXML
4904
+ xml_accessor :action
4905
+ xml_accessor :refTransId
4906
+
4907
+ def initialize(action = nil, refTransId = nil)
4908
+ @action = action
4909
+ @refTransId = refTransId
4910
+ end
4911
+ end
4912
+
4913
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}UpdateHeldTransactionRequest
4914
+ # merchantAuthentication - MerchantAuthenticationType
4915
+ # refId - SOAP::SOAPString
4916
+ class UpdateHeldTransactionRequest
4917
+ include ROXML
4918
+ xml_accessor :merchantAuthentication
4919
+ xml_accessor :refId
4920
+ xml_accessor :heldTransactionRequest, :as => HeldTransactionRequestType
4921
+
4922
+ def initialize(merchantAuthentication = nil, refId = nil)
4923
+ @merchantAuthentication = merchantAuthentication
4924
+ @refId = refId
4925
+ end
4926
+ end
4927
+
4928
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}UpdateHeldTransactionResponse
4929
+ # refId - SOAP::SOAPString
4930
+ # messages - MessagesType
4931
+ # sessionToken - SOAP::SOAPString
4932
+ # transactionResponse - TransactionResponse
4933
+ # profileResponse - CreateProfileResponse
4934
+ class UpdateHeldTransactionResponse
4935
+ include ROXML
4936
+ xml_accessor :refId
4937
+ xml_accessor :messages, :as => MessagesType
4938
+ xml_accessor :sessionToken
4939
+ xml_accessor :transactionResponse, :as => TransactionResponse
4940
+
4941
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transactionResponse = nil)
4942
+ @refId = refId
4943
+ @messages = messages
4944
+ @sessionToken = sessionToken
4945
+ @transactionResponse = transactionResponse
4946
+ end
4947
+ end
4948
+
4949
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetHostedPaymentPageRequest
4950
+ # merchantAuthentication - MerchantAuthenticationType
4951
+ # refId - SOAP::SOAPString
4952
+ class GetHostedPaymentPageRequest
4953
+ include ROXML
4954
+ xml_accessor :merchantAuthentication
4955
+ xml_accessor :refId
4956
+ xml_accessor :transactionRequest, :as => TransactionRequestType
4957
+ xml_accessor :hostedPaymentSettings, :as => Settings
4958
+
4959
+ def initialize(merchantAuthentication = nil, refId = nil, transactionRequest = nil, hostedPaymentSettings = nil)
4960
+ @merchantAuthentication = merchantAuthentication
4961
+ @refId = refId
4962
+ @transactionRequest = transactionRequest
4963
+ @hostedPaymentSettings = hostedPaymentSettings
4964
+ end
4965
+ end
4966
+
4967
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetHostedPaymentPageRequest
4968
+ # merchantAuthentication - MerchantAuthenticationType
4969
+ # refId - SOAP::SOAPString
4970
+ class GetHostedPaymentPageResponse
4971
+ include ROXML
4972
+ xml_accessor :refId
4973
+ xml_accessor :messages, :as => MessagesType
4974
+ xml_accessor :sessionToken
4975
+ xml_accessor :token
4976
+
4977
+ def initialize(refId = nil, messages = nil, sessionToken = nil, token = nil)
4978
+ @refId = refId
4979
+ @messages = messages
4980
+ @sessionToken = sessionToken
4981
+ @token = token
4982
+ end
4983
+ end
4984
+
4985
+ end