Code Duplication    Length = 10-10 lines in 3 locations

lib/authorize_net/api/schema.rb 3 locations

@@ 2523-2532 (lines=10) @@
2520
    xml_accessor :description
2521
  
2522
    def initialize(merchantCustomerId = nil, email = nil, customerProfileId = nil, description = nil)
2523
      @merchantCustomerId = merchantCustomerId
2524
      @email = email
2525
      @customerProfileId = customerProfileId
2526
      @description = description
2527
    end
2528
  end
2529
  
2530
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentProfile
2531
  #   paymentProfileId - (any)
2532
  #   cardCode - (any)
2533
  class PaymentProfile
2534
    include ROXML
2535
    xml_accessor :paymentProfileId, :as => Fixnum
@@ 1654-1663 (lines=10) @@
1651
  end
1652
1653
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FraudInformationType
1654
  class FraudInformationType
1655
    include ROXML
1656
    xml_accessor :fraudFilterList, :as => ArrayOfFraudFilterType
1657
    xml_accessor :fraudAction
1658
  
1659
    def initialize(fraudFilterList = nil, fraudAction = nil)
1660
      @fraudFilterList = fraudFilterList
1661
      @fraudAction = fraudAction
1662
    end
1663
  end
1664
  
1665
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionSummaryType
1666
  #   transId - (any)
@@ 4672-4681 (lines=10) @@
4669
  end
4670
4671
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ListOfAUDetailsType
4672
  class ListOfAUDetailsType
4673
    include ROXML
4674
    xml_accessor :auUpdate, :as => AUUpdateType
4675
    xml_accessor :auDelete, :as => AUDeleteType
4676
4677
    def initialize(auUpdate = nil, auDelete = nil)
4678
     @auUpdate = auUpdate
4679
     @auDelete = auDelete
4680
    end
4681
  end
4682
4683
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUJobTypeEnum
4684
  class AUJobTypeEnum < ::String