Completed
Pull Request — master (#132)
by
unknown
01:15
created

ArbTransaction.initialize()   A

Complexity

Conditions 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

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