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