paypal-sdk-adaptivepayments 1.103.0 → 1.105.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,343 +1,343 @@
1
- require 'paypal-sdk-core'
2
-
3
- # AUTO GENERATED code for AdaptivePayments
4
- module PayPal::SDK
5
- module AdaptivePayments
6
-
7
- # Service Version
8
- SERVICE_VERSION = "1.8.4"
9
- # Service Name
10
- SERVICE_NAME = "AdaptivePayments"
11
-
12
- module Services
13
- include DataTypes
14
-
15
-
16
- # Service Call: CancelPreapproval
17
- # @param CancelPreapprovalRequest
18
- # @return CancelPreapprovalResponse
19
- def CancelPreapproval(options = {} , http_header = {})
20
- request_object = BuildCancelPreapproval(options)
21
- request_hash = request_object.to_hash
22
- response_hash = request("CancelPreapproval", request_hash, http_header)
23
- CancelPreapprovalResponse.new(response_hash)
24
- end
25
- alias_method :cancel_preapproval, :CancelPreapproval
26
-
27
- def BuildCancelPreapproval(options = {}, &block)
28
- klass = CancelPreapprovalRequest
29
- object = options.is_a?(klass) ? options : klass.new(options || {})
30
- object.instance_eval(&block) if block
31
- object
32
- end
33
- alias_method :build_cancel_preapproval, :BuildCancelPreapproval
34
-
35
- # Service Call: ConfirmPreapproval
36
- # @param ConfirmPreapprovalRequest
37
- # @return ConfirmPreapprovalResponse
38
- def ConfirmPreapproval(options = {} , http_header = {})
39
- request_object = BuildConfirmPreapproval(options)
40
- request_hash = request_object.to_hash
41
- response_hash = request("ConfirmPreapproval", request_hash, http_header)
42
- ConfirmPreapprovalResponse.new(response_hash)
43
- end
44
- alias_method :confirm_preapproval, :ConfirmPreapproval
45
-
46
- def BuildConfirmPreapproval(options = {}, &block)
47
- klass = ConfirmPreapprovalRequest
48
- object = options.is_a?(klass) ? options : klass.new(options || {})
49
- object.instance_eval(&block) if block
50
- object
51
- end
52
- alias_method :build_confirm_preapproval, :BuildConfirmPreapproval
53
-
54
- # Service Call: ConvertCurrency
55
- # @param ConvertCurrencyRequest
56
- # @return ConvertCurrencyResponse
57
- def ConvertCurrency(options = {} , http_header = {})
58
- request_object = BuildConvertCurrency(options)
59
- request_hash = request_object.to_hash
60
- response_hash = request("ConvertCurrency", request_hash, http_header)
61
- ConvertCurrencyResponse.new(response_hash)
62
- end
63
- alias_method :convert_currency, :ConvertCurrency
64
-
65
- def BuildConvertCurrency(options = {}, &block)
66
- klass = ConvertCurrencyRequest
67
- object = options.is_a?(klass) ? options : klass.new(options || {})
68
- object.instance_eval(&block) if block
69
- object
70
- end
71
- alias_method :build_convert_currency, :BuildConvertCurrency
72
-
73
- # Service Call: ExecutePayment
74
- # @param ExecutePaymentRequest
75
- # @return ExecutePaymentResponse
76
- def ExecutePayment(options = {} , http_header = {})
77
- request_object = BuildExecutePayment(options)
78
- request_hash = request_object.to_hash
79
- response_hash = request("ExecutePayment", request_hash, http_header)
80
- ExecutePaymentResponse.new(response_hash)
81
- end
82
- alias_method :execute_payment, :ExecutePayment
83
-
84
- def BuildExecutePayment(options = {}, &block)
85
- klass = ExecutePaymentRequest
86
- object = options.is_a?(klass) ? options : klass.new(options || {})
87
- object.instance_eval(&block) if block
88
- object
89
- end
90
- alias_method :build_execute_payment, :BuildExecutePayment
91
-
92
- # Service Call: GetAllowedFundingSources
93
- # @param GetAllowedFundingSourcesRequest
94
- # @return GetAllowedFundingSourcesResponse
95
- def GetAllowedFundingSources(options = {} , http_header = {})
96
- request_object = BuildGetAllowedFundingSources(options)
97
- request_hash = request_object.to_hash
98
- response_hash = request("GetAllowedFundingSources", request_hash, http_header)
99
- GetAllowedFundingSourcesResponse.new(response_hash)
100
- end
101
- alias_method :get_allowed_funding_sources, :GetAllowedFundingSources
102
-
103
- def BuildGetAllowedFundingSources(options = {}, &block)
104
- klass = GetAllowedFundingSourcesRequest
105
- object = options.is_a?(klass) ? options : klass.new(options || {})
106
- object.instance_eval(&block) if block
107
- object
108
- end
109
- alias_method :build_get_allowed_funding_sources, :BuildGetAllowedFundingSources
110
-
111
- # Service Call: GetPaymentOptions
112
- # @param GetPaymentOptionsRequest
113
- # @return GetPaymentOptionsResponse
114
- def GetPaymentOptions(options = {} , http_header = {})
115
- request_object = BuildGetPaymentOptions(options)
116
- request_hash = request_object.to_hash
117
- response_hash = request("GetPaymentOptions", request_hash, http_header)
118
- GetPaymentOptionsResponse.new(response_hash)
119
- end
120
- alias_method :get_payment_options, :GetPaymentOptions
121
-
122
- def BuildGetPaymentOptions(options = {}, &block)
123
- klass = GetPaymentOptionsRequest
124
- object = options.is_a?(klass) ? options : klass.new(options || {})
125
- object.instance_eval(&block) if block
126
- object
127
- end
128
- alias_method :build_get_payment_options, :BuildGetPaymentOptions
129
-
130
- # Service Call: PaymentDetails
131
- # @param PaymentDetailsRequest
132
- # @return PaymentDetailsResponse
133
- def PaymentDetails(options = {} , http_header = {})
134
- request_object = BuildPaymentDetails(options)
135
- request_hash = request_object.to_hash
136
- response_hash = request("PaymentDetails", request_hash, http_header)
137
- PaymentDetailsResponse.new(response_hash)
138
- end
139
- alias_method :payment_details, :PaymentDetails
140
-
141
- def BuildPaymentDetails(options = {}, &block)
142
- klass = PaymentDetailsRequest
143
- object = options.is_a?(klass) ? options : klass.new(options || {})
144
- object.instance_eval(&block) if block
145
- object
146
- end
147
- alias_method :build_payment_details, :BuildPaymentDetails
148
-
149
- # Service Call: Pay
150
- # @param PayRequest
151
- # @return PayResponse
152
- def Pay(options = {} , http_header = {})
153
- request_object = BuildPay(options)
154
- request_hash = request_object.to_hash
155
- response_hash = request("Pay", request_hash, http_header)
156
- PayResponse.new(response_hash)
157
- end
158
- alias_method :pay, :Pay
159
-
160
- def BuildPay(options = {}, &block)
161
- klass = PayRequest
162
- object = options.is_a?(klass) ? options : klass.new(options || {})
163
- object.instance_eval(&block) if block
164
- object
165
- end
166
- alias_method :build_pay, :BuildPay
167
-
168
- # Service Call: PreapprovalDetails
169
- # @param PreapprovalDetailsRequest
170
- # @return PreapprovalDetailsResponse
171
- def PreapprovalDetails(options = {} , http_header = {})
172
- request_object = BuildPreapprovalDetails(options)
173
- request_hash = request_object.to_hash
174
- response_hash = request("PreapprovalDetails", request_hash, http_header)
175
- PreapprovalDetailsResponse.new(response_hash)
176
- end
177
- alias_method :preapproval_details, :PreapprovalDetails
178
-
179
- def BuildPreapprovalDetails(options = {}, &block)
180
- klass = PreapprovalDetailsRequest
181
- object = options.is_a?(klass) ? options : klass.new(options || {})
182
- object.instance_eval(&block) if block
183
- object
184
- end
185
- alias_method :build_preapproval_details, :BuildPreapprovalDetails
186
-
187
- # Service Call: Preapproval
188
- # @param PreapprovalRequest
189
- # @return PreapprovalResponse
190
- def Preapproval(options = {} , http_header = {})
191
- request_object = BuildPreapproval(options)
192
- request_hash = request_object.to_hash
193
- response_hash = request("Preapproval", request_hash, http_header)
194
- PreapprovalResponse.new(response_hash)
195
- end
196
- alias_method :preapproval, :Preapproval
197
-
198
- def BuildPreapproval(options = {}, &block)
199
- klass = PreapprovalRequest
200
- object = options.is_a?(klass) ? options : klass.new(options || {})
201
- object.instance_eval(&block) if block
202
- object
203
- end
204
- alias_method :build_preapproval, :BuildPreapproval
205
-
206
- # Service Call: Refund
207
- # @param RefundRequest
208
- # @return RefundResponse
209
- def Refund(options = {} , http_header = {})
210
- request_object = BuildRefund(options)
211
- request_hash = request_object.to_hash
212
- response_hash = request("Refund", request_hash, http_header)
213
- RefundResponse.new(response_hash)
214
- end
215
- alias_method :refund, :Refund
216
-
217
- def BuildRefund(options = {}, &block)
218
- klass = RefundRequest
219
- object = options.is_a?(klass) ? options : klass.new(options || {})
220
- object.instance_eval(&block) if block
221
- object
222
- end
223
- alias_method :build_refund, :BuildRefund
224
-
225
- # Service Call: SetPaymentOptions
226
- # @param SetPaymentOptionsRequest
227
- # @return SetPaymentOptionsResponse
228
- def SetPaymentOptions(options = {} , http_header = {})
229
- request_object = BuildSetPaymentOptions(options)
230
- request_hash = request_object.to_hash
231
- response_hash = request("SetPaymentOptions", request_hash, http_header)
232
- SetPaymentOptionsResponse.new(response_hash)
233
- end
234
- alias_method :set_payment_options, :SetPaymentOptions
235
-
236
- def BuildSetPaymentOptions(options = {}, &block)
237
- klass = SetPaymentOptionsRequest
238
- object = options.is_a?(klass) ? options : klass.new(options || {})
239
- object.instance_eval(&block) if block
240
- object
241
- end
242
- alias_method :build_set_payment_options, :BuildSetPaymentOptions
243
-
244
- # Service Call: GetFundingPlans
245
- # @param GetFundingPlansRequest
246
- # @return GetFundingPlansResponse
247
- def GetFundingPlans(options = {} , http_header = {})
248
- request_object = BuildGetFundingPlans(options)
249
- request_hash = request_object.to_hash
250
- response_hash = request("GetFundingPlans", request_hash, http_header)
251
- GetFundingPlansResponse.new(response_hash)
252
- end
253
- alias_method :get_funding_plans, :GetFundingPlans
254
-
255
- def BuildGetFundingPlans(options = {}, &block)
256
- klass = GetFundingPlansRequest
257
- object = options.is_a?(klass) ? options : klass.new(options || {})
258
- object.instance_eval(&block) if block
259
- object
260
- end
261
- alias_method :build_get_funding_plans, :BuildGetFundingPlans
262
-
263
- # Service Call: GetAvailableShippingAddresses
264
- # @param GetAvailableShippingAddressesRequest
265
- # @return GetAvailableShippingAddressesResponse
266
- def GetAvailableShippingAddresses(options = {} , http_header = {})
267
- request_object = BuildGetAvailableShippingAddresses(options)
268
- request_hash = request_object.to_hash
269
- response_hash = request("GetAvailableShippingAddresses", request_hash, http_header)
270
- GetAvailableShippingAddressesResponse.new(response_hash)
271
- end
272
- alias_method :get_available_shipping_addresses, :GetAvailableShippingAddresses
273
-
274
- def BuildGetAvailableShippingAddresses(options = {}, &block)
275
- klass = GetAvailableShippingAddressesRequest
276
- object = options.is_a?(klass) ? options : klass.new(options || {})
277
- object.instance_eval(&block) if block
278
- object
279
- end
280
- alias_method :build_get_available_shipping_addresses, :BuildGetAvailableShippingAddresses
281
-
282
- # Service Call: GetShippingAddresses
283
- # @param GetShippingAddressesRequest
284
- # @return GetShippingAddressesResponse
285
- def GetShippingAddresses(options = {} , http_header = {})
286
- request_object = BuildGetShippingAddresses(options)
287
- request_hash = request_object.to_hash
288
- response_hash = request("GetShippingAddresses", request_hash, http_header)
289
- GetShippingAddressesResponse.new(response_hash)
290
- end
291
- alias_method :get_shipping_addresses, :GetShippingAddresses
292
-
293
- def BuildGetShippingAddresses(options = {}, &block)
294
- klass = GetShippingAddressesRequest
295
- object = options.is_a?(klass) ? options : klass.new(options || {})
296
- object.instance_eval(&block) if block
297
- object
298
- end
299
- alias_method :build_get_shipping_addresses, :BuildGetShippingAddresses
300
-
301
- # Service Call: GetUserLimits
302
- # @param GetUserLimitsRequest
303
- # @return GetUserLimitsResponse
304
- def GetUserLimits(options = {} , http_header = {})
305
- request_object = BuildGetUserLimits(options)
306
- request_hash = request_object.to_hash
307
- response_hash = request("GetUserLimits", request_hash, http_header)
308
- GetUserLimitsResponse.new(response_hash)
309
- end
310
- alias_method :get_user_limits, :GetUserLimits
311
-
312
- def BuildGetUserLimits(options = {}, &block)
313
- klass = GetUserLimitsRequest
314
- object = options.is_a?(klass) ? options : klass.new(options || {})
315
- object.instance_eval(&block) if block
316
- object
317
- end
318
- alias_method :build_get_user_limits, :BuildGetUserLimits
319
-
320
- # Service Call: GetPrePaymentDisclosure
321
- # @param GetPrePaymentDisclosureRequest
322
- # @return GetPrePaymentDisclosureResponse
323
- def GetPrePaymentDisclosure(options = {} , http_header = {})
324
- request_object = BuildGetPrePaymentDisclosure(options)
325
- request_hash = request_object.to_hash
326
- response_hash = request("GetPrePaymentDisclosure", request_hash, http_header)
327
- GetPrePaymentDisclosureResponse.new(response_hash)
328
- end
329
- alias_method :get_pre_payment_disclosure, :GetPrePaymentDisclosure
330
-
331
- def BuildGetPrePaymentDisclosure(options = {}, &block)
332
- klass = GetPrePaymentDisclosureRequest
333
- object = options.is_a?(klass) ? options : klass.new(options || {})
334
- object.instance_eval(&block) if block
335
- object
336
- end
337
- alias_method :build_get_pre_payment_disclosure, :BuildGetPrePaymentDisclosure
338
-
339
-
340
- end
341
-
342
- end
343
- end
1
+ require 'paypal-sdk-core'
2
+
3
+ # AUTO GENERATED code for AdaptivePayments
4
+ module PayPal::SDK
5
+ module AdaptivePayments
6
+
7
+ # Service Version
8
+ SERVICE_VERSION = "1.8.5"
9
+ # Service Name
10
+ SERVICE_NAME = "AdaptivePayments"
11
+
12
+ module Services
13
+ include DataTypes
14
+
15
+
16
+ # Service Call: CancelPreapproval
17
+ # @param CancelPreapprovalRequest
18
+ # @return CancelPreapprovalResponse
19
+ def CancelPreapproval(options = {} , http_header = {})
20
+ request_object = BuildCancelPreapproval(options)
21
+ request_hash = request_object.to_hash
22
+ response_hash = request("CancelPreapproval", request_hash, http_header)
23
+ CancelPreapprovalResponse.new(response_hash)
24
+ end
25
+ alias_method :cancel_preapproval, :CancelPreapproval
26
+
27
+ def BuildCancelPreapproval(options = {}, &block)
28
+ klass = CancelPreapprovalRequest
29
+ object = options.is_a?(klass) ? options : klass.new(options || {})
30
+ object.instance_eval(&block) if block
31
+ object
32
+ end
33
+ alias_method :build_cancel_preapproval, :BuildCancelPreapproval
34
+
35
+ # Service Call: ConfirmPreapproval
36
+ # @param ConfirmPreapprovalRequest
37
+ # @return ConfirmPreapprovalResponse
38
+ def ConfirmPreapproval(options = {} , http_header = {})
39
+ request_object = BuildConfirmPreapproval(options)
40
+ request_hash = request_object.to_hash
41
+ response_hash = request("ConfirmPreapproval", request_hash, http_header)
42
+ ConfirmPreapprovalResponse.new(response_hash)
43
+ end
44
+ alias_method :confirm_preapproval, :ConfirmPreapproval
45
+
46
+ def BuildConfirmPreapproval(options = {}, &block)
47
+ klass = ConfirmPreapprovalRequest
48
+ object = options.is_a?(klass) ? options : klass.new(options || {})
49
+ object.instance_eval(&block) if block
50
+ object
51
+ end
52
+ alias_method :build_confirm_preapproval, :BuildConfirmPreapproval
53
+
54
+ # Service Call: ConvertCurrency
55
+ # @param ConvertCurrencyRequest
56
+ # @return ConvertCurrencyResponse
57
+ def ConvertCurrency(options = {} , http_header = {})
58
+ request_object = BuildConvertCurrency(options)
59
+ request_hash = request_object.to_hash
60
+ response_hash = request("ConvertCurrency", request_hash, http_header)
61
+ ConvertCurrencyResponse.new(response_hash)
62
+ end
63
+ alias_method :convert_currency, :ConvertCurrency
64
+
65
+ def BuildConvertCurrency(options = {}, &block)
66
+ klass = ConvertCurrencyRequest
67
+ object = options.is_a?(klass) ? options : klass.new(options || {})
68
+ object.instance_eval(&block) if block
69
+ object
70
+ end
71
+ alias_method :build_convert_currency, :BuildConvertCurrency
72
+
73
+ # Service Call: ExecutePayment
74
+ # @param ExecutePaymentRequest
75
+ # @return ExecutePaymentResponse
76
+ def ExecutePayment(options = {} , http_header = {})
77
+ request_object = BuildExecutePayment(options)
78
+ request_hash = request_object.to_hash
79
+ response_hash = request("ExecutePayment", request_hash, http_header)
80
+ ExecutePaymentResponse.new(response_hash)
81
+ end
82
+ alias_method :execute_payment, :ExecutePayment
83
+
84
+ def BuildExecutePayment(options = {}, &block)
85
+ klass = ExecutePaymentRequest
86
+ object = options.is_a?(klass) ? options : klass.new(options || {})
87
+ object.instance_eval(&block) if block
88
+ object
89
+ end
90
+ alias_method :build_execute_payment, :BuildExecutePayment
91
+
92
+ # Service Call: GetAllowedFundingSources
93
+ # @param GetAllowedFundingSourcesRequest
94
+ # @return GetAllowedFundingSourcesResponse
95
+ def GetAllowedFundingSources(options = {} , http_header = {})
96
+ request_object = BuildGetAllowedFundingSources(options)
97
+ request_hash = request_object.to_hash
98
+ response_hash = request("GetAllowedFundingSources", request_hash, http_header)
99
+ GetAllowedFundingSourcesResponse.new(response_hash)
100
+ end
101
+ alias_method :get_allowed_funding_sources, :GetAllowedFundingSources
102
+
103
+ def BuildGetAllowedFundingSources(options = {}, &block)
104
+ klass = GetAllowedFundingSourcesRequest
105
+ object = options.is_a?(klass) ? options : klass.new(options || {})
106
+ object.instance_eval(&block) if block
107
+ object
108
+ end
109
+ alias_method :build_get_allowed_funding_sources, :BuildGetAllowedFundingSources
110
+
111
+ # Service Call: GetPaymentOptions
112
+ # @param GetPaymentOptionsRequest
113
+ # @return GetPaymentOptionsResponse
114
+ def GetPaymentOptions(options = {} , http_header = {})
115
+ request_object = BuildGetPaymentOptions(options)
116
+ request_hash = request_object.to_hash
117
+ response_hash = request("GetPaymentOptions", request_hash, http_header)
118
+ GetPaymentOptionsResponse.new(response_hash)
119
+ end
120
+ alias_method :get_payment_options, :GetPaymentOptions
121
+
122
+ def BuildGetPaymentOptions(options = {}, &block)
123
+ klass = GetPaymentOptionsRequest
124
+ object = options.is_a?(klass) ? options : klass.new(options || {})
125
+ object.instance_eval(&block) if block
126
+ object
127
+ end
128
+ alias_method :build_get_payment_options, :BuildGetPaymentOptions
129
+
130
+ # Service Call: PaymentDetails
131
+ # @param PaymentDetailsRequest
132
+ # @return PaymentDetailsResponse
133
+ def PaymentDetails(options = {} , http_header = {})
134
+ request_object = BuildPaymentDetails(options)
135
+ request_hash = request_object.to_hash
136
+ response_hash = request("PaymentDetails", request_hash, http_header)
137
+ PaymentDetailsResponse.new(response_hash)
138
+ end
139
+ alias_method :payment_details, :PaymentDetails
140
+
141
+ def BuildPaymentDetails(options = {}, &block)
142
+ klass = PaymentDetailsRequest
143
+ object = options.is_a?(klass) ? options : klass.new(options || {})
144
+ object.instance_eval(&block) if block
145
+ object
146
+ end
147
+ alias_method :build_payment_details, :BuildPaymentDetails
148
+
149
+ # Service Call: Pay
150
+ # @param PayRequest
151
+ # @return PayResponse
152
+ def Pay(options = {} , http_header = {})
153
+ request_object = BuildPay(options)
154
+ request_hash = request_object.to_hash
155
+ response_hash = request("Pay", request_hash, http_header)
156
+ PayResponse.new(response_hash)
157
+ end
158
+ alias_method :pay, :Pay
159
+
160
+ def BuildPay(options = {}, &block)
161
+ klass = PayRequest
162
+ object = options.is_a?(klass) ? options : klass.new(options || {})
163
+ object.instance_eval(&block) if block
164
+ object
165
+ end
166
+ alias_method :build_pay, :BuildPay
167
+
168
+ # Service Call: PreapprovalDetails
169
+ # @param PreapprovalDetailsRequest
170
+ # @return PreapprovalDetailsResponse
171
+ def PreapprovalDetails(options = {} , http_header = {})
172
+ request_object = BuildPreapprovalDetails(options)
173
+ request_hash = request_object.to_hash
174
+ response_hash = request("PreapprovalDetails", request_hash, http_header)
175
+ PreapprovalDetailsResponse.new(response_hash)
176
+ end
177
+ alias_method :preapproval_details, :PreapprovalDetails
178
+
179
+ def BuildPreapprovalDetails(options = {}, &block)
180
+ klass = PreapprovalDetailsRequest
181
+ object = options.is_a?(klass) ? options : klass.new(options || {})
182
+ object.instance_eval(&block) if block
183
+ object
184
+ end
185
+ alias_method :build_preapproval_details, :BuildPreapprovalDetails
186
+
187
+ # Service Call: Preapproval
188
+ # @param PreapprovalRequest
189
+ # @return PreapprovalResponse
190
+ def Preapproval(options = {} , http_header = {})
191
+ request_object = BuildPreapproval(options)
192
+ request_hash = request_object.to_hash
193
+ response_hash = request("Preapproval", request_hash, http_header)
194
+ PreapprovalResponse.new(response_hash)
195
+ end
196
+ alias_method :preapproval, :Preapproval
197
+
198
+ def BuildPreapproval(options = {}, &block)
199
+ klass = PreapprovalRequest
200
+ object = options.is_a?(klass) ? options : klass.new(options || {})
201
+ object.instance_eval(&block) if block
202
+ object
203
+ end
204
+ alias_method :build_preapproval, :BuildPreapproval
205
+
206
+ # Service Call: Refund
207
+ # @param RefundRequest
208
+ # @return RefundResponse
209
+ def Refund(options = {} , http_header = {})
210
+ request_object = BuildRefund(options)
211
+ request_hash = request_object.to_hash
212
+ response_hash = request("Refund", request_hash, http_header)
213
+ RefundResponse.new(response_hash)
214
+ end
215
+ alias_method :refund, :Refund
216
+
217
+ def BuildRefund(options = {}, &block)
218
+ klass = RefundRequest
219
+ object = options.is_a?(klass) ? options : klass.new(options || {})
220
+ object.instance_eval(&block) if block
221
+ object
222
+ end
223
+ alias_method :build_refund, :BuildRefund
224
+
225
+ # Service Call: SetPaymentOptions
226
+ # @param SetPaymentOptionsRequest
227
+ # @return SetPaymentOptionsResponse
228
+ def SetPaymentOptions(options = {} , http_header = {})
229
+ request_object = BuildSetPaymentOptions(options)
230
+ request_hash = request_object.to_hash
231
+ response_hash = request("SetPaymentOptions", request_hash, http_header)
232
+ SetPaymentOptionsResponse.new(response_hash)
233
+ end
234
+ alias_method :set_payment_options, :SetPaymentOptions
235
+
236
+ def BuildSetPaymentOptions(options = {}, &block)
237
+ klass = SetPaymentOptionsRequest
238
+ object = options.is_a?(klass) ? options : klass.new(options || {})
239
+ object.instance_eval(&block) if block
240
+ object
241
+ end
242
+ alias_method :build_set_payment_options, :BuildSetPaymentOptions
243
+
244
+ # Service Call: GetFundingPlans
245
+ # @param GetFundingPlansRequest
246
+ # @return GetFundingPlansResponse
247
+ def GetFundingPlans(options = {} , http_header = {})
248
+ request_object = BuildGetFundingPlans(options)
249
+ request_hash = request_object.to_hash
250
+ response_hash = request("GetFundingPlans", request_hash, http_header)
251
+ GetFundingPlansResponse.new(response_hash)
252
+ end
253
+ alias_method :get_funding_plans, :GetFundingPlans
254
+
255
+ def BuildGetFundingPlans(options = {}, &block)
256
+ klass = GetFundingPlansRequest
257
+ object = options.is_a?(klass) ? options : klass.new(options || {})
258
+ object.instance_eval(&block) if block
259
+ object
260
+ end
261
+ alias_method :build_get_funding_plans, :BuildGetFundingPlans
262
+
263
+ # Service Call: GetAvailableShippingAddresses
264
+ # @param GetAvailableShippingAddressesRequest
265
+ # @return GetAvailableShippingAddressesResponse
266
+ def GetAvailableShippingAddresses(options = {} , http_header = {})
267
+ request_object = BuildGetAvailableShippingAddresses(options)
268
+ request_hash = request_object.to_hash
269
+ response_hash = request("GetAvailableShippingAddresses", request_hash, http_header)
270
+ GetAvailableShippingAddressesResponse.new(response_hash)
271
+ end
272
+ alias_method :get_available_shipping_addresses, :GetAvailableShippingAddresses
273
+
274
+ def BuildGetAvailableShippingAddresses(options = {}, &block)
275
+ klass = GetAvailableShippingAddressesRequest
276
+ object = options.is_a?(klass) ? options : klass.new(options || {})
277
+ object.instance_eval(&block) if block
278
+ object
279
+ end
280
+ alias_method :build_get_available_shipping_addresses, :BuildGetAvailableShippingAddresses
281
+
282
+ # Service Call: GetShippingAddresses
283
+ # @param GetShippingAddressesRequest
284
+ # @return GetShippingAddressesResponse
285
+ def GetShippingAddresses(options = {} , http_header = {})
286
+ request_object = BuildGetShippingAddresses(options)
287
+ request_hash = request_object.to_hash
288
+ response_hash = request("GetShippingAddresses", request_hash, http_header)
289
+ GetShippingAddressesResponse.new(response_hash)
290
+ end
291
+ alias_method :get_shipping_addresses, :GetShippingAddresses
292
+
293
+ def BuildGetShippingAddresses(options = {}, &block)
294
+ klass = GetShippingAddressesRequest
295
+ object = options.is_a?(klass) ? options : klass.new(options || {})
296
+ object.instance_eval(&block) if block
297
+ object
298
+ end
299
+ alias_method :build_get_shipping_addresses, :BuildGetShippingAddresses
300
+
301
+ # Service Call: GetUserLimits
302
+ # @param GetUserLimitsRequest
303
+ # @return GetUserLimitsResponse
304
+ def GetUserLimits(options = {} , http_header = {})
305
+ request_object = BuildGetUserLimits(options)
306
+ request_hash = request_object.to_hash
307
+ response_hash = request("GetUserLimits", request_hash, http_header)
308
+ GetUserLimitsResponse.new(response_hash)
309
+ end
310
+ alias_method :get_user_limits, :GetUserLimits
311
+
312
+ def BuildGetUserLimits(options = {}, &block)
313
+ klass = GetUserLimitsRequest
314
+ object = options.is_a?(klass) ? options : klass.new(options || {})
315
+ object.instance_eval(&block) if block
316
+ object
317
+ end
318
+ alias_method :build_get_user_limits, :BuildGetUserLimits
319
+
320
+ # Service Call: GetPrePaymentDisclosure
321
+ # @param GetPrePaymentDisclosureRequest
322
+ # @return GetPrePaymentDisclosureResponse
323
+ def GetPrePaymentDisclosure(options = {} , http_header = {})
324
+ request_object = BuildGetPrePaymentDisclosure(options)
325
+ request_hash = request_object.to_hash
326
+ response_hash = request("GetPrePaymentDisclosure", request_hash, http_header)
327
+ GetPrePaymentDisclosureResponse.new(response_hash)
328
+ end
329
+ alias_method :get_pre_payment_disclosure, :GetPrePaymentDisclosure
330
+
331
+ def BuildGetPrePaymentDisclosure(options = {}, &block)
332
+ klass = GetPrePaymentDisclosureRequest
333
+ object = options.is_a?(klass) ? options : klass.new(options || {})
334
+ object.instance_eval(&block) if block
335
+ object
336
+ end
337
+ alias_method :build_get_pre_payment_disclosure, :BuildGetPrePaymentDisclosure
338
+
339
+
340
+ end
341
+
342
+ end
343
+ end