Code Duplication    Length = 18-20 lines in 2 locations

lib/authorize_net/api/schema.rb 2 locations

@@ 347-366 (lines=20) @@
344
  #   accountNumber - SOAP::SOAPString
345
  #   nameOnAccount - SOAP::SOAPString
346
  #   echeckType - EcheckTypeEnum
347
  #   bankName - SOAP::SOAPString
348
  #   checkNumber - SOAP::SOAPString
349
  class BankAccountType
350
    include ROXML
351
    xml_accessor :accountType
352
    xml_accessor :routingNumber
353
    xml_accessor :accountNumber
354
    xml_accessor :nameOnAccount
355
    xml_accessor :echeckType
356
    xml_accessor :bankName
357
    xml_accessor :checkNumber
358
  
359
    def initialize(accountType = nil, routingNumber = nil, accountNumber = nil, nameOnAccount = nil, echeckType = nil, bankName = nil, checkNumber = nil)
360
      @accountType = accountType
361
      @routingNumber = routingNumber
362
      @accountNumber = accountNumber
363
      @nameOnAccount = nameOnAccount
364
      @echeckType = echeckType
365
      @bankName = bankName
366
      @checkNumber = checkNumber
367
    end
368
  end
369
  
@@ 375-392 (lines=18) @@
372
  #   routingNumber - SOAP::SOAPString
373
  #   accountNumber - SOAP::SOAPString
374
  #   nameOnAccount - SOAP::SOAPString
375
  #   echeckType - EcheckTypeEnum
376
  #   bankName - SOAP::SOAPString
377
  class BankAccountMaskedType
378
    include ROXML
379
    xml_accessor :accountType
380
    xml_accessor :routingNumber
381
    xml_accessor :accountNumber
382
    xml_accessor :nameOnAccount
383
    xml_accessor :echeckType
384
    xml_accessor :bankName
385
  
386
    def initialize(accountType = nil, routingNumber = nil, accountNumber = nil, nameOnAccount = nil, echeckType = nil, bankName = nil)
387
      @accountType = accountType
388
      @routingNumber = routingNumber
389
      @accountNumber = accountNumber
390
      @nameOnAccount = nameOnAccount
391
      @echeckType = echeckType
392
      @bankName = bankName
393
    end
394
  end
395