Code Duplication    Length = 18-18 lines in 2 locations

lib/authorize_net/api/schema.rb 2 locations

@@ 4488-4505 (lines=18) @@
4485
  #   customerProfileId - (any)
4486
  #   paymentProfile - CustomerPaymentProfileMaskedType
4487
  #   shippingProfile - CustomerAddressExType
4488
  class SubscriptionCustomerProfileType
4489
    include ROXML
4490
    xml_accessor :merchantCustomerId
4491
    xml_accessor :description
4492
    xml_accessor :email
4493
    xml_accessor :customerProfileId
4494
    xml_accessor :paymentProfile, :as => CustomerPaymentProfileMaskedType
4495
    xml_accessor :shippingProfile, :as => CustomerAddressExType
4496
  
4497
    def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil, paymentProfile = nil, shippingProfile = nil)
4498
      @merchantCustomerId = merchantCustomerId
4499
      @description = description
4500
      @email = email
4501
      @customerProfileId = customerProfileId
4502
      @paymentProfile = paymentProfile
4503
      @shippingProfile = shippingProfile
4504
    end
4505
  end
4506
  
4507
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionMaskedType
4508
  #   name - SOAP::SOAPString
@@ 1272-1289 (lines=18) @@
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
1289
  end
1290
  
1291
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfLineItem
1292
  class LineItems