Completed
Push — master ( b6ab90...381106 )
by
unknown
01:46 queued 50s
created

ARBTransactionList.initialize()   A

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 3
Ratio 100 %

Importance

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