Code Duplication    Length = 18-19 lines in 2 locations

lib/authorize_net/api/schema.rb 2 locations

@@ 1750-1768 (lines=19) @@
1747
    xml_accessor :fraudInformation
1748
	xml_accessor :profile, :as => CustomerProfileIdType
1749
  
1750
    def initialize(transId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionStatus = nil, invoiceNumber = nil, firstName = nil, lastName = nil, accountType = nil, accountNumber = nil, settleAmount = nil, marketType = nil, product = nil, mobileDeviceId = nil, subscription = nil, hasReturnedItems = nil, fraudInformation = nil, profile = nil)
1751
      @transId = transId
1752
      @submitTimeUTC = submitTimeUTC
1753
      @submitTimeLocal = submitTimeLocal
1754
      @transactionStatus = transactionStatus
1755
      @invoiceNumber = invoiceNumber
1756
      @firstName = firstName
1757
      @lastName = lastName
1758
      @accountType = accountType
1759
      @accountNumber = accountNumber
1760
      @settleAmount = settleAmount
1761
      @marketType = marketType
1762
      @product = product
1763
      @mobileDeviceId = mobileDeviceId
1764
      @subscription = subscription
1765
      @hasReturnedItems = hasReturnedItems
1766
      @fraudInformation = fraudInformation
1767
	  @profile = profile
1768
    end
1769
  end
1770
1771
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}arbTransaction
@@ 2546-2563 (lines=18) @@
2543
    xml_accessor :customerPaymentProfileId
2544
    xml_accessor :customerShippingProfileId
2545
  
2546
    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)
2547
      @id = id
2548
      @name = name
2549
      @status = status
2550
      @createTimeStampUTC = createTimeStampUTC
2551
      @firstName = firstName
2552
      @lastName = lastName
2553
      @totalOccurrences = totalOccurrences
2554
      @pastOccurrences = pastOccurrences
2555
      @paymentMethod = paymentMethod
2556
      @accountNumber = accountNumber
2557
      @invoice = invoice
2558
      @amount = amount
2559
      @currencyCode = currencyCode
2560
      @customerProfileId = customerProfileId
2561
      @customerPaymentProfileId = customerPaymentProfileId
2562
      @customerShippingProfileId = customerShippingProfileId
2563
    end
2564
  end
2565
  
2566
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSubscription