Code Duplication    Length = 12-14 lines in 17 locations

lib/authorize_net/api/schema.rb 17 locations

@@ 3576-3589 (lines=14) @@
3573
  #   refId - SOAP::SOAPString
3574
  #   splitTenderId - SOAP::SOAPString
3575
  #   splitTenderStatus - SplitTenderStatusEnum
3576
  class UpdateSplitTenderGroupRequest 
3577
    include ROXML
3578
    xml_accessor :merchantAuthentication
3579
    xml_accessor :refId
3580
    xml_accessor :splitTenderId
3581
    xml_accessor :splitTenderStatus
3582
  
3583
    def initialize(merchantAuthentication = nil, refId = nil, splitTenderId = nil, splitTenderStatus = nil)
3584
      @merchantAuthentication = merchantAuthentication
3585
      @refId = refId
3586
      @splitTenderId = splitTenderId
3587
      @splitTenderStatus = splitTenderStatus
3588
    end
3589
  end
3590
  
3591
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateSplitTenderGroupResponse
3592
  #   refId - SOAP::SOAPString
@@ 3450-3463 (lines=14) @@
3447
  #   refId - SOAP::SOAPString
3448
  #   transaction - ProfileTransactionType
3449
  #   extraOptions - SOAP::SOAPString
3450
  class CreateCustomerProfileTransactionRequest 
3451
    include ROXML
3452
    xml_accessor :merchantAuthentication
3453
    xml_accessor :refId
3454
    xml_accessor :transaction
3455
    xml_accessor :extraOptions
3456
  
3457
    def initialize(merchantAuthentication = nil, refId = nil, transaction = nil, extraOptions = nil)
3458
      @merchantAuthentication = merchantAuthentication
3459
      @refId = refId
3460
      @transaction = transaction
3461
      @extraOptions = extraOptions
3462
    end
3463
  end
3464
  
3465
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileTransactionResponse
3466
  #   refId - SOAP::SOAPString
@@ 3413-3426 (lines=14) @@
3410
  #   refId - SOAP::SOAPString
3411
  #   customerProfileId - (any)
3412
  #   customerAddressId - (any)
3413
  class DeleteCustomerShippingAddressRequest 
3414
    include ROXML
3415
    xml_accessor :merchantAuthentication
3416
    xml_accessor :refId
3417
    xml_accessor :customerProfileId
3418
    xml_accessor :customerAddressId
3419
  
3420
    def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil)
3421
      @merchantAuthentication = merchantAuthentication
3422
      @refId = refId
3423
      @customerProfileId = customerProfileId
3424
      @customerAddressId = customerAddressId
3425
    end
3426
  end
3427
  
3428
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressResponse
3429
  #   refId - SOAP::SOAPString
@@ 3376-3389 (lines=14) @@
3373
  #   refId - SOAP::SOAPString
3374
  #   customerProfileId - (any)
3375
  #   customerPaymentProfileId - (any)
3376
  class DeleteCustomerPaymentProfileRequest 
3377
    include ROXML
3378
    xml_accessor :merchantAuthentication
3379
    xml_accessor :refId
3380
    xml_accessor :customerProfileId
3381
    xml_accessor :customerPaymentProfileId
3382
  
3383
    def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil)
3384
      @merchantAuthentication = merchantAuthentication
3385
      @refId = refId
3386
      @customerProfileId = customerProfileId
3387
      @customerPaymentProfileId = customerPaymentProfileId
3388
    end
3389
  end
3390
  
3391
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileResponse
3392
  #   refId - SOAP::SOAPString
@@ 3185-3198 (lines=14) @@
3182
  #   refId - SOAP::SOAPString
3183
  #   customerProfileId - (any)
3184
  #   customerAddressId - (any)
3185
  class GetCustomerShippingAddressRequest 
3186
    include ROXML
3187
    xml_accessor :merchantAuthentication
3188
    xml_accessor :refId
3189
    xml_accessor :customerProfileId
3190
    xml_accessor :customerAddressId
3191
  
3192
    def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerAddressId = nil)
3193
      @merchantAuthentication = merchantAuthentication
3194
      @refId = refId
3195
      @customerProfileId = customerProfileId
3196
      @customerAddressId = customerAddressId
3197
    end
3198
  end
3199
  
3200
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressResponse
3201
  #   refId - SOAP::SOAPString
@@ 3099-3112 (lines=14) @@
3096
  #   refId - SOAP::SOAPString
