Completed
Pull Request — master (#107)
by
unknown
03:53
created

GetTransactionListForCustomerRequest.initialize()   A

Complexity

Conditions 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

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