Code Duplication    Length = 17-18 lines in 2 locations

lib/authorize_net/api/schema.rb 2 locations

@@ 2426-2443 (lines=18) @@
2423
    xml_accessor :customerPaymentProfileId
2424
    xml_accessor :customerShippingProfileId
2425
  
2426
    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)
2427
      @id = id
2428
      @name = name
2429
      @status = status
2430
      @createTimeStampUTC = createTimeStampUTC
2431
      @firstName = firstName
2432
      @lastName = lastName
2433
      @totalOccurrences = totalOccurrences
2434
      @pastOccurrences = pastOccurrences
2435
      @paymentMethod = paymentMethod
2436
      @accountNumber = accountNumber
2437
      @invoice = invoice
2438
      @amount = amount
2439
      @currencyCode = currencyCode
2440
      @customerProfileId = customerProfileId
2441
      @customerPaymentProfileId = customerPaymentProfileId
2442
      @customerShippingProfileId = customerShippingProfileId
2443
    end
2444
  end
2445
  
2446
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSubscription
@@ 1673-1689 (lines=17) @@
1670
    xml_accessor :subscription
1671
    xml_accessor :hasReturnedItems
1672
  
1673
    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)
1674
      @transId = transId
1675
      @submitTimeUTC = submitTimeUTC
1676
      @submitTimeLocal = submitTimeLocal
1677
      @transactionStatus = transactionStatus
1678
      @invoiceNumber = invoiceNumber
1679
      @firstName = firstName
1680
      @lastName = lastName
1681
      @accountType = accountType
1682
      @accountNumber = accountNumber
1683
      @settleAmount = settleAmount
1684
      @marketType = marketType
1685
      @product = product
1686
      @mobileDeviceId = mobileDeviceId
1687
      @subscription = subscription
1688
      @hasReturnedItems = hasReturnedItems
1689
    end
1690
  end
1691
1692
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfTransactionSummaryType