Code Duplication    Length = 10-10 lines in 3 locations

lib/authorize_net/api/schema.rb 3 locations

@@ 1654-1663 (lines=10) @@
1651
      @customerShippingAddressId = customerShippingAddressId
1652
      @transId = transId
1653
    end
1654
  end
1655
  
1656
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransactionType
1657
  #   profileTransAuthCapture - ProfileTransAuthCaptureType
1658
  #   profileTransAuthOnly - ProfileTransAuthOnlyType
1659
  #   profileTransPriorAuthCapture - ProfileTransPriorAuthCaptureType
1660
  #   profileTransCaptureOnly - ProfileTransCaptureOnlyType
1661
  #   profileTransRefund - ProfileTransRefundType
1662
  #   profileTransVoid - ProfileTransVoidType
1663
  class ProfileTransactionType
1664
    include ROXML
1665
    xml_accessor :profileTransAuthCapture
1666
    xml_accessor :profileTransAuthOnly
@@ 4672-4681 (lines=10) @@
4669
    include ROXML
4670
    xml_accessor :auReasonCode
4671
    xml_accessor :profileCount
4672
    xml_accessor :reasonDescription
4673
    
4674
    def initialize(auReasonCode = nil, profileCount = nil, reasonDescription = nil)
4675
      @auReasonCode = auReasonCode
4676
      @profileCount = profileCount
4677
      @reasonDescription = reasonDescription
4678
    end
4679
  end
4680
  
4681
4682
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfAUResponseType
4683
  class ArrayOfAUResponseType < ::Array
4684
    include ROXML
@@ 2533-2542 (lines=10) @@
2530
    xml_accessor :accountNumber
2531
    xml_accessor :invoice
2532
    xml_accessor :amount
2533
    xml_accessor :currencyCode
2534
    xml_accessor :customerProfileId
2535
    xml_accessor :customerPaymentProfileId
2536
    xml_accessor :customerShippingProfileId
2537
  
2538
    def initialize(id = nil, name = nil, status = nil, createTimeStampUTC = nil, firstName = nil, lastName = nil, totalOccurrences = nil, pastOccurrences = nil, paymentMethod = nil, accountNumber = nil, invoice = nil, amount = nil, currencyCode = nil, customerProfileId = nil, customerPaymentProfileId = nil, customerShippingProfileId = nil)
2539
      @id = id
2540
      @name = name
2541
      @status = status
2542
      @createTimeStampUTC = createTimeStampUTC
2543
      @firstName = firstName
2544
      @lastName = lastName
2545
      @totalOccurrences = totalOccurrences