Code Duplication    Length = 14-16 lines in 4 locations

lib/authorize_net/api/schema.rb 4 locations

@@ 1850-1865 (lines=16) @@
1847
  #   dateLocal - SOAP::SOAPDateTime
1848
  #   code - SOAP::SOAPString
1849
  #   description - SOAP::SOAPString
1850
  class ReturnedItemType
1851
    include ROXML
1852
    xml_accessor :id
1853
    xml_accessor :dateUTC
1854
    xml_accessor :dateLocal
1855
    xml_accessor :code
1856
    xml_accessor :description
1857
  
1858
    def initialize(id = nil, dateUTC = nil, dateLocal = nil, code = nil, description = nil)
1859
      @id = id
1860
      @dateUTC = dateUTC
1861
      @dateLocal = dateLocal
1862
      @code = code
1863
      @description = description
1864
    end
1865
  end
1866
  
1867
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfReturnedItem
1868
  class ArrayOfReturnedItem < ::Array
@@ 978-993 (lines=16) @@
975
  #   phoneNumber - SOAP::SOAPString
976
  #   devicePlatform - SOAP::SOAPString
977
  #   deviceActivation - DeviceActivationEnum
978
  class MobileDeviceType
979
    include ROXML
980
    xml_accessor :mobileDeviceId
981
    xml_accessor :description
982
    xml_accessor :phoneNumber
983
    xml_accessor :devicePlatform
984
    xml_accessor :deviceActivation
985
  
986
    def initialize(mobileDeviceId = nil, description = nil, phoneNumber = nil, devicePlatform = nil, deviceActivation = nil)
987
      @mobileDeviceId = mobileDeviceId
988
      @description = description
989
      @phoneNumber = phoneNumber
990
      @devicePlatform = devicePlatform
991
      @deviceActivation = deviceActivation
992
    end
993
  end
994
  
995
     
996
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}settingType
@@ 2505-2518 (lines=14) @@
2502
  #   email - SOAP::SOAPString
2503
  #   customerProfileId - SOAP::SOAPString
2504
  #   description - SOAP::SOAPString
2505
  class CustomerProfileSummaryType
2506
    include ROXML
2507
    xml_accessor :merchantCustomerId
2508
    xml_accessor :email
2509
    xml_accessor :customerProfileId
2510
    xml_accessor :description
2511
  
2512
    def initialize(merchantCustomerId = nil, email = nil, customerProfileId = nil, description = nil)
2513
      @merchantCustomerId = merchantCustomerId
2514
      @email = email
2515
      @customerProfileId = customerProfileId
2516
      @description = description
2517
    end
2518
  end
2519
  
2520
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentProfile
2521
  #   paymentProfileId - (any)
@@ 1207-1220 (lines=14) @@
1204
  #   description - SOAP::SOAPString
1205
  #   email - SOAP::SOAPString
1206
  #   customerProfileId - (any)
1207
  class CustomerProfileExType
1208
    include ROXML
1209
    xml_accessor :merchantCustomerId
1210
    xml_accessor :description
1211
    xml_accessor :email
1212
    xml_accessor :customerProfileId
1213
  
1214
    def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil)
1215
      @merchantCustomerId = merchantCustomerId
1216
      @description = description
1217
      @email = email
1218
      @customerProfileId = customerProfileId
1219
    end
1220
  end
1221
  
1222
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileMaskedType
1223
  #   merchantCustomerId - SOAP::SOAPString