3097
  #   customerProfileId - (any)
3098
  #   unmaskExpirationDate - SOAP::SOAPBoolean
3099
  class GetCustomerProfileRequest 
3100
    include ROXML
3101
    xml_accessor :merchantAuthentication
3102
    xml_accessor :refId
3103
    xml_accessor :customerProfileId
3104
    xml_accessor :unmaskExpirationDate
3105
  
3106
    def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, unmaskExpirationDate = nil)
3107
      @merchantAuthentication = merchantAuthentication
3108
      @refId = refId
3109
      @customerProfileId = customerProfileId
3110
      @unmaskExpirationDate = unmaskExpirationDate
3111
    end
3112
  end
3113
  
3114
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileResponse
3115
  #   refId - SOAP::SOAPString
@@ 4556-4567 (lines=12) @@
4553
  #   refId - SOAP::SOAPString
4554
  #   messages - MessagesType
4555
  #   month - SOAP::SOAPString
4556
  class GetAUJobSummaryRequest
4557
    include ROXML
4558
    xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
4559
    xml_accessor :refId
4560
    xml_accessor :month
4561
  
4562
    def initialize(merchantAuthentication = nil, refId = nil, month = nil)
4563
      @merchantAuthentication = merchantAuthentication
4564
      @refId = refId
4565
      @month = month
4566
    end
4567
  end
4568
4569
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobSummaryResponse
4570
  #   refId - SOAP::SOAPString
@@ 4402-4413 (lines=12) @@
4399
  #   merchantAuthentication - MerchantAuthenticationType
4400
  #   refId - SOAP::SOAPString
4401
  #   subscriptionId - (any)
4402
  class ARBGetSubscriptionRequest 
4403
    include ROXML
4404
    xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
4405
    xml_accessor :refId
4406
    xml_accessor :subscriptionId
4407
  
4408
    def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil)
4409
      @merchantAuthentication = merchantAuthentication
4410
      @refId = refId
4411
      @subscriptionId = subscriptionId
4412
    end
4413
  end
4414
  
4415
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionResponse
4416
  #   refId - SOAP::SOAPString
@@ 3842-3853 (lines=12) @@
3839
  #   merchantAuthentication - MerchantAuthenticationType
3840
  #   refId - SOAP::SOAPString
3841
  #   mobileDevice - MobileDeviceType
3842
  class MobileDeviceRegistrationRequest 
3843
    include ROXML
3844
    xml_accessor :merchantAuthentication
3845
    xml_accessor :refId
3846
    xml_accessor :mobileDevice
3847
  
3848
    def initialize(merchantAuthentication = nil, refId = nil, mobileDevice = nil)
3849
      @merchantAuthentication = merchantAuthentication
3850
      @refId = refId
3851
      @mobileDevice = mobileDevice
3852
    end
3853
  end
3854
  
3855
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationResponse
3856
  #   refId - SOAP::SOAPString
@@ 3731-3742 (lines=12) @@
3728
  #   merchantAuthentication - MerchantAuthenticationType
3729
  #   refId - SOAP::SOAPString
3730
  #   batchId - (any)
3731
  class GetTransactionListRequest 
3732
    include ROXML
3733
    xml_accessor :merchantAuthentication
3734
    xml_accessor :refId
3735
    xml_accessor :batchId
3736
  
3737
    def initialize(merchantAuthentication = nil, refId = nil, batchId = nil)
3738
      @merchantAuthentication = merchantAuthentication
3739
      @refId = refId
3740
      @batchId = batchId
3741
    end
3742
  end
3743
  
3744
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListResponse
3745
  #   refId - SOAP::SOAPString
@@ 3651-3662 (lines=12) @@
3648
  #   merchantAuthentication - MerchantAuthenticationType
3649
  #   refId - SOAP::SOAPString
3650
  #   batchId - (any)
3651
  class GetBatchStatisticsRequest 
3652
    include ROXML
3653
    xml_accessor :merchantAuthentication
3654
    xml_accessor :refId
3655
    xml_accessor :batchId
3656
  
3657
    def initialize(merchantAuthentication = nil, refId = nil, batchId = nil)
3658
      @merchantAuthentication = merchantAuthentication
3659
      @refId = refId
3660
      @batchId = batchId
3661
    end
3662
  end
3663
  
3664
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getBatchStatisticsResponse
3665
  #   refId - SOAP::SOAPString
