Code Duplication    Length = 16-18 lines in 2 locations

lib/authorize_net/api/schema.rb 2 locations

@@ 1096-1113 (lines=18) @@
1093
  #   driversLicense - DriversLicenseType
1094
  #   taxId - SOAP::SOAPString
1095
  #   customerPaymentProfileId - (any)
1096
  class CustomerPaymentProfileExType
1097
    include ROXML
1098
    xml_accessor :customerType
1099
    xml_accessor :billTo, :as => CustomerAddressType
1100
    xml_accessor :payment, :as => PaymentType
1101
    xml_accessor :driversLicense, :as => DriversLicenseType
1102
    xml_accessor :taxId
1103
    xml_accessor :customerPaymentProfileId
1104
  
1105
    def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, customerPaymentProfileId = nil)
1106
      @customerType = customerType
1107
      @billTo = billTo
1108
      @payment = payment
1109
      @driversLicense = driversLicense
1110
      @taxId = taxId
1111
      @customerPaymentProfileId = customerPaymentProfileId
1112
    end
1113
  end
1114
   
1115
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionIdList
1116
  #   subscriptionId - SubscriptionIdList
@@ 1072-1087 (lines=16) @@
1069
  #   payment - PaymentType
1070
  #   driversLicense - DriversLicenseType
1071
  #   taxId - SOAP::SOAPString
1072
  class CustomerPaymentProfileType
1073
    include ROXML
1074
    xml_accessor :customerType
1075
    xml_accessor :billTo, :as => CustomerAddressType
1076
    xml_accessor :payment, :as => PaymentType
1077
    xml_accessor :driversLicense, :as => DriversLicenseType
1078
    xml_accessor :taxId
1079
  
1080
    def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil)
1081
      @customerType = customerType
1082
      @billTo = billTo
1083
      @payment = payment
1084
      @driversLicense = driversLicense
1085
      @taxId = taxId
1086
    end
1087
  end
1088
  
1089
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileExType
1090
  #   customerType - CustomerTypeEnum