Code Duplication    Length = 18-18 lines in 2 locations

lib/authorize_net/api/schema.rb 2 locations

@@ 4350-4367 (lines=18) @@
4347
  end
4348
  
4349
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfCustomerPaymentProfileListItemType
4350
  class ArrayOfCustomerPaymentProfileListItemType < ::Array
4351
    include ROXML
4352
    xml_accessor :paymentProfile, :as => [CustomerPaymentProfileListItemType]
4353
    
4354
    def initialize(paymentProfile = [])
4355
     @paymentProfile = paymentProfile
4356
    end
4357
  end
4358
  
4359
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}CustomerPaymentProfileOrderFieldEnum
4360
  class CustomerPaymentProfileOrderFieldEnum < ::String
4361
    Id = CustomerPaymentProfileOrderFieldEnum.new("id")
4362
  end
4363
  
4364
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}CustomerPaymentProfileSearchTypeEnum
4365
  class CustomerPaymentProfileSearchTypeEnum < ::String
4366
    CardsExpiringInMonth = CustomerPaymentProfileSearchTypeEnum.new("cardsExpiringInMonth")
4367
  end
4368
  
4369
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}CustomerPaymentProfileSorting
4370
  #   orderBy - CustomerPaymentProfileOrderFieldEnum
@@ 1268-1285 (lines=18) @@
1265
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}lineItemType
1266
  #   itemId - SOAP::SOAPString
1267
  #   name - SOAP::SOAPString
1268
  #   description - SOAP::SOAPString
1269
  #   quantity - SOAP::SOAPDecimal
1270
  #   unitPrice - SOAP::SOAPDecimal
1271
  #   taxable - SOAP::SOAPBoolean
1272
  class LineItemType
1273
    include ROXML
1274
    xml_accessor :itemId
1275
    xml_accessor :name
1276
    xml_accessor :description
1277
    xml_accessor :quantity, :as => BigDecimal
1278
    xml_accessor :unitPrice, :as => BigDecimal
1279
    xml_accessor :taxable
1280
  
1281
    def initialize(itemId = nil, name = nil, description = nil, quantity = nil, unitPrice = nil, taxable = nil)
1282
      @itemId = itemId
1283
      @name = name
1284
      @description = description
1285
      @quantity = quantity
1286
      @unitPrice = unitPrice
1287
      @taxable = taxable
1288
    end