Code Duplication    Length = 18-18 lines in 2 locations

lib/authorize_net/api/schema.rb 2 locations

@@ 1145-1162 (lines=18) @@
1142
  #   driversLicense - DriversLicenseType
1143
  #   taxId - SOAP::SOAPString
1144
  #   customerPaymentProfileId - (any)
1145
  class CustomerPaymentProfileExType
1146
    include ROXML
1147
    xml_accessor :customerType
1148
    xml_accessor :billTo, :as => CustomerAddressType
1149
    xml_accessor :payment, :as => PaymentType
1150
    xml_accessor :driversLicense, :as => DriversLicenseType
1151
    xml_accessor :taxId
1152
    xml_accessor :customerPaymentProfileId
1153
  
1154
    def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, customerPaymentProfileId = nil)
1155
      @customerType = customerType
1156
      @billTo = billTo
1157
      @payment = payment
1158
      @driversLicense = driversLicense
1159
      @taxId = taxId
1160
      @customerPaymentProfileId = customerPaymentProfileId
1161
    end
1162
  end
1163
   
1164
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionIdList
1165
  #   subscriptionId - SubscriptionIdList
@@ 1119-1136 (lines=18) @@
1116
  #   payment - PaymentType
1117
  #   driversLicense - DriversLicenseType
1118
  #   taxId - SOAP::SOAPString
1119
  class CustomerPaymentProfileType
1120
    include ROXML
1121
    xml_accessor :customerType
1122
    xml_accessor :billTo, :as => CustomerAddressType
1123
    xml_accessor :payment, :as => PaymentType
1124
    xml_accessor :driversLicense, :as => DriversLicenseType
1125
    xml_accessor :taxId
1126
    xml_accessor :defaultPaymentProfile
1127
  
1128
    def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, defaultPaymentProfile = nil)
1129
      @customerType = customerType
1130
      @billTo = billTo
1131
      @payment = payment
1132
      @driversLicense = driversLicense
1133
      @taxId = taxId
1134
      @defaultPaymentProfile = defaultPaymentProfile
1135
    end
1136
  end
1137
  
1138
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileExType
1139
  #   customerType - CustomerTypeEnum