Completed
Push — master ( 7be71f...763598 )
by
unknown
9s
created

EmvResponse.initialize()   A

Complexity

Conditions 1

Size

Total Lines 4

Duplication

Lines 4
Ratio 100 %

Importance

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