Code Duplication    Length = 18-18 lines in 2 locations

lib/authorize_net/api/schema.rb 2 locations

@@ 1098-1115 (lines=18) @@
1095
  #   driversLicense - DriversLicenseType
1096
  #   taxId - SOAP::SOAPString
1097
  #   customerPaymentProfileId - (any)
1098
  class CustomerPaymentProfileExType
1099
    include ROXML
1100
    xml_accessor :customerType
1101
    xml_accessor :billTo, :as => CustomerAddressType
1102
    xml_accessor :payment, :as => PaymentType
1103
    xml_accessor :driversLicense, :as => DriversLicenseType
1104
    xml_accessor :taxId
1105
    xml_accessor :customerPaymentProfileId
1106
  
1107
    def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, customerPaymentProfileId = nil)
1108
      @customerType = customerType
1109
      @billTo = billTo
1110
      @payment = payment
1111
      @driversLicense = driversLicense
1112
      @taxId = taxId
1113
      @customerPaymentProfileId = customerPaymentProfileId
1114
    end
1115
  end
1116
   
1117
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionIdList
1118
  #   subscriptionId - SubscriptionIdList
@@ 1072-1089 (lines=18) @@
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
    xml_accessor :defaultPaymentProfile
1080
  
1081
    def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, defaultPaymentProfile = nil)
1082
      @customerType = customerType
1083
      @billTo = billTo
1084
      @payment = payment
1085
      @driversLicense = driversLicense
1086
      @taxId = taxId
1087
      @defaultPaymentProfile = defaultPaymentProfile
1088
    end
1089
  end
1090
  
1091
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileExType
1092
  #   customerType - CustomerTypeEnum