Code Duplication    Length = 12-14 lines in 6 locations

lib/authorize_net/api/schema.rb 6 locations

@@ 3463-3476 (lines=14) @@
3460
  #   sessionToken - SOAP::SOAPString
3461
  class DeleteCustomerPaymentProfileResponse 
3462
    include ROXML
3463
    xml_accessor :refId
3464
    xml_accessor :messages, :as => MessagesType
3465
    xml_accessor :sessionToken
3466
  
3467
    def initialize(refId = nil, messages = nil, sessionToken = nil)
3468
      @refId = refId
3469
      @messages = messages
3470
      @sessionToken = sessionToken
3471
    end
3472
  end
3473
  
3474
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressRequest
3475
  #   merchantAuthentication - MerchantAuthenticationType
3476
  #   refId - SOAP::SOAPString
3477
  #   customerProfileId - (any)
3478
  #   customerAddressId - (any)
3479
  class DeleteCustomerShippingAddressRequest 
@@ 3426-3439 (lines=14) @@
3423
  #   sessionToken - SOAP::SOAPString
3424
  class DeleteCustomerProfileResponse 
3425
    include ROXML
3426
    xml_accessor :refId
3427
    xml_accessor :messages, :as => MessagesType
3428
    xml_accessor :sessionToken
3429
  
3430
    def initialize(refId = nil, messages = nil, sessionToken = nil)
3431
      @refId = refId
3432
      @messages = messages
3433
      @sessionToken = sessionToken
3434
    end
3435
  end
3436
  
3437
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileRequest
3438
  #   merchantAuthentication - MerchantAuthenticationType
3439
  #   refId - SOAP::SOAPString
3440
  #   customerProfileId - (any)
3441
  #   customerPaymentProfileId - (any)
3442
  class DeleteCustomerPaymentProfileRequest 
@@ 1602-1615 (lines=14) @@
1599
  #   customerPaymentProfileId - (any)
1600
  #   customerShippingAddressId - (any)
1601
  #   transId - (any)
1602
  class ProfileTransVoidType
1603
    include ROXML
1604
    xml_accessor :customerProfileId
1605
    xml_accessor :customerPaymentProfileId
1606
    xml_accessor :customerShippingAddressId
1607
    xml_accessor :transId
1608
  
1609
    def initialize(customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, transId = nil)
1610
      @customerProfileId = customerProfileId
1611
      @customerPaymentProfileId = customerPaymentProfileId
1612
      @customerShippingAddressId = customerShippingAddressId
1613
      @transId = transId
1614
    end
1615
  end
1616
  
1617
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransactionType
1618
  #   profileTransAuthCapture - ProfileTransAuthCaptureType
@@ 907-918 (lines=12) @@
904
  #   customerProfileId - SOAP::SOAPString
905
  #   customerPaymentProfileId - SOAP::SOAPString
906
  #   customerAddressId - SOAP::SOAPString
907
  class CustomerProfileIdType
908
    include ROXML
909
    xml_accessor :customerProfileId
910
    xml_accessor :customerPaymentProfileId
911
    xml_accessor :customerAddressId
912
913
    def initialize(customerProfileId = nil, customerPaymentProfileId = nil, customerAddressId = nil)
914
      @customerProfileId = customerProfileId
915
      @customerPaymentProfileId = customerPaymentProfileId
916
      @customerAddressId = customerAddressId
917
    end
918
  end
919
920
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionType
921
  #   name - SOAP::SOAPString
@@ 2515-2528 (lines=14) @@
2512
  #   email - SOAP::SOAPString
2513
  #   customerProfileId - SOAP::SOAPString
2514
  #   description - SOAP::SOAPString
2515
  class CustomerProfileSummaryType
2516
    include ROXML
2517
    xml_accessor :merchantCustomerId
2518
    xml_accessor :email
2519
    xml_accessor :customerProfileId
2520
    xml_accessor :description
2521
  
2522
    def initialize(merchantCustomerId = nil, email = nil, customerProfileId = nil, description = nil)
2523
      @merchantCustomerId = merchantCustomerId
2524
      @email = email
2525
      @customerProfileId = customerProfileId
2526
      @description = description
2527
    end
2528
  end
2529
  
2530
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentProfile
2531
  #   paymentProfileId - (any)
@@ 1207-1220 (lines=14) @@
1204
  #   description - SOAP::SOAPString
1205
  #   email - SOAP::SOAPString
1206
  #   customerProfileId - (any)
1207
  class CustomerProfileExType
1208
    include ROXML
1209
    xml_accessor :merchantCustomerId
1210
    xml_accessor :description
1211
    xml_accessor :email
1212
    xml_accessor :customerProfileId
1213
  
1214
    def initialize(merchantCustomerId = nil, description = nil, email = nil, customerProfileId = nil)
1215
      @merchantCustomerId = merchantCustomerId
1216
      @description = description
1217
      @email = email
1218
      @customerProfileId = customerProfileId
1219
    end
1220
  end
1221
  
1222
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileMaskedType
1223
  #   merchantCustomerId - SOAP::SOAPString