Completed
Pull Request — master (#87)
by
unknown
01:48
created

SubscriptionIdList   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %
Metric Value
dl 0
loc 8
rs 10
wmc 1

1 Method

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