@@ 3612-3623 (lines=12) @@
3609
  #   merchantAuthentication - MerchantAuthenticationType
3610
  #   refId - SOAP::SOAPString
3611
  #   transId - (any)
3612
  class GetTransactionDetailsRequest 
3613
    include ROXML
3614
    xml_accessor :merchantAuthentication
3615
    xml_accessor :refId
3616
    xml_accessor :transId
3617
  
3618
    def initialize(merchantAuthentication = nil, refId = nil, transId = nil)
3619
      @merchantAuthentication = merchantAuthentication
3620
      @refId = refId
3621
      @transId = transId
3622
    end
3623
  end
3624
  
3625
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionDetailsResponse
3626
  #   refId - SOAP::SOAPString
@@ 3341-3352 (lines=12) @@
3338
  #   merchantAuthentication - MerchantAuthenticationType
3339
  #   refId - SOAP::SOAPString
3340
  #   customerProfileId - (any)
3341
  class DeleteCustomerProfileRequest 
3342
    include ROXML
3343
    xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
3344
    xml_accessor :refId
3345
    xml_accessor :customerProfileId
3346
  
3347
    def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil)
3348
      @merchantAuthentication = merchantAuthentication
3349
      @refId = refId
3350
      @customerProfileId = customerProfileId
3351
    end
3352
  end
3353
  
3354
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerProfileResponse
3355
  #   refId - SOAP::SOAPString
@@ 3227-3238 (lines=12) @@
3224
  #   merchantAuthentication - MerchantAuthenticationType
3225
  #   refId - SOAP::SOAPString
3226
  #   profile - CustomerProfileExType
3227
  class UpdateCustomerProfileRequest 
3228
    include ROXML
3229
    xml_accessor :merchantAuthentication
3230
    xml_accessor :refId
3231
    xml_accessor :profile, :as => CustomerProfileExType
3232
  
3233
    def initialize(merchantAuthentication = nil, refId = nil, profile = nil)
3234
      @merchantAuthentication = merchantAuthentication
3235
      @refId = refId
3236
      @profile = profile
3237
    end
3238
  end
3239
  
3240
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerProfileResponse
3241
  #   refId - SOAP::SOAPString
@@ 2897-2908 (lines=12) @@
2894
  #   merchantAuthentication - MerchantAuthenticationType
2895
  #   refId - SOAP::SOAPString
2896
  #   subscriptionId - (any)
2897
  class ARBGetSubscriptionStatusRequest 
2898
    include ROXML
2899
    xml_accessor :merchantAuthentication
2900
    xml_accessor :refId
2901
    xml_accessor :subscriptionId
2902
  
2903
    def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil)
2904
      @merchantAuthentication = merchantAuthentication
2905
      @refId = refId
2906
      @subscriptionId = subscriptionId
2907
    end
2908
  end
2909
  
2910
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionStatusResponse
2911
  #   refId - SOAP::SOAPString
@@ 2863-2874 (lines=12) @@
2860
  #   merchantAuthentication - MerchantAuthenticationType
2861
  #   refId - SOAP::SOAPString
2862
  #   subscriptionId - (any)
2863
  class ARBCancelSubscriptionRequest 
2864
    include ROXML
2865
    xml_accessor :merchantAuthentication
2866
    xml_accessor :refId
2867
    xml_accessor :subscriptionId
2868
  
2869
    def initialize(merchantAuthentication = nil, refId = nil, subscriptionId = nil)
2870
      @merchantAuthentication = merchantAuthentication
2871
      @refId = refId
2872
      @subscriptionId = subscriptionId
2873
    end
2874
  end
2875
  
2876
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCancelSubscriptionResponse
2877
  #   refId - SOAP::SOAPString
@@ 2275-2286 (lines=12) @@
2272
  #   merchantAuthentication - MerchantAuthenticationType
2273
  #   clientId - SOAP::SOAPString
2274
  #   refId - SOAP::SOAPString
2275
  class ANetApiRequest
2276
    include ROXML
2277
    xml_accessor :merchantAuthentication
2278
    xml_accessor :clientId
2279
    xml_accessor :refId
2280
  
2281
    def initialize(merchantAuthentication = nil, clientId = nil, refId = nil)
2282
      @merchantAuthentication = merchantAuthentication
2283
      @clientId = clientId
2284
      @refId = refId
2285
    end
2286
  end
2287
  
2288
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}messageTypeEnum
2289
  class MessageTypeEnum < ::String