paypal-sdk-merchant 1.96.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1050 @@
1
+ require 'paypal-sdk-core'
2
+ require 'paypal-sdk/merchant/data_types'
3
+
4
+ # AUTO GENERATED code for PayPalAPIInterfaceService
5
+ module PayPal::SDK
6
+ module Merchant
7
+
8
+ # Service Version
9
+ SERVICE_VERSION = "94.0"
10
+ # Service Name
11
+ SERVICE_NAME = "PayPalAPIInterfaceService"
12
+
13
+ module Services
14
+ include DataTypes
15
+
16
+
17
+ # Service Call: RefundTransaction
18
+ # @param RefundTransactionReq
19
+ # @return RefundTransactionResponseType
20
+ def RefundTransaction(options = {} , http_header = {})
21
+ request_object = BuildRefundTransaction(options)
22
+ request_hash = request_object.to_hash
23
+ response_hash = request("RefundTransaction", request_hash, http_header)
24
+ RefundTransactionResponseType.new(response_hash)
25
+ end
26
+ alias_method :refund_transaction, :RefundTransaction
27
+
28
+ def BuildRefundTransaction(options = {}, &block)
29
+ klass = RefundTransactionReq
30
+ options = klass.new(:RefundTransactionRequest => options) unless options.is_a?(klass)
31
+ object = (options.RefundTransactionRequest ||= {})
32
+ object.version = SERVICE_VERSION
33
+ object.instance_eval(&block) if block
34
+ object
35
+ end
36
+ alias_method :build_refund_transaction, :BuildRefundTransaction
37
+
38
+ # Service Call: InitiateRecoup
39
+ # @param InitiateRecoupReq
40
+ # @return InitiateRecoupResponseType
41
+ def InitiateRecoup(options = {} , http_header = {})
42
+ request_object = BuildInitiateRecoup(options)
43
+ request_hash = request_object.to_hash
44
+ response_hash = request("InitiateRecoup", request_hash, http_header)
45
+ InitiateRecoupResponseType.new(response_hash)
46
+ end
47
+ alias_method :initiate_recoup, :InitiateRecoup
48
+
49
+ def BuildInitiateRecoup(options = {}, &block)
50
+ klass = InitiateRecoupReq
51
+ options = klass.new(:InitiateRecoupRequest => options) unless options.is_a?(klass)
52
+ object = (options.InitiateRecoupRequest ||= {})
53
+ object.version = SERVICE_VERSION
54
+ object.instance_eval(&block) if block
55
+ object
56
+ end
57
+ alias_method :build_initiate_recoup, :BuildInitiateRecoup
58
+
59
+ # Service Call: CompleteRecoup
60
+ # @param CompleteRecoupReq
61
+ # @return CompleteRecoupResponseType
62
+ def CompleteRecoup(options = {} , http_header = {})
63
+ request_object = BuildCompleteRecoup(options)
64
+ request_hash = request_object.to_hash
65
+ response_hash = request("CompleteRecoup", request_hash, http_header)
66
+ CompleteRecoupResponseType.new(response_hash)
67
+ end
68
+ alias_method :complete_recoup, :CompleteRecoup
69
+
70
+ def BuildCompleteRecoup(options = {}, &block)
71
+ klass = CompleteRecoupReq
72
+ options = klass.new(:CompleteRecoupRequest => options) unless options.is_a?(klass)
73
+ object = (options.CompleteRecoupRequest ||= {})
74
+ object.version = SERVICE_VERSION
75
+ object.instance_eval(&block) if block
76
+ object
77
+ end
78
+ alias_method :build_complete_recoup, :BuildCompleteRecoup
79
+
80
+ # Service Call: CancelRecoup
81
+ # @param CancelRecoupReq
82
+ # @return CancelRecoupResponseType
83
+ def CancelRecoup(options = {} , http_header = {})
84
+ request_object = BuildCancelRecoup(options)
85
+ request_hash = request_object.to_hash
86
+ response_hash = request("CancelRecoup", request_hash, http_header)
87
+ CancelRecoupResponseType.new(response_hash)
88
+ end
89
+ alias_method :cancel_recoup, :CancelRecoup
90
+
91
+ def BuildCancelRecoup(options = {}, &block)
92
+ klass = CancelRecoupReq
93
+ options = klass.new(:CancelRecoupRequest => options) unless options.is_a?(klass)
94
+ object = (options.CancelRecoupRequest ||= {})
95
+ object.version = SERVICE_VERSION
96
+ object.instance_eval(&block) if block
97
+ object
98
+ end
99
+ alias_method :build_cancel_recoup, :BuildCancelRecoup
100
+
101
+ # Service Call: GetTransactionDetails
102
+ # @param GetTransactionDetailsReq
103
+ # @return GetTransactionDetailsResponseType
104
+ def GetTransactionDetails(options = {} , http_header = {})
105
+ request_object = BuildGetTransactionDetails(options)
106
+ request_hash = request_object.to_hash
107
+ response_hash = request("GetTransactionDetails", request_hash, http_header)
108
+ GetTransactionDetailsResponseType.new(response_hash)
109
+ end
110
+ alias_method :get_transaction_details, :GetTransactionDetails
111
+
112
+ def BuildGetTransactionDetails(options = {}, &block)
113
+ klass = GetTransactionDetailsReq
114
+ options = klass.new(:GetTransactionDetailsRequest => options) unless options.is_a?(klass)
115
+ object = (options.GetTransactionDetailsRequest ||= {})
116
+ object.version = SERVICE_VERSION
117
+ object.instance_eval(&block) if block
118
+ object
119
+ end
120
+ alias_method :build_get_transaction_details, :BuildGetTransactionDetails
121
+
122
+ # Service Call: BillUser
123
+ # @param BillUserReq
124
+ # @return BillUserResponseType
125
+ def BillUser(options = {} , http_header = {})
126
+ request_object = BuildBillUser(options)
127
+ request_hash = request_object.to_hash
128
+ response_hash = request("BillUser", request_hash, http_header)
129
+ BillUserResponseType.new(response_hash)
130
+ end
131
+ alias_method :bill_user, :BillUser
132
+
133
+ def BuildBillUser(options = {}, &block)
134
+ klass = BillUserReq
135
+ options = klass.new(:BillUserRequest => options) unless options.is_a?(klass)
136
+ object = (options.BillUserRequest ||= {})
137
+ object.version = SERVICE_VERSION
138
+ object.instance_eval(&block) if block
139
+ object
140
+ end
141
+ alias_method :build_bill_user, :BuildBillUser
142
+
143
+ # Service Call: TransactionSearch
144
+ # @param TransactionSearchReq
145
+ # @return TransactionSearchResponseType
146
+ def TransactionSearch(options = {} , http_header = {})
147
+ request_object = BuildTransactionSearch(options)
148
+ request_hash = request_object.to_hash
149
+ response_hash = request("TransactionSearch", request_hash, http_header)
150
+ TransactionSearchResponseType.new(response_hash)
151
+ end
152
+ alias_method :transaction_search, :TransactionSearch
153
+
154
+ def BuildTransactionSearch(options = {}, &block)
155
+ klass = TransactionSearchReq
156
+ options = klass.new(:TransactionSearchRequest => options) unless options.is_a?(klass)
157
+ object = (options.TransactionSearchRequest ||= {})
158
+ object.version = SERVICE_VERSION
159
+ object.instance_eval(&block) if block
160
+ object
161
+ end
162
+ alias_method :build_transaction_search, :BuildTransactionSearch
163
+
164
+ # Service Call: MassPay
165
+ # @param MassPayReq
166
+ # @return MassPayResponseType
167
+ def MassPay(options = {} , http_header = {})
168
+ request_object = BuildMassPay(options)
169
+ request_hash = request_object.to_hash
170
+ response_hash = request("MassPay", request_hash, http_header)
171
+ MassPayResponseType.new(response_hash)
172
+ end
173
+ alias_method :mass_pay, :MassPay
174
+
175
+ def BuildMassPay(options = {}, &block)
176
+ klass = MassPayReq
177
+ options = klass.new(:MassPayRequest => options) unless options.is_a?(klass)
178
+ object = (options.MassPayRequest ||= {})
179
+ object.version = SERVICE_VERSION
180
+ object.instance_eval(&block) if block
181
+ object
182
+ end
183
+ alias_method :build_mass_pay, :BuildMassPay
184
+
185
+ # Service Call: BillAgreementUpdate
186
+ # @param BillAgreementUpdateReq
187
+ # @return BAUpdateResponseType
188
+ def BillAgreementUpdate(options = {} , http_header = {})
189
+ request_object = BuildBillAgreementUpdate(options)
190
+ request_hash = request_object.to_hash
191
+ response_hash = request("BillAgreementUpdate", request_hash, http_header)
192
+ BAUpdateResponseType.new(response_hash)
193
+ end
194
+ alias_method :bill_agreement_update, :BillAgreementUpdate
195
+
196
+ def BuildBillAgreementUpdate(options = {}, &block)
197
+ klass = BillAgreementUpdateReq
198
+ options = klass.new(:BAUpdateRequest => options) unless options.is_a?(klass)
199
+ object = (options.BAUpdateRequest ||= {})
200
+ object.version = SERVICE_VERSION
201
+ object.instance_eval(&block) if block
202
+ object
203
+ end
204
+ alias_method :build_bill_agreement_update, :BuildBillAgreementUpdate
205
+
206
+ # Service Call: AddressVerify
207
+ # @param AddressVerifyReq
208
+ # @return AddressVerifyResponseType
209
+ def AddressVerify(options = {} , http_header = {})
210
+ request_object = BuildAddressVerify(options)
211
+ request_hash = request_object.to_hash
212
+ response_hash = request("AddressVerify", request_hash, http_header)
213
+ AddressVerifyResponseType.new(response_hash)
214
+ end
215
+ alias_method :address_verify, :AddressVerify
216
+
217
+ def BuildAddressVerify(options = {}, &block)
218
+ klass = AddressVerifyReq
219
+ options = klass.new(:AddressVerifyRequest => options) unless options.is_a?(klass)
220
+ object = (options.AddressVerifyRequest ||= {})
221
+ object.version = SERVICE_VERSION
222
+ object.instance_eval(&block) if block
223
+ object
224
+ end
225
+ alias_method :build_address_verify, :BuildAddressVerify
226
+
227
+ # Service Call: EnterBoarding
228
+ # @param EnterBoardingReq
229
+ # @return EnterBoardingResponseType
230
+ def EnterBoarding(options = {} , http_header = {})
231
+ request_object = BuildEnterBoarding(options)
232
+ request_hash = request_object.to_hash
233
+ response_hash = request("EnterBoarding", request_hash, http_header)
234
+ EnterBoardingResponseType.new(response_hash)
235
+ end
236
+ alias_method :enter_boarding, :EnterBoarding
237
+
238
+ def BuildEnterBoarding(options = {}, &block)
239
+ klass = EnterBoardingReq
240
+ options = klass.new(:EnterBoardingRequest => options) unless options.is_a?(klass)
241
+ object = (options.EnterBoardingRequest ||= {})
242
+ object.version = SERVICE_VERSION
243
+ object.instance_eval(&block) if block
244
+ object
245
+ end
246
+ alias_method :build_enter_boarding, :BuildEnterBoarding
247
+
248
+ # Service Call: GetBoardingDetails
249
+ # @param GetBoardingDetailsReq
250
+ # @return GetBoardingDetailsResponseType
251
+ def GetBoardingDetails(options = {} , http_header = {})
252
+ request_object = BuildGetBoardingDetails(options)
253
+ request_hash = request_object.to_hash
254
+ response_hash = request("GetBoardingDetails", request_hash, http_header)
255
+ GetBoardingDetailsResponseType.new(response_hash)
256
+ end
257
+ alias_method :get_boarding_details, :GetBoardingDetails
258
+
259
+ def BuildGetBoardingDetails(options = {}, &block)
260
+ klass = GetBoardingDetailsReq
261
+ options = klass.new(:GetBoardingDetailsRequest => options) unless options.is_a?(klass)
262
+ object = (options.GetBoardingDetailsRequest ||= {})
263
+ object.version = SERVICE_VERSION
264
+ object.instance_eval(&block) if block
265
+ object
266
+ end
267
+ alias_method :build_get_boarding_details, :BuildGetBoardingDetails
268
+
269
+ # Service Call: CreateMobilePayment
270
+ # @param CreateMobilePaymentReq
271
+ # @return CreateMobilePaymentResponseType
272
+ def CreateMobilePayment(options = {} , http_header = {})
273
+ request_object = BuildCreateMobilePayment(options)
274
+ request_hash = request_object.to_hash
275
+ response_hash = request("CreateMobilePayment", request_hash, http_header)
276
+ CreateMobilePaymentResponseType.new(response_hash)
277
+ end
278
+ alias_method :create_mobile_payment, :CreateMobilePayment
279
+
280
+ def BuildCreateMobilePayment(options = {}, &block)
281
+ klass = CreateMobilePaymentReq
282
+ options = klass.new(:CreateMobilePaymentRequest => options) unless options.is_a?(klass)
283
+ object = (options.CreateMobilePaymentRequest ||= {})
284
+ object.version = SERVICE_VERSION
285
+ object.instance_eval(&block) if block
286
+ object
287
+ end
288
+ alias_method :build_create_mobile_payment, :BuildCreateMobilePayment
289
+
290
+ # Service Call: GetMobileStatus
291
+ # @param GetMobileStatusReq
292
+ # @return GetMobileStatusResponseType
293
+ def GetMobileStatus(options = {} , http_header = {})
294
+ request_object = BuildGetMobileStatus(options)
295
+ request_hash = request_object.to_hash
296
+ response_hash = request("GetMobileStatus", request_hash, http_header)
297
+ GetMobileStatusResponseType.new(response_hash)
298
+ end
299
+ alias_method :get_mobile_status, :GetMobileStatus
300
+
301
+ def BuildGetMobileStatus(options = {}, &block)
302
+ klass = GetMobileStatusReq
303
+ options = klass.new(:GetMobileStatusRequest => options) unless options.is_a?(klass)
304
+ object = (options.GetMobileStatusRequest ||= {})
305
+ object.version = SERVICE_VERSION
306
+ object.instance_eval(&block) if block
307
+ object
308
+ end
309
+ alias_method :build_get_mobile_status, :BuildGetMobileStatus
310
+
311
+ # Service Call: SetMobileCheckout
312
+ # @param SetMobileCheckoutReq
313
+ # @return SetMobileCheckoutResponseType
314
+ def SetMobileCheckout(options = {} , http_header = {})
315
+ request_object = BuildSetMobileCheckout(options)
316
+ request_hash = request_object.to_hash
317
+ response_hash = request("SetMobileCheckout", request_hash, http_header)
318
+ SetMobileCheckoutResponseType.new(response_hash)
319
+ end
320
+ alias_method :set_mobile_checkout, :SetMobileCheckout
321
+
322
+ def BuildSetMobileCheckout(options = {}, &block)
323
+ klass = SetMobileCheckoutReq
324
+ options = klass.new(:SetMobileCheckoutRequest => options) unless options.is_a?(klass)
325
+ object = (options.SetMobileCheckoutRequest ||= {})
326
+ object.version = SERVICE_VERSION
327
+ object.instance_eval(&block) if block
328
+ object
329
+ end
330
+ alias_method :build_set_mobile_checkout, :BuildSetMobileCheckout
331
+
332
+ # Service Call: DoMobileCheckoutPayment
333
+ # @param DoMobileCheckoutPaymentReq
334
+ # @return DoMobileCheckoutPaymentResponseType
335
+ def DoMobileCheckoutPayment(options = {} , http_header = {})
336
+ request_object = BuildDoMobileCheckoutPayment(options)
337
+ request_hash = request_object.to_hash
338
+ response_hash = request("DoMobileCheckoutPayment", request_hash, http_header)
339
+ DoMobileCheckoutPaymentResponseType.new(response_hash)
340
+ end
341
+ alias_method :do_mobile_checkout_payment, :DoMobileCheckoutPayment
342
+
343
+ def BuildDoMobileCheckoutPayment(options = {}, &block)
344
+ klass = DoMobileCheckoutPaymentReq
345
+ options = klass.new(:DoMobileCheckoutPaymentRequest => options) unless options.is_a?(klass)
346
+ object = (options.DoMobileCheckoutPaymentRequest ||= {})
347
+ object.version = SERVICE_VERSION
348
+ object.instance_eval(&block) if block
349
+ object
350
+ end
351
+ alias_method :build_do_mobile_checkout_payment, :BuildDoMobileCheckoutPayment
352
+
353
+ # Service Call: GetBalance
354
+ # @param GetBalanceReq
355
+ # @return GetBalanceResponseType
356
+ def GetBalance(options = {} , http_header = {})
357
+ request_object = BuildGetBalance(options)
358
+ request_hash = request_object.to_hash
359
+ response_hash = request("GetBalance", request_hash, http_header)
360
+ GetBalanceResponseType.new(response_hash)
361
+ end
362
+ alias_method :get_balance, :GetBalance
363
+
364
+ def BuildGetBalance(options = {}, &block)
365
+ klass = GetBalanceReq
366
+ options = klass.new(:GetBalanceRequest => options) unless options.is_a?(klass)
367
+ object = (options.GetBalanceRequest ||= {})
368
+ object.version = SERVICE_VERSION
369
+ object.instance_eval(&block) if block
370
+ object
371
+ end
372
+ alias_method :build_get_balance, :BuildGetBalance
373
+
374
+ # Service Call: GetPalDetails
375
+ # @param GetPalDetailsReq
376
+ # @return GetPalDetailsResponseType
377
+ def GetPalDetails(options = {} , http_header = {})
378
+ request_object = BuildGetPalDetails(options)
379
+ request_hash = request_object.to_hash
380
+ response_hash = request("GetPalDetails", request_hash, http_header)
381
+ GetPalDetailsResponseType.new(response_hash)
382
+ end
383
+ alias_method :get_pal_details, :GetPalDetails
384
+
385
+ def BuildGetPalDetails(options = {}, &block)
386
+ klass = GetPalDetailsReq
387
+ options = klass.new(:GetPalDetailsRequest => options) unless options.is_a?(klass)
388
+ object = (options.GetPalDetailsRequest ||= {})
389
+ object.version = SERVICE_VERSION
390
+ object.instance_eval(&block) if block
391
+ object
392
+ end
393
+ alias_method :build_get_pal_details, :BuildGetPalDetails
394
+
395
+ # Service Call: DoExpressCheckoutPayment
396
+ # @param DoExpressCheckoutPaymentReq
397
+ # @return DoExpressCheckoutPaymentResponseType
398
+ def DoExpressCheckoutPayment(options = {} , http_header = {})
399
+ request_object = BuildDoExpressCheckoutPayment(options)
400
+ request_hash = request_object.to_hash
401
+ response_hash = request("DoExpressCheckoutPayment", request_hash, http_header)
402
+ DoExpressCheckoutPaymentResponseType.new(response_hash)
403
+ end
404
+ alias_method :do_express_checkout_payment, :DoExpressCheckoutPayment
405
+
406
+ def BuildDoExpressCheckoutPayment(options = {}, &block)
407
+ klass = DoExpressCheckoutPaymentReq
408
+ options = klass.new(:DoExpressCheckoutPaymentRequest => options) unless options.is_a?(klass)
409
+ object = (options.DoExpressCheckoutPaymentRequest ||= {})
410
+ object.version = SERVICE_VERSION
411
+ object.instance_eval(&block) if block
412
+ object
413
+ end
414
+ alias_method :build_do_express_checkout_payment, :BuildDoExpressCheckoutPayment
415
+
416
+ # Service Call: DoUATPExpressCheckoutPayment
417
+ # @param DoUATPExpressCheckoutPaymentReq
418
+ # @return DoUATPExpressCheckoutPaymentResponseType
419
+ def DoUATPExpressCheckoutPayment(options = {} , http_header = {})
420
+ request_object = BuildDoUATPExpressCheckoutPayment(options)
421
+ request_hash = request_object.to_hash
422
+ response_hash = request("DoUATPExpressCheckoutPayment", request_hash, http_header)
423
+ DoUATPExpressCheckoutPaymentResponseType.new(response_hash)
424
+ end
425
+ alias_method :do_uatp_express_checkout_payment, :DoUATPExpressCheckoutPayment
426
+
427
+ def BuildDoUATPExpressCheckoutPayment(options = {}, &block)
428
+ klass = DoUATPExpressCheckoutPaymentReq
429
+ options = klass.new(:DoUATPExpressCheckoutPaymentRequest => options) unless options.is_a?(klass)
430
+ object = (options.DoUATPExpressCheckoutPaymentRequest ||= {})
431
+ object.version = SERVICE_VERSION
432
+ object.instance_eval(&block) if block
433
+ object
434
+ end
435
+ alias_method :build_do_uatp_express_checkout_payment, :BuildDoUATPExpressCheckoutPayment
436
+
437
+ # Service Call: SetAuthFlowParam
438
+ # @param SetAuthFlowParamReq
439
+ # @return SetAuthFlowParamResponseType
440
+ def SetAuthFlowParam(options = {} , http_header = {})
441
+ request_object = BuildSetAuthFlowParam(options)
442
+ request_hash = request_object.to_hash
443
+ response_hash = request("SetAuthFlowParam", request_hash, http_header)
444
+ SetAuthFlowParamResponseType.new(response_hash)
445
+ end
446
+ alias_method :set_auth_flow_param, :SetAuthFlowParam
447
+
448
+ def BuildSetAuthFlowParam(options = {}, &block)
449
+ klass = SetAuthFlowParamReq
450
+ options = klass.new(:SetAuthFlowParamRequest => options) unless options.is_a?(klass)
451
+ object = (options.SetAuthFlowParamRequest ||= {})
452
+ object.version = SERVICE_VERSION
453
+ object.instance_eval(&block) if block
454
+ object
455
+ end
456
+ alias_method :build_set_auth_flow_param, :BuildSetAuthFlowParam
457
+
458
+ # Service Call: GetAuthDetails
459
+ # @param GetAuthDetailsReq
460
+ # @return GetAuthDetailsResponseType
461
+ def GetAuthDetails(options = {} , http_header = {})
462
+ request_object = BuildGetAuthDetails(options)
463
+ request_hash = request_object.to_hash
464
+ response_hash = request("GetAuthDetails", request_hash, http_header)
465
+ GetAuthDetailsResponseType.new(response_hash)
466
+ end
467
+ alias_method :get_auth_details, :GetAuthDetails
468
+
469
+ def BuildGetAuthDetails(options = {}, &block)
470
+ klass = GetAuthDetailsReq
471
+ options = klass.new(:GetAuthDetailsRequest => options) unless options.is_a?(klass)
472
+ object = (options.GetAuthDetailsRequest ||= {})
473
+ object.version = SERVICE_VERSION
474
+ object.instance_eval(&block) if block
475
+ object
476
+ end
477
+ alias_method :build_get_auth_details, :BuildGetAuthDetails
478
+
479
+ # Service Call: SetAccessPermissions
480
+ # @param SetAccessPermissionsReq
481
+ # @return SetAccessPermissionsResponseType
482
+ def SetAccessPermissions(options = {} , http_header = {})
483
+ request_object = BuildSetAccessPermissions(options)
484
+ request_hash = request_object.to_hash
485
+ response_hash = request("SetAccessPermissions", request_hash, http_header)
486
+ SetAccessPermissionsResponseType.new(response_hash)
487
+ end
488
+ alias_method :set_access_permissions, :SetAccessPermissions
489
+
490
+ def BuildSetAccessPermissions(options = {}, &block)
491
+ klass = SetAccessPermissionsReq
492
+ options = klass.new(:SetAccessPermissionsRequest => options) unless options.is_a?(klass)
493
+ object = (options.SetAccessPermissionsRequest ||= {})
494
+ object.version = SERVICE_VERSION
495
+ object.instance_eval(&block) if block
496
+ object
497
+ end
498
+ alias_method :build_set_access_permissions, :BuildSetAccessPermissions
499
+
500
+ # Service Call: UpdateAccessPermissions
501
+ # @param UpdateAccessPermissionsReq
502
+ # @return UpdateAccessPermissionsResponseType
503
+ def UpdateAccessPermissions(options = {} , http_header = {})
504
+ request_object = BuildUpdateAccessPermissions(options)
505
+ request_hash = request_object.to_hash
506
+ response_hash = request("UpdateAccessPermissions", request_hash, http_header)
507
+ UpdateAccessPermissionsResponseType.new(response_hash)
508
+ end
509
+ alias_method :update_access_permissions, :UpdateAccessPermissions
510
+
511
+ def BuildUpdateAccessPermissions(options = {}, &block)
512
+ klass = UpdateAccessPermissionsReq
513
+ options = klass.new(:UpdateAccessPermissionsRequest => options) unless options.is_a?(klass)
514
+ object = (options.UpdateAccessPermissionsRequest ||= {})
515
+ object.version = SERVICE_VERSION
516
+ object.instance_eval(&block) if block
517
+ object
518
+ end
519
+ alias_method :build_update_access_permissions, :BuildUpdateAccessPermissions
520
+
521
+ # Service Call: GetAccessPermissionDetails
522
+ # @param GetAccessPermissionDetailsReq
523
+ # @return GetAccessPermissionDetailsResponseType
524
+ def GetAccessPermissionDetails(options = {} , http_header = {})
525
+ request_object = BuildGetAccessPermissionDetails(options)
526
+ request_hash = request_object.to_hash
527
+ response_hash = request("GetAccessPermissionDetails", request_hash, http_header)
528
+ GetAccessPermissionDetailsResponseType.new(response_hash)
529
+ end
530
+ alias_method :get_access_permission_details, :GetAccessPermissionDetails
531
+
532
+ def BuildGetAccessPermissionDetails(options = {}, &block)
533
+ klass = GetAccessPermissionDetailsReq
534
+ options = klass.new(:GetAccessPermissionDetailsRequest => options) unless options.is_a?(klass)
535
+ object = (options.GetAccessPermissionDetailsRequest ||= {})
536
+ object.version = SERVICE_VERSION
537
+ object.instance_eval(&block) if block
538
+ object
539
+ end
540
+ alias_method :build_get_access_permission_details, :BuildGetAccessPermissionDetails
541
+
542
+ # Service Call: GetIncentiveEvaluation
543
+ # @param GetIncentiveEvaluationReq
544
+ # @return GetIncentiveEvaluationResponseType
545
+ def GetIncentiveEvaluation(options = {} , http_header = {})
546
+ request_object = BuildGetIncentiveEvaluation(options)
547
+ request_hash = request_object.to_hash
548
+ response_hash = request("GetIncentiveEvaluation", request_hash, http_header)
549
+ GetIncentiveEvaluationResponseType.new(response_hash)
550
+ end
551
+ alias_method :get_incentive_evaluation, :GetIncentiveEvaluation
552
+
553
+ def BuildGetIncentiveEvaluation(options = {}, &block)
554
+ klass = GetIncentiveEvaluationReq
555
+ options = klass.new(:GetIncentiveEvaluationRequest => options) unless options.is_a?(klass)
556
+ object = (options.GetIncentiveEvaluationRequest ||= {})
557
+ object.version = SERVICE_VERSION
558
+ object.instance_eval(&block) if block
559
+ object
560
+ end
561
+ alias_method :build_get_incentive_evaluation, :BuildGetIncentiveEvaluation
562
+
563
+ # Service Call: SetExpressCheckout
564
+ # @param SetExpressCheckoutReq
565
+ # @return SetExpressCheckoutResponseType
566
+ def SetExpressCheckout(options = {} , http_header = {})
567
+ request_object = BuildSetExpressCheckout(options)
568
+ request_hash = request_object.to_hash
569
+ response_hash = request("SetExpressCheckout", request_hash, http_header)
570
+ SetExpressCheckoutResponseType.new(response_hash)
571
+ end
572
+ alias_method :set_express_checkout, :SetExpressCheckout
573
+
574
+ def BuildSetExpressCheckout(options = {}, &block)
575
+ klass = SetExpressCheckoutReq
576
+ options = klass.new(:SetExpressCheckoutRequest => options) unless options.is_a?(klass)
577
+ object = (options.SetExpressCheckoutRequest ||= {})
578
+ object.version = SERVICE_VERSION
579
+ object.instance_eval(&block) if block
580
+ object
581
+ end
582
+ alias_method :build_set_express_checkout, :BuildSetExpressCheckout
583
+
584
+ # Service Call: ExecuteCheckoutOperations
585
+ # @param ExecuteCheckoutOperationsReq
586
+ # @return ExecuteCheckoutOperationsResponseType
587
+ def ExecuteCheckoutOperations(options = {} , http_header = {})
588
+ request_object = BuildExecuteCheckoutOperations(options)
589
+ request_hash = request_object.to_hash
590
+ response_hash = request("ExecuteCheckoutOperations", request_hash, http_header)
591
+ ExecuteCheckoutOperationsResponseType.new(response_hash)
592
+ end
593
+ alias_method :execute_checkout_operations, :ExecuteCheckoutOperations
594
+
595
+ def BuildExecuteCheckoutOperations(options = {}, &block)
596
+ klass = ExecuteCheckoutOperationsReq
597
+ options = klass.new(:ExecuteCheckoutOperationsRequest => options) unless options.is_a?(klass)
598
+ object = (options.ExecuteCheckoutOperationsRequest ||= {})
599
+ object.version = SERVICE_VERSION
600
+ object.instance_eval(&block) if block
601
+ object
602
+ end
603
+ alias_method :build_execute_checkout_operations, :BuildExecuteCheckoutOperations
604
+
605
+ # Service Call: GetExpressCheckoutDetails
606
+ # @param GetExpressCheckoutDetailsReq
607
+ # @return GetExpressCheckoutDetailsResponseType
608
+ def GetExpressCheckoutDetails(options = {} , http_header = {})
609
+ request_object = BuildGetExpressCheckoutDetails(options)
610
+ request_hash = request_object.to_hash
611
+ response_hash = request("GetExpressCheckoutDetails", request_hash, http_header)
612
+ GetExpressCheckoutDetailsResponseType.new(response_hash)
613
+ end
614
+ alias_method :get_express_checkout_details, :GetExpressCheckoutDetails
615
+
616
+ def BuildGetExpressCheckoutDetails(options = {}, &block)
617
+ klass = GetExpressCheckoutDetailsReq
618
+ options = klass.new(:GetExpressCheckoutDetailsRequest => options) unless options.is_a?(klass)
619
+ object = (options.GetExpressCheckoutDetailsRequest ||= {})
620
+ object.version = SERVICE_VERSION
621
+ object.instance_eval(&block) if block
622
+ object
623
+ end
624
+ alias_method :build_get_express_checkout_details, :BuildGetExpressCheckoutDetails
625
+
626
+ # Service Call: DoDirectPayment
627
+ # @param DoDirectPaymentReq
628
+ # @return DoDirectPaymentResponseType
629
+ def DoDirectPayment(options = {} , http_header = {})
630
+ request_object = BuildDoDirectPayment(options)
631
+ request_hash = request_object.to_hash
632
+ response_hash = request("DoDirectPayment", request_hash, http_header)
633
+ DoDirectPaymentResponseType.new(response_hash)
634
+ end
635
+ alias_method :do_direct_payment, :DoDirectPayment
636
+
637
+ def BuildDoDirectPayment(options = {}, &block)
638
+ klass = DoDirectPaymentReq
639
+ options = klass.new(:DoDirectPaymentRequest => options) unless options.is_a?(klass)
640
+ object = (options.DoDirectPaymentRequest ||= {})
641
+ object.version = SERVICE_VERSION
642
+ object.instance_eval(&block) if block
643
+ object
644
+ end
645
+ alias_method :build_do_direct_payment, :BuildDoDirectPayment
646
+
647
+ # Service Call: ManagePendingTransactionStatus
648
+ # @param ManagePendingTransactionStatusReq
649
+ # @return ManagePendingTransactionStatusResponseType
650
+ def ManagePendingTransactionStatus(options = {} , http_header = {})
651
+ request_object = BuildManagePendingTransactionStatus(options)
652
+ request_hash = request_object.to_hash
653
+ response_hash = request("ManagePendingTransactionStatus", request_hash, http_header)
654
+ ManagePendingTransactionStatusResponseType.new(response_hash)
655
+ end
656
+ alias_method :manage_pending_transaction_status, :ManagePendingTransactionStatus
657
+
658
+ def BuildManagePendingTransactionStatus(options = {}, &block)
659
+ klass = ManagePendingTransactionStatusReq
660
+ options = klass.new(:ManagePendingTransactionStatusRequest => options) unless options.is_a?(klass)
661
+ object = (options.ManagePendingTransactionStatusRequest ||= {})
662
+ object.version = SERVICE_VERSION
663
+ object.instance_eval(&block) if block
664
+ object
665
+ end
666
+ alias_method :build_manage_pending_transaction_status, :BuildManagePendingTransactionStatus
667
+
668
+ # Service Call: DoCancel
669
+ # @param DoCancelReq
670
+ # @return DoCancelResponseType
671
+ def DoCancel(options = {} , http_header = {})
672
+ request_object = BuildDoCancel(options)
673
+ request_hash = request_object.to_hash
674
+ response_hash = request("DoCancel", request_hash, http_header)
675
+ DoCancelResponseType.new(response_hash)
676
+ end
677
+ alias_method :do_cancel, :DoCancel
678
+
679
+ def BuildDoCancel(options = {}, &block)
680
+ klass = DoCancelReq
681
+ options = klass.new(:DoCancelRequest => options) unless options.is_a?(klass)
682
+ object = (options.DoCancelRequest ||= {})
683
+ object.version = SERVICE_VERSION
684
+ object.instance_eval(&block) if block
685
+ object
686
+ end
687
+ alias_method :build_do_cancel, :BuildDoCancel
688
+
689
+ # Service Call: DoCapture
690
+ # @param DoCaptureReq
691
+ # @return DoCaptureResponseType
692
+ def DoCapture(options = {} , http_header = {})
693
+ request_object = BuildDoCapture(options)
694
+ request_hash = request_object.to_hash
695
+ response_hash = request("DoCapture", request_hash, http_header)
696
+ DoCaptureResponseType.new(response_hash)
697
+ end
698
+ alias_method :do_capture, :DoCapture
699
+
700
+ def BuildDoCapture(options = {}, &block)
701
+ klass = DoCaptureReq
702
+ options = klass.new(:DoCaptureRequest => options) unless options.is_a?(klass)
703
+ object = (options.DoCaptureRequest ||= {})
704
+ object.version = SERVICE_VERSION
705
+ object.instance_eval(&block) if block
706
+ object
707
+ end
708
+ alias_method :build_do_capture, :BuildDoCapture
709
+
710
+ # Service Call: DoReauthorization
711
+ # @param DoReauthorizationReq
712
+ # @return DoReauthorizationResponseType
713
+ def DoReauthorization(options = {} , http_header = {})
714
+ request_object = BuildDoReauthorization(options)
715
+ request_hash = request_object.to_hash
716
+ response_hash = request("DoReauthorization", request_hash, http_header)
717
+ DoReauthorizationResponseType.new(response_hash)
718
+ end
719
+ alias_method :do_reauthorization, :DoReauthorization
720
+
721
+ def BuildDoReauthorization(options = {}, &block)
722
+ klass = DoReauthorizationReq
723
+ options = klass.new(:DoReauthorizationRequest => options) unless options.is_a?(klass)
724
+ object = (options.DoReauthorizationRequest ||= {})
725
+ object.version = SERVICE_VERSION
726
+ object.instance_eval(&block) if block
727
+ object
728
+ end
729
+ alias_method :build_do_reauthorization, :BuildDoReauthorization
730
+
731
+ # Service Call: DoVoid
732
+ # @param DoVoidReq
733
+ # @return DoVoidResponseType
734
+ def DoVoid(options = {} , http_header = {})
735
+ request_object = BuildDoVoid(options)
736
+ request_hash = request_object.to_hash
737
+ response_hash = request("DoVoid", request_hash, http_header)
738
+ DoVoidResponseType.new(response_hash)
739
+ end
740
+ alias_method :do_void, :DoVoid
741
+
742
+ def BuildDoVoid(options = {}, &block)
743
+ klass = DoVoidReq
744
+ options = klass.new(:DoVoidRequest => options) unless options.is_a?(klass)
745
+ object = (options.DoVoidRequest ||= {})
746
+ object.version = SERVICE_VERSION
747
+ object.instance_eval(&block) if block
748
+ object
749
+ end
750
+ alias_method :build_do_void, :BuildDoVoid
751
+
752
+ # Service Call: DoAuthorization
753
+ # @param DoAuthorizationReq
754
+ # @return DoAuthorizationResponseType
755
+ def DoAuthorization(options = {} , http_header = {})
756
+ request_object = BuildDoAuthorization(options)
757
+ request_hash = request_object.to_hash
758
+ response_hash = request("DoAuthorization", request_hash, http_header)
759
+ DoAuthorizationResponseType.new(response_hash)
760
+ end
761
+ alias_method :do_authorization, :DoAuthorization
762
+
763
+ def BuildDoAuthorization(options = {}, &block)
764
+ klass = DoAuthorizationReq
765
+ options = klass.new(:DoAuthorizationRequest => options) unless options.is_a?(klass)
766
+ object = (options.DoAuthorizationRequest ||= {})
767
+ object.version = SERVICE_VERSION
768
+ object.instance_eval(&block) if block
769
+ object
770
+ end
771
+ alias_method :build_do_authorization, :BuildDoAuthorization
772
+
773
+ # Service Call: SetCustomerBillingAgreement
774
+ # @param SetCustomerBillingAgreementReq
775
+ # @return SetCustomerBillingAgreementResponseType
776
+ def SetCustomerBillingAgreement(options = {} , http_header = {})
777
+ request_object = BuildSetCustomerBillingAgreement(options)
778
+ request_hash = request_object.to_hash
779
+ response_hash = request("SetCustomerBillingAgreement", request_hash, http_header)
780
+ SetCustomerBillingAgreementResponseType.new(response_hash)
781
+ end
782
+ alias_method :set_customer_billing_agreement, :SetCustomerBillingAgreement
783
+
784
+ def BuildSetCustomerBillingAgreement(options = {}, &block)
785
+ klass = SetCustomerBillingAgreementReq
786
+ options = klass.new(:SetCustomerBillingAgreementRequest => options) unless options.is_a?(klass)
787
+ object = (options.SetCustomerBillingAgreementRequest ||= {})
788
+ object.version = SERVICE_VERSION
789
+ object.instance_eval(&block) if block
790
+ object
791
+ end
792
+ alias_method :build_set_customer_billing_agreement, :BuildSetCustomerBillingAgreement
793
+
794
+ # Service Call: GetBillingAgreementCustomerDetails
795
+ # @param GetBillingAgreementCustomerDetailsReq
796
+ # @return GetBillingAgreementCustomerDetailsResponseType
797
+ def GetBillingAgreementCustomerDetails(options = {} , http_header = {})
798
+ request_object = BuildGetBillingAgreementCustomerDetails(options)
799
+ request_hash = request_object.to_hash
800
+ response_hash = request("GetBillingAgreementCustomerDetails", request_hash, http_header)
801
+ GetBillingAgreementCustomerDetailsResponseType.new(response_hash)
802
+ end
803
+ alias_method :get_billing_agreement_customer_details, :GetBillingAgreementCustomerDetails
804
+
805
+ def BuildGetBillingAgreementCustomerDetails(options = {}, &block)
806
+ klass = GetBillingAgreementCustomerDetailsReq
807
+ options = klass.new(:GetBillingAgreementCustomerDetailsRequest => options) unless options.is_a?(klass)
808
+ object = (options.GetBillingAgreementCustomerDetailsRequest ||= {})
809
+ object.version = SERVICE_VERSION
810
+ object.instance_eval(&block) if block
811
+ object
812
+ end
813
+ alias_method :build_get_billing_agreement_customer_details, :BuildGetBillingAgreementCustomerDetails
814
+
815
+ # Service Call: CreateBillingAgreement
816
+ # @param CreateBillingAgreementReq
817
+ # @return CreateBillingAgreementResponseType
818
+ def CreateBillingAgreement(options = {} , http_header = {})
819
+ request_object = BuildCreateBillingAgreement(options)
820
+ request_hash = request_object.to_hash
821
+ response_hash = request("CreateBillingAgreement", request_hash, http_header)
822
+ CreateBillingAgreementResponseType.new(response_hash)
823
+ end
824
+ alias_method :create_billing_agreement, :CreateBillingAgreement
825
+
826
+ def BuildCreateBillingAgreement(options = {}, &block)
827
+ klass = CreateBillingAgreementReq
828
+ options = klass.new(:CreateBillingAgreementRequest => options) unless options.is_a?(klass)
829
+ object = (options.CreateBillingAgreementRequest ||= {})
830
+ object.version = SERVICE_VERSION
831
+ object.instance_eval(&block) if block
832
+ object
833
+ end
834
+ alias_method :build_create_billing_agreement, :BuildCreateBillingAgreement
835
+
836
+ # Service Call: DoReferenceTransaction
837
+ # @param DoReferenceTransactionReq
838
+ # @return DoReferenceTransactionResponseType
839
+ def DoReferenceTransaction(options = {} , http_header = {})
840
+ request_object = BuildDoReferenceTransaction(options)
841
+ request_hash = request_object.to_hash
842
+ response_hash = request("DoReferenceTransaction", request_hash, http_header)
843
+ DoReferenceTransactionResponseType.new(response_hash)
844
+ end
845
+ alias_method :do_reference_transaction, :DoReferenceTransaction
846
+
847
+ def BuildDoReferenceTransaction(options = {}, &block)
848
+ klass = DoReferenceTransactionReq
849
+ options = klass.new(:DoReferenceTransactionRequest => options) unless options.is_a?(klass)
850
+ object = (options.DoReferenceTransactionRequest ||= {})
851
+ object.version = SERVICE_VERSION
852
+ object.instance_eval(&block) if block
853
+ object
854
+ end
855
+ alias_method :build_do_reference_transaction, :BuildDoReferenceTransaction
856
+
857
+ # Service Call: DoNonReferencedCredit
858
+ # @param DoNonReferencedCreditReq
859
+ # @return DoNonReferencedCreditResponseType
860
+ def DoNonReferencedCredit(options = {} , http_header = {})
861
+ request_object = BuildDoNonReferencedCredit(options)
862
+ request_hash = request_object.to_hash
863
+ response_hash = request("DoNonReferencedCredit", request_hash, http_header)
864
+ DoNonReferencedCreditResponseType.new(response_hash)
865
+ end
866
+ alias_method :do_non_referenced_credit, :DoNonReferencedCredit
867
+
868
+ def BuildDoNonReferencedCredit(options = {}, &block)
869
+ klass = DoNonReferencedCreditReq
870
+ options = klass.new(:DoNonReferencedCreditRequest => options) unless options.is_a?(klass)
871
+ object = (options.DoNonReferencedCreditRequest ||= {})
872
+ object.version = SERVICE_VERSION
873
+ object.instance_eval(&block) if block
874
+ object
875
+ end
876
+ alias_method :build_do_non_referenced_credit, :BuildDoNonReferencedCredit
877
+
878
+ # Service Call: DoUATPAuthorization
879
+ # @param DoUATPAuthorizationReq
880
+ # @return DoUATPAuthorizationResponseType
881
+ def DoUATPAuthorization(options = {} , http_header = {})
882
+ request_object = BuildDoUATPAuthorization(options)
883
+ request_hash = request_object.to_hash
884
+ response_hash = request("DoUATPAuthorization", request_hash, http_header)
885
+ DoUATPAuthorizationResponseType.new(response_hash)
886
+ end
887
+ alias_method :do_uatp_authorization, :DoUATPAuthorization
888
+
889
+ def BuildDoUATPAuthorization(options = {}, &block)
890
+ klass = DoUATPAuthorizationReq
891
+ options = klass.new(:DoUATPAuthorizationRequest => options) unless options.is_a?(klass)
892
+ object = (options.DoUATPAuthorizationRequest ||= {})
893
+ object.version = SERVICE_VERSION
894
+ object.instance_eval(&block) if block
895
+ object
896
+ end
897
+ alias_method :build_do_uatp_authorization, :BuildDoUATPAuthorization
898
+
899
+ # Service Call: CreateRecurringPaymentsProfile
900
+ # @param CreateRecurringPaymentsProfileReq
901
+ # @return CreateRecurringPaymentsProfileResponseType
902
+ def CreateRecurringPaymentsProfile(options = {} , http_header = {})
903
+ request_object = BuildCreateRecurringPaymentsProfile(options)
904
+ request_hash = request_object.to_hash
905
+ response_hash = request("CreateRecurringPaymentsProfile", request_hash, http_header)
906
+ CreateRecurringPaymentsProfileResponseType.new(response_hash)
907
+ end
908
+ alias_method :create_recurring_payments_profile, :CreateRecurringPaymentsProfile
909
+
910
+ def BuildCreateRecurringPaymentsProfile(options = {}, &block)
911
+ klass = CreateRecurringPaymentsProfileReq
912
+ options = klass.new(:CreateRecurringPaymentsProfileRequest => options) unless options.is_a?(klass)
913
+ object = (options.CreateRecurringPaymentsProfileRequest ||= {})
914
+ object.version = SERVICE_VERSION
915
+ object.instance_eval(&block) if block
916
+ object
917
+ end
918
+ alias_method :build_create_recurring_payments_profile, :BuildCreateRecurringPaymentsProfile
919
+
920
+ # Service Call: GetRecurringPaymentsProfileDetails
921
+ # @param GetRecurringPaymentsProfileDetailsReq
922
+ # @return GetRecurringPaymentsProfileDetailsResponseType
923
+ def GetRecurringPaymentsProfileDetails(options = {} , http_header = {})
924
+ request_object = BuildGetRecurringPaymentsProfileDetails(options)
925
+ request_hash = request_object.to_hash
926
+ response_hash = request("GetRecurringPaymentsProfileDetails", request_hash, http_header)
927
+ GetRecurringPaymentsProfileDetailsResponseType.new(response_hash)
928
+ end
929
+ alias_method :get_recurring_payments_profile_details, :GetRecurringPaymentsProfileDetails
930
+
931
+ def BuildGetRecurringPaymentsProfileDetails(options = {}, &block)
932
+ klass = GetRecurringPaymentsProfileDetailsReq
933
+ options = klass.new(:GetRecurringPaymentsProfileDetailsRequest => options) unless options.is_a?(klass)
934
+ object = (options.GetRecurringPaymentsProfileDetailsRequest ||= {})
935
+ object.version = SERVICE_VERSION
936
+ object.instance_eval(&block) if block
937
+ object
938
+ end
939
+ alias_method :build_get_recurring_payments_profile_details, :BuildGetRecurringPaymentsProfileDetails
940
+
941
+ # Service Call: ManageRecurringPaymentsProfileStatus
942
+ # @param ManageRecurringPaymentsProfileStatusReq
943
+ # @return ManageRecurringPaymentsProfileStatusResponseType
944
+ def ManageRecurringPaymentsProfileStatus(options = {} , http_header = {})
945
+ request_object = BuildManageRecurringPaymentsProfileStatus(options)
946
+ request_hash = request_object.to_hash
947
+ response_hash = request("ManageRecurringPaymentsProfileStatus", request_hash, http_header)
948
+ ManageRecurringPaymentsProfileStatusResponseType.new(response_hash)
949
+ end
950
+ alias_method :manage_recurring_payments_profile_status, :ManageRecurringPaymentsProfileStatus
951
+
952
+ def BuildManageRecurringPaymentsProfileStatus(options = {}, &block)
953
+ klass = ManageRecurringPaymentsProfileStatusReq
954
+ options = klass.new(:ManageRecurringPaymentsProfileStatusRequest => options) unless options.is_a?(klass)
955
+ object = (options.ManageRecurringPaymentsProfileStatusRequest ||= {})
956
+ object.version = SERVICE_VERSION
957
+ object.instance_eval(&block) if block
958
+ object
959
+ end
960
+ alias_method :build_manage_recurring_payments_profile_status, :BuildManageRecurringPaymentsProfileStatus
961
+
962
+ # Service Call: BillOutstandingAmount
963
+ # @param BillOutstandingAmountReq
964
+ # @return BillOutstandingAmountResponseType
965
+ def BillOutstandingAmount(options = {} , http_header = {})
966
+ request_object = BuildBillOutstandingAmount(options)
967
+ request_hash = request_object.to_hash
968
+ response_hash = request("BillOutstandingAmount", request_hash, http_header)
969
+ BillOutstandingAmountResponseType.new(response_hash)
970
+ end
971
+ alias_method :bill_outstanding_amount, :BillOutstandingAmount
972
+
973
+ def BuildBillOutstandingAmount(options = {}, &block)
974
+ klass = BillOutstandingAmountReq
975
+ options = klass.new(:BillOutstandingAmountRequest => options) unless options.is_a?(klass)
976
+ object = (options.BillOutstandingAmountRequest ||= {})
977
+ object.version = SERVICE_VERSION
978
+ object.instance_eval(&block) if block
979
+ object
980
+ end
981
+ alias_method :build_bill_outstanding_amount, :BuildBillOutstandingAmount
982
+
983
+ # Service Call: UpdateRecurringPaymentsProfile
984
+ # @param UpdateRecurringPaymentsProfileReq
985
+ # @return UpdateRecurringPaymentsProfileResponseType
986
+ def UpdateRecurringPaymentsProfile(options = {} , http_header = {})
987
+ request_object = BuildUpdateRecurringPaymentsProfile(options)
988
+ request_hash = request_object.to_hash
989
+ response_hash = request("UpdateRecurringPaymentsProfile", request_hash, http_header)
990
+ UpdateRecurringPaymentsProfileResponseType.new(response_hash)
991
+ end
992
+ alias_method :update_recurring_payments_profile, :UpdateRecurringPaymentsProfile
993
+
994
+ def BuildUpdateRecurringPaymentsProfile(options = {}, &block)
995
+ klass = UpdateRecurringPaymentsProfileReq
996
+ options = klass.new(:UpdateRecurringPaymentsProfileRequest => options) unless options.is_a?(klass)
997
+ object = (options.UpdateRecurringPaymentsProfileRequest ||= {})
998
+ object.version = SERVICE_VERSION
999
+ object.instance_eval(&block) if block
1000
+ object
1001
+ end
1002
+ alias_method :build_update_recurring_payments_profile, :BuildUpdateRecurringPaymentsProfile
1003
+
1004
+ # Service Call: ReverseTransaction
1005
+ # @param ReverseTransactionReq
1006
+ # @return ReverseTransactionResponseType
1007
+ def ReverseTransaction(options = {} , http_header = {})
1008
+ request_object = BuildReverseTransaction(options)
1009
+ request_hash = request_object.to_hash
1010
+ response_hash = request("ReverseTransaction", request_hash, http_header)
1011
+ ReverseTransactionResponseType.new(response_hash)
1012
+ end
1013
+ alias_method :reverse_transaction, :ReverseTransaction
1014
+
1015
+ def BuildReverseTransaction(options = {}, &block)
1016
+ klass = ReverseTransactionReq
1017
+ options = klass.new(:ReverseTransactionRequest => options) unless options.is_a?(klass)
1018
+ object = (options.ReverseTransactionRequest ||= {})
1019
+ object.version = SERVICE_VERSION
1020
+ object.instance_eval(&block) if block
1021
+ object
1022
+ end
1023
+ alias_method :build_reverse_transaction, :BuildReverseTransaction
1024
+
1025
+ # Service Call: ExternalRememberMeOptOut
1026
+ # @param ExternalRememberMeOptOutReq
1027
+ # @return ExternalRememberMeOptOutResponseType
1028
+ def ExternalRememberMeOptOut(options = {} , http_header = {})
1029
+ request_object = BuildExternalRememberMeOptOut(options)
1030
+ request_hash = request_object.to_hash
1031
+ response_hash = request("ExternalRememberMeOptOut", request_hash, http_header)
1032
+ ExternalRememberMeOptOutResponseType.new(response_hash)
1033
+ end
1034
+ alias_method :external_remember_me_opt_out, :ExternalRememberMeOptOut
1035
+
1036
+ def BuildExternalRememberMeOptOut(options = {}, &block)
1037
+ klass = ExternalRememberMeOptOutReq
1038
+ options = klass.new(:ExternalRememberMeOptOutRequest => options) unless options.is_a?(klass)
1039
+ object = (options.ExternalRememberMeOptOutRequest ||= {})
1040
+ object.version = SERVICE_VERSION
1041
+ object.instance_eval(&block) if block
1042
+ object
1043
+ end
1044
+ alias_method :build_external_remember_me_opt_out, :BuildExternalRememberMeOptOut
1045
+
1046
+
1047
+ end
1048
+
1049
+ end
1050
+ end