Code Duplication    Length = 12-14 lines in 5 locations

lib/authorize_net/api/schema.rb 5 locations

@@ 3463-3476 (lines=14) @@
3460
  #   refId - SOAP::SOAPString
3461
  #   customerProfileId - (any)
3462
  #   customerAddressId - (any)
3463
  class DeleteCustomerShippingAddressRequest 
3464
    include ROXML
3465
    xml_accessor :merchantAuthentication
3466
    xml_accessor :refId
3467
    xml_accessor :customerProfileId
3468
    xml_accessor :customerAddressId
3469
  
3470
    def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil)
3471
      @merchantAuthentication = merchantAuthentication
3472
      @refId = refId
3473
      @customerProfileId = customerProfileId
3474
      @customerAddressId = customerAddressId
3475
    end
3476
  end
3477
  
3478
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressResponse
3479
  #   refId - SOAP::SOAPString
@@ 3426-3439 (lines=14) @@
3423
  #   refId - SOAP::SOAPString
3424
  #   customerProfileId - (any)
3425
  #   customerPaymentProfileId - (any)
3426
  class DeleteCustomerPaymentProfileRequest 
3427
    include ROXML
3428
    xml_accessor :merchantAuthentication
3429
    xml_accessor :refId
3430
    xml_accessor :customerProfileId
3431
    xml_accessor :customerPaymentProfileId
3432
  
3433
    def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil)
3434
      @merchantAuthentication = merchantAuthentication
3435
      @refId = refId
3436
      @customerProfileId = customerProfileId
3437
      @customerPaymentProfileId = customerPaymentProfileId
3438
    end
3439
  end
3440
  
3441
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileResponse
3442
  #   refId - SOAP::SOAPString
@@ 3231-3244 (lines=14) @@
3228
  #   refId - SOAP::SOAPString
3229
  #   customerProfileId - (any)
3230
  #   customerAddressId - (any)
3231
  class GetCustomerShippingAddressRequest 
3232
    include ROXML
3233
    xml_accessor :merchantAuthentication
3234
    xml_accessor :refId
3235
    xml_accessor :customerProfileId
3236
    xml_accessor :customerAddressId
3237
  
3238
    def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil)
3239
      @merchantAuthentication = merchantAuthentication
3240
      @refId = refId
3241
      @customerProfileId = customerProfileId
3242
      @customerAddressId = customerAddressId
3243
    end
3244
  end
3245
  
3246
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressResponse
3247
  #   refId - SOAP::SOAPString
@@ 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