amazon-fps-ruby 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/AUTHORS +1 -0
- data/History.txt +10 -0
- data/INSTALL +48 -0
- data/LICENSE +21 -0
- data/Manifest.txt +23 -0
- data/README.txt +38 -0
- data/Rakefile +20 -0
- data/TODO +3 -0
- data/cache/AmazonFPS.wsdl +579 -0
- data/cache/AmazonFPS.xsd +982 -0
- data/certs/afps-sdk-keystore.p12 +0 -0
- data/certs/aws.cer +16 -0
- data/certs/aws.cer.key +14 -0
- data/examples/README.txt +1 -0
- data/examples/generated_client.rb +349 -0
- data/lib/AmazonFPSClient.rb +360 -0
- data/lib/amazon_fps.rb +90 -0
- data/lib/aws_credentials.rb +41 -0
- data/lib/default.rb +1766 -0
- data/lib/defaultDriver.rb +273 -0
- data/lib/defaultMappingRegistry.rb +1364 -0
- data/lib/rexml_extensions.rb +17 -0
- data/test/test_amazon_fps.rb +85 -0
- metadata +108 -0
Binary file
|
data/certs/aws.cer
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIICdzCCAeCgAwIBAgIGAMtF+w19MA0GCSqGSIb3DQEBBQUAMFMxCzAJBgNVBAYT
|
3
|
+
AlVTMRMwEQYDVQQKEwpBbWF6b24uY29tMQwwCgYDVQQLEwNBV1MxITAfBgNVBAMT
|
4
|
+
GEFXUyBMaW1pdGVkLUFzc3VyYW5jZSBDQTAeFw0wODExMDcwMzQ2NDNaFw0wOTEx
|
5
|
+
MDcwMzQ2NDNaMFIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBbWF6b24uY29tMRcw
|
6
|
+
FQYDVQQLEw5BV1MtRGV2ZWxvcGVyczEVMBMGA1UEAxMMMjQwd2FicmIxMmgyMIGf
|
7
|
+
MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMfldxwe6Hv3xaHuTvnMGEpaOVt2it
|
8
|
+
t7oRKaGPxFZs2s+hMDypky+QxbKRvdHCw2OCPmqhPHkQeAs3PfBnPrdt9w+xy2MI
|
9
|
+
LSKkchFKCeRLi1Zk+t2oeVpYwI75dwpKgKQXJxgqZqMKCfovKbil44N4liz5n87s
|
10
|
+
bMMrqqAvPp6ACQIDAQABo1cwVTAOBgNVHQ8BAf8EBAMCBaAwFgYDVR0lAQH/BAww
|
11
|
+
CgYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUxN477KBmPRYaYdgm
|
12
|
+
lQ5T4EbYro4wDQYJKoZIhvcNAQEFBQADgYEAY4vzGDGbBToKErXCagxym8BiI4JJ
|
13
|
+
rYWBfNw46xaWjbE+KgF8OUNU67wB4KA+ybFO+VB55aFHZqz9sxh2WHJLdXhDNNFe
|
14
|
+
Oh8+1JCNl99pFaUWEDN5zOZU+R16d7C9lx5Ec6Cm2S7xL+w9G+fLNuidIWV+7gYY
|
15
|
+
lDRI4fDmoeB/nng=
|
16
|
+
-----END CERTIFICATE-----
|
data/certs/aws.cer.key
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
-----BEGIN PRIVATE KEY-----
|
2
|
+
MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAIx+V3HB7oe/fFoe5O+cwYSlo5W3
|
3
|
+
aK23uhEpoY/EVmzaz6EwPKmTL5DFspG90cLDY4I+aqE8eRB4Czc98Gc+t233D7HLYwgtIqRyEUoJ
|
4
|
+
5EuLVmT63ah5WljAjvl3CkqApBcnGCpmowoJ+i8puKXjg3iWLPmfzuxswyuqoC8+noAJAgMBAAEC
|
5
|
+
gYEAik8euujWcGE8hGQBsTo68OE4B/4FWW+UB61aVfRNuOA4o1Cfh7lUjEt0HjImvHwqDGByDMVB
|
6
|
+
0cq8D+g0MQ/29x9QdQ0Uvq8ScVnJsIIN3YtiP95ZzYVjGo7ipM2XC99+1nKNcw3+WYRciIFjQn4m
|
7
|
+
ZzHf+A7LotUvhybNslg8fOECQQDB9t7HoEacjz846OMWgPsSYU4qM5ayt7wix2gM5u4YnKCFblG8
|
8
|
+
pX3vREMPrINwi+jmuBlOksNxw5kEDPq8RWWFAkEAuW13Oz2UNmm7Hn9YY724YOWeCcmNF9LWcb9E
|
9
|
+
uO7YG2P+pSPF5/SM0NQTI1tjuye53u6AB5OO5XOHa5XHmVOltQJBALwTH6OborxOHfSVxRReDpWc
|
10
|
+
6oj7KuWySOfESP0xsq8EuJWJChKMuZcWrpv1ICIyV6vX2RoaLw8RpT6LQ1jpRW0CQAvVFmSrW0fV
|
11
|
+
m2Eo0yUaOCfGvzz0pZI9m/2KLQJ4C0ZELT2weLKCgnHY9pes/0I0GMJHCdhx7A5sPtn4ptH76nkC
|
12
|
+
QQCGwc3P3anOTdnAeE0ipyTBiwYz8dJnML+NjpcbqLMfP1gXO82VmcMwWublPpR/HpttbLpYuAue
|
13
|
+
cYQFQ7pTIkOM
|
14
|
+
-----END PRIVATE KEY-----
|
data/examples/README.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
The best examples are in /test
|
@@ -0,0 +1,349 @@
|
|
1
|
+
# SYNOPSIS
|
2
|
+
# InstallPaymentInstructionBatch(body)
|
3
|
+
#
|
4
|
+
# ARGS
|
5
|
+
# body InstallPaymentInstructionBatchRequest - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionBatchRequest
|
6
|
+
#
|
7
|
+
# RETURNS
|
8
|
+
# body InstallPaymentInstructionBatchResponse - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionBatchResponse
|
9
|
+
#
|
10
|
+
body = nil
|
11
|
+
puts obj.installPaymentInstructionBatch(body)
|
12
|
+
|
13
|
+
# SYNOPSIS
|
14
|
+
# InstallPaymentInstruction(body)
|
15
|
+
#
|
16
|
+
# ARGS
|
17
|
+
# body InstallPaymentInstructionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionRequest
|
18
|
+
#
|
19
|
+
# RETURNS
|
20
|
+
# body InstallPaymentInstructionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionResponse
|
21
|
+
#
|
22
|
+
body = nil
|
23
|
+
puts obj.installPaymentInstruction(body)
|
24
|
+
|
25
|
+
# SYNOPSIS
|
26
|
+
# GetTokenUsage(body)
|
27
|
+
#
|
28
|
+
# ARGS
|
29
|
+
# body GetTokenUsageRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenUsageRequest
|
30
|
+
#
|
31
|
+
# RETURNS
|
32
|
+
# body GetTokenUsageResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenUsageResponse
|
33
|
+
#
|
34
|
+
body = nil
|
35
|
+
puts obj.getTokenUsage(body)
|
36
|
+
|
37
|
+
# SYNOPSIS
|
38
|
+
# GetPrepaidBalance(body)
|
39
|
+
#
|
40
|
+
# ARGS
|
41
|
+
# body GetPrepaidBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetPrepaidBalanceRequest
|
42
|
+
#
|
43
|
+
# RETURNS
|
44
|
+
# body GetPrepaidBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetPrepaidBalanceResponse
|
45
|
+
#
|
46
|
+
body = nil
|
47
|
+
puts obj.getPrepaidBalance(body)
|
48
|
+
|
49
|
+
# SYNOPSIS
|
50
|
+
# GetDebtBalance(body)
|
51
|
+
#
|
52
|
+
# ARGS
|
53
|
+
# body GetDebtBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetDebtBalanceRequest
|
54
|
+
#
|
55
|
+
# RETURNS
|
56
|
+
# body GetDebtBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetDebtBalanceResponse
|
57
|
+
#
|
58
|
+
body = nil
|
59
|
+
puts obj.getDebtBalance(body)
|
60
|
+
|
61
|
+
# SYNOPSIS
|
62
|
+
# GetTotalPrepaidLiability(body)
|
63
|
+
#
|
64
|
+
# ARGS
|
65
|
+
# body GetTotalPrepaidLiabilityRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTotalPrepaidLiabilityRequest
|
66
|
+
#
|
67
|
+
# RETURNS
|
68
|
+
# body GetTotalPrepaidLiabilityResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTotalPrepaidLiabilityResponse
|
69
|
+
#
|
70
|
+
body = nil
|
71
|
+
puts obj.getTotalPrepaidLiability(body)
|
72
|
+
|
73
|
+
# SYNOPSIS
|
74
|
+
# GetOutstandingDebtBalance(body)
|
75
|
+
#
|
76
|
+
# ARGS
|
77
|
+
# body GetOutstandingDebtBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetOutstandingDebtBalanceRequest
|
78
|
+
#
|
79
|
+
# RETURNS
|
80
|
+
# body GetOutstandingDebtBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetOutstandingDebtBalanceResponse
|
81
|
+
#
|
82
|
+
body = nil
|
83
|
+
puts obj.getOutstandingDebtBalance(body)
|
84
|
+
|
85
|
+
# SYNOPSIS
|
86
|
+
# SettleDebt(body)
|
87
|
+
#
|
88
|
+
# ARGS
|
89
|
+
# body SettleDebtRequest - {http://fps.amazonaws.com/doc/2007-01-08/}SettleDebtRequest
|
90
|
+
#
|
91
|
+
# RETURNS
|
92
|
+
# body SettleDebtResponse - {http://fps.amazonaws.com/doc/2007-01-08/}SettleDebtResponse
|
93
|
+
#
|
94
|
+
body = nil
|
95
|
+
puts obj.settleDebt(body)
|
96
|
+
|
97
|
+
# SYNOPSIS
|
98
|
+
# WriteOffDebt(body)
|
99
|
+
#
|
100
|
+
# ARGS
|
101
|
+
# body WriteOffDebtRequest - {http://fps.amazonaws.com/doc/2007-01-08/}WriteOffDebtRequest
|
102
|
+
#
|
103
|
+
# RETURNS
|
104
|
+
# body WriteOffDebtResponse - {http://fps.amazonaws.com/doc/2007-01-08/}WriteOffDebtResponse
|
105
|
+
#
|
106
|
+
body = nil
|
107
|
+
puts obj.writeOffDebt(body)
|
108
|
+
|
109
|
+
# SYNOPSIS
|
110
|
+
# FundPrepaid(body)
|
111
|
+
#
|
112
|
+
# ARGS
|
113
|
+
# body FundPrepaidRequest - {http://fps.amazonaws.com/doc/2007-01-08/}FundPrepaidRequest
|
114
|
+
#
|
115
|
+
# RETURNS
|
116
|
+
# body FundPrepaidResponse - {http://fps.amazonaws.com/doc/2007-01-08/}FundPrepaidResponse
|
117
|
+
#
|
118
|
+
body = nil
|
119
|
+
puts obj.fundPrepaid(body)
|
120
|
+
|
121
|
+
# SYNOPSIS
|
122
|
+
# SubscribeForCallerNotification(body)
|
123
|
+
#
|
124
|
+
# ARGS
|
125
|
+
# body SubscribeForCallerNotificationRequest - {http://fps.amazonaws.com/doc/2007-01-08/}SubscribeForCallerNotificationRequest
|
126
|
+
#
|
127
|
+
# RETURNS
|
128
|
+
# body SubscribeForCallerNotificationResponse - {http://fps.amazonaws.com/doc/2007-01-08/}SubscribeForCallerNotificationResponse
|
129
|
+
#
|
130
|
+
body = nil
|
131
|
+
puts obj.subscribeForCallerNotification(body)
|
132
|
+
|
133
|
+
# SYNOPSIS
|
134
|
+
# UnSubscribeForCallerNotification(body)
|
135
|
+
#
|
136
|
+
# ARGS
|
137
|
+
# body UnSubscribeForCallerNotificationRequest - {http://fps.amazonaws.com/doc/2007-01-08/}UnSubscribeForCallerNotificationRequest
|
138
|
+
#
|
139
|
+
# RETURNS
|
140
|
+
# body UnSubscribeForCallerNotificationResponse - {http://fps.amazonaws.com/doc/2007-01-08/}UnSubscribeForCallerNotificationResponse
|
141
|
+
#
|
142
|
+
body = nil
|
143
|
+
puts obj.unSubscribeForCallerNotification(body)
|
144
|
+
|
145
|
+
# SYNOPSIS
|
146
|
+
# GetAllCreditInstruments(body)
|
147
|
+
#
|
148
|
+
# ARGS
|
149
|
+
# body GetAllCreditInstrumentsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllCreditInstrumentsRequest
|
150
|
+
#
|
151
|
+
# RETURNS
|
152
|
+
# body GetAllCreditInstrumentsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllCreditInstrumentsResponse
|
153
|
+
#
|
154
|
+
body = nil
|
155
|
+
puts obj.getAllCreditInstruments(body)
|
156
|
+
|
157
|
+
# SYNOPSIS
|
158
|
+
# GetAllPrepaidInstruments(body)
|
159
|
+
#
|
160
|
+
# ARGS
|
161
|
+
# body GetAllPrepaidInstrumentsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllPrepaidInstrumentsRequest
|
162
|
+
#
|
163
|
+
# RETURNS
|
164
|
+
# body GetAllPrepaidInstrumentsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllPrepaidInstrumentsResponse
|
165
|
+
#
|
166
|
+
body = nil
|
167
|
+
puts obj.getAllPrepaidInstruments(body)
|
168
|
+
|
169
|
+
# SYNOPSIS
|
170
|
+
# GetAccountBalance(body)
|
171
|
+
#
|
172
|
+
# ARGS
|
173
|
+
# body GetAccountBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountBalanceRequest
|
174
|
+
#
|
175
|
+
# RETURNS
|
176
|
+
# body GetAccountBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountBalanceResponse
|
177
|
+
#
|
178
|
+
body = nil
|
179
|
+
puts obj.getAccountBalance(body)
|
180
|
+
|
181
|
+
# SYNOPSIS
|
182
|
+
# GetAccountActivity(body)
|
183
|
+
#
|
184
|
+
# ARGS
|
185
|
+
# body GetAccountActivityRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountActivityRequest
|
186
|
+
#
|
187
|
+
# RETURNS
|
188
|
+
# body GetAccountActivityResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountActivityResponse
|
189
|
+
#
|
190
|
+
body = nil
|
191
|
+
puts obj.getAccountActivity(body)
|
192
|
+
|
193
|
+
# SYNOPSIS
|
194
|
+
# GetTokens(body)
|
195
|
+
#
|
196
|
+
# ARGS
|
197
|
+
# body GetTokensRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokensRequest
|
198
|
+
#
|
199
|
+
# RETURNS
|
200
|
+
# body GetTokensResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokensResponse
|
201
|
+
#
|
202
|
+
body = nil
|
203
|
+
puts obj.getTokens(body)
|
204
|
+
|
205
|
+
# SYNOPSIS
|
206
|
+
# GetPaymentInstruction(body)
|
207
|
+
#
|
208
|
+
# ARGS
|
209
|
+
# body GetPaymentInstructionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetPaymentInstructionRequest
|
210
|
+
#
|
211
|
+
# RETURNS
|
212
|
+
# body GetPaymentInstructionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetPaymentInstructionResponse
|
213
|
+
#
|
214
|
+
body = nil
|
215
|
+
puts obj.getPaymentInstruction(body)
|
216
|
+
|
217
|
+
# SYNOPSIS
|
218
|
+
# CancelToken(body)
|
219
|
+
#
|
220
|
+
# ARGS
|
221
|
+
# body CancelTokenRequest - {http://fps.amazonaws.com/doc/2007-01-08/}CancelTokenRequest
|
222
|
+
#
|
223
|
+
# RETURNS
|
224
|
+
# body CancelTokenResponse - {http://fps.amazonaws.com/doc/2007-01-08/}CancelTokenResponse
|
225
|
+
#
|
226
|
+
body = nil
|
227
|
+
puts obj.cancelToken(body)
|
228
|
+
|
229
|
+
# SYNOPSIS
|
230
|
+
# PayBatch(body)
|
231
|
+
#
|
232
|
+
# ARGS
|
233
|
+
# body PayBatchRequest - {http://fps.amazonaws.com/doc/2007-01-08/}PayBatchRequest
|
234
|
+
#
|
235
|
+
# RETURNS
|
236
|
+
# body PayBatchResponse - {http://fps.amazonaws.com/doc/2007-01-08/}PayBatchResponse
|
237
|
+
#
|
238
|
+
body = nil
|
239
|
+
puts obj.payBatch(body)
|
240
|
+
|
241
|
+
# SYNOPSIS
|
242
|
+
# Pay(body)
|
243
|
+
#
|
244
|
+
# ARGS
|
245
|
+
# body PayRequest - {http://fps.amazonaws.com/doc/2007-01-08/}PayRequest
|
246
|
+
#
|
247
|
+
# RETURNS
|
248
|
+
# body PayResponse - {http://fps.amazonaws.com/doc/2007-01-08/}PayResponse
|
249
|
+
#
|
250
|
+
body = nil
|
251
|
+
puts obj.pay(body)
|
252
|
+
|
253
|
+
# SYNOPSIS
|
254
|
+
# Reserve(body)
|
255
|
+
#
|
256
|
+
# ARGS
|
257
|
+
# body ReserveRequest - {http://fps.amazonaws.com/doc/2007-01-08/}ReserveRequest
|
258
|
+
#
|
259
|
+
# RETURNS
|
260
|
+
# body ReserveResponse - {http://fps.amazonaws.com/doc/2007-01-08/}ReserveResponse
|
261
|
+
#
|
262
|
+
body = nil
|
263
|
+
puts obj.reserve(body)
|
264
|
+
|
265
|
+
# SYNOPSIS
|
266
|
+
# Settle(body)
|
267
|
+
#
|
268
|
+
# ARGS
|
269
|
+
# body SettleRequest - {http://fps.amazonaws.com/doc/2007-01-08/}SettleRequest
|
270
|
+
#
|
271
|
+
# RETURNS
|
272
|
+
# body SettleResponse - {http://fps.amazonaws.com/doc/2007-01-08/}SettleResponse
|
273
|
+
#
|
274
|
+
body = nil
|
275
|
+
puts obj.settle(body)
|
276
|
+
|
277
|
+
# SYNOPSIS
|
278
|
+
# Refund(body)
|
279
|
+
#
|
280
|
+
# ARGS
|
281
|
+
# body RefundRequest - {http://fps.amazonaws.com/doc/2007-01-08/}RefundRequest
|
282
|
+
#
|
283
|
+
# RETURNS
|
284
|
+
# body RefundResponse - {http://fps.amazonaws.com/doc/2007-01-08/}RefundResponse
|
285
|
+
#
|
286
|
+
body = nil
|
287
|
+
puts obj.refund(body)
|
288
|
+
|
289
|
+
# SYNOPSIS
|
290
|
+
# GetResults(body)
|
291
|
+
#
|
292
|
+
# ARGS
|
293
|
+
# body GetResultsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetResultsRequest
|
294
|
+
#
|
295
|
+
# RETURNS
|
296
|
+
# body GetResultsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetResultsResponse
|
297
|
+
#
|
298
|
+
body = nil
|
299
|
+
puts obj.getResults(body)
|
300
|
+
|
301
|
+
# SYNOPSIS
|
302
|
+
# DiscardResults(body)
|
303
|
+
#
|
304
|
+
# ARGS
|
305
|
+
# body DiscardResultsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}DiscardResultsRequest
|
306
|
+
#
|
307
|
+
# RETURNS
|
308
|
+
# body DiscardResultsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}DiscardResultsResponse
|
309
|
+
#
|
310
|
+
body = nil
|
311
|
+
puts obj.discardResults(body)
|
312
|
+
|
313
|
+
# SYNOPSIS
|
314
|
+
# GetTransaction(body)
|
315
|
+
#
|
316
|
+
# ARGS
|
317
|
+
# body GetTransactionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTransactionRequest
|
318
|
+
#
|
319
|
+
# RETURNS
|
320
|
+
# body GetTransactionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTransactionResponse
|
321
|
+
#
|
322
|
+
body = nil
|
323
|
+
puts obj.getTransaction(body)
|
324
|
+
|
325
|
+
# SYNOPSIS
|
326
|
+
# RetryTransaction(body)
|
327
|
+
#
|
328
|
+
# ARGS
|
329
|
+
# body RetryTransactionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}RetryTransactionRequest
|
330
|
+
#
|
331
|
+
# RETURNS
|
332
|
+
# body RetryTransactionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}RetryTransactionResponse
|
333
|
+
#
|
334
|
+
body = nil
|
335
|
+
puts obj.retryTransaction(body)
|
336
|
+
|
337
|
+
# SYNOPSIS
|
338
|
+
# GetTokenByCaller(body)
|
339
|
+
#
|
340
|
+
# ARGS
|
341
|
+
# body GetTokenByCallerRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenByCallerRequest
|
342
|
+
#
|
343
|
+
# RETURNS
|
344
|
+
# body GetTokenByCallerResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenByCallerResponse
|
345
|
+
#
|
346
|
+
body = nil
|
347
|
+
puts obj.getTokenByCaller(body)
|
348
|
+
|
349
|
+
|
@@ -0,0 +1,360 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# Auto-generated file from wsdl2ruby.rb, not used
|
4
|
+
require 'defaultDriver.rb'
|
5
|
+
|
6
|
+
endpoint_url = ARGV.shift
|
7
|
+
obj = AmazonFPSPortType.new(endpoint_url)
|
8
|
+
|
9
|
+
# run ruby with -d to see SOAP wiredumps.
|
10
|
+
obj.wiredump_dev = STDERR if $DEBUG
|
11
|
+
|
12
|
+
# SYNOPSIS
|
13
|
+
# InstallPaymentInstructionBatch(body)
|
14
|
+
#
|
15
|
+
# ARGS
|
16
|
+
# body InstallPaymentInstructionBatchRequest - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionBatchRequest
|
17
|
+
#
|
18
|
+
# RETURNS
|
19
|
+
# body InstallPaymentInstructionBatchResponse - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionBatchResponse
|
20
|
+
#
|
21
|
+
body = nil
|
22
|
+
puts obj.installPaymentInstructionBatch(body)
|
23
|
+
|
24
|
+
# SYNOPSIS
|
25
|
+
# InstallPaymentInstruction(body)
|
26
|
+
#
|
27
|
+
# ARGS
|
28
|
+
# body InstallPaymentInstructionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionRequest
|
29
|
+
#
|
30
|
+
# RETURNS
|
31
|
+
# body InstallPaymentInstructionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionResponse
|
32
|
+
#
|
33
|
+
body = nil
|
34
|
+
puts obj.installPaymentInstruction(body)
|
35
|
+
|
36
|
+
# SYNOPSIS
|
37
|
+
# GetTokenUsage(body)
|
38
|
+
#
|
39
|
+
# ARGS
|
40
|
+
# body GetTokenUsageRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenUsageRequest
|
41
|
+
#
|
42
|
+
# RETURNS
|
43
|
+
# body GetTokenUsageResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenUsageResponse
|
44
|
+
#
|
45
|
+
body = nil
|
46
|
+
puts obj.getTokenUsage(body)
|
47
|
+
|
48
|
+
# SYNOPSIS
|
49
|
+
# GetPrepaidBalance(body)
|
50
|
+
#
|
51
|
+
# ARGS
|
52
|
+
# body GetPrepaidBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetPrepaidBalanceRequest
|
53
|
+
#
|
54
|
+
# RETURNS
|
55
|
+
# body GetPrepaidBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetPrepaidBalanceResponse
|
56
|
+
#
|
57
|
+
body = nil
|
58
|
+
puts obj.getPrepaidBalance(body)
|
59
|
+
|
60
|
+
# SYNOPSIS
|
61
|
+
# GetDebtBalance(body)
|
62
|
+
#
|
63
|
+
# ARGS
|
64
|
+
# body GetDebtBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetDebtBalanceRequest
|
65
|
+
#
|
66
|
+
# RETURNS
|
67
|
+
# body GetDebtBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetDebtBalanceResponse
|
68
|
+
#
|
69
|
+
body = nil
|
70
|
+
puts obj.getDebtBalance(body)
|
71
|
+
|
72
|
+
# SYNOPSIS
|
73
|
+
# GetTotalPrepaidLiability(body)
|
74
|
+
#
|
75
|
+
# ARGS
|
76
|
+
# body GetTotalPrepaidLiabilityRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTotalPrepaidLiabilityRequest
|
77
|
+
#
|
78
|
+
# RETURNS
|
79
|
+
# body GetTotalPrepaidLiabilityResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTotalPrepaidLiabilityResponse
|
80
|
+
#
|
81
|
+
body = nil
|
82
|
+
puts obj.getTotalPrepaidLiability(body)
|
83
|
+
|
84
|
+
# SYNOPSIS
|
85
|
+
# GetOutstandingDebtBalance(body)
|
86
|
+
#
|
87
|
+
# ARGS
|
88
|
+
# body GetOutstandingDebtBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetOutstandingDebtBalanceRequest
|
89
|
+
#
|
90
|
+
# RETURNS
|
91
|
+
# body GetOutstandingDebtBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetOutstandingDebtBalanceResponse
|
92
|
+
#
|
93
|
+
body = nil
|
94
|
+
puts obj.getOutstandingDebtBalance(body)
|
95
|
+
|
96
|
+
# SYNOPSIS
|
97
|
+
# SettleDebt(body)
|
98
|
+
#
|
99
|
+
# ARGS
|
100
|
+
# body SettleDebtRequest - {http://fps.amazonaws.com/doc/2007-01-08/}SettleDebtRequest
|
101
|
+
#
|
102
|
+
# RETURNS
|
103
|
+
# body SettleDebtResponse - {http://fps.amazonaws.com/doc/2007-01-08/}SettleDebtResponse
|
104
|
+
#
|
105
|
+
body = nil
|
106
|
+
puts obj.settleDebt(body)
|
107
|
+
|
108
|
+
# SYNOPSIS
|
109
|
+
# WriteOffDebt(body)
|
110
|
+
#
|
111
|
+
# ARGS
|
112
|
+
# body WriteOffDebtRequest - {http://fps.amazonaws.com/doc/2007-01-08/}WriteOffDebtRequest
|
113
|
+
#
|
114
|
+
# RETURNS
|
115
|
+
# body WriteOffDebtResponse - {http://fps.amazonaws.com/doc/2007-01-08/}WriteOffDebtResponse
|
116
|
+
#
|
117
|
+
body = nil
|
118
|
+
puts obj.writeOffDebt(body)
|
119
|
+
|
120
|
+
# SYNOPSIS
|
121
|
+
# FundPrepaid(body)
|
122
|
+
#
|
123
|
+
# ARGS
|
124
|
+
# body FundPrepaidRequest - {http://fps.amazonaws.com/doc/2007-01-08/}FundPrepaidRequest
|
125
|
+
#
|
126
|
+
# RETURNS
|
127
|
+
# body FundPrepaidResponse - {http://fps.amazonaws.com/doc/2007-01-08/}FundPrepaidResponse
|
128
|
+
#
|
129
|
+
body = nil
|
130
|
+
puts obj.fundPrepaid(body)
|
131
|
+
|
132
|
+
# SYNOPSIS
|
133
|
+
# SubscribeForCallerNotification(body)
|
134
|
+
#
|
135
|
+
# ARGS
|
136
|
+
# body SubscribeForCallerNotificationRequest - {http://fps.amazonaws.com/doc/2007-01-08/}SubscribeForCallerNotificationRequest
|
137
|
+
#
|
138
|
+
# RETURNS
|
139
|
+
# body SubscribeForCallerNotificationResponse - {http://fps.amazonaws.com/doc/2007-01-08/}SubscribeForCallerNotificationResponse
|
140
|
+
#
|
141
|
+
body = nil
|
142
|
+
puts obj.subscribeForCallerNotification(body)
|
143
|
+
|
144
|
+
# SYNOPSIS
|
145
|
+
# UnSubscribeForCallerNotification(body)
|
146
|
+
#
|
147
|
+
# ARGS
|
148
|
+
# body UnSubscribeForCallerNotificationRequest - {http://fps.amazonaws.com/doc/2007-01-08/}UnSubscribeForCallerNotificationRequest
|
149
|
+
#
|
150
|
+
# RETURNS
|
151
|
+
# body UnSubscribeForCallerNotificationResponse - {http://fps.amazonaws.com/doc/2007-01-08/}UnSubscribeForCallerNotificationResponse
|
152
|
+
#
|
153
|
+
body = nil
|
154
|
+
puts obj.unSubscribeForCallerNotification(body)
|
155
|
+
|
156
|
+
# SYNOPSIS
|
157
|
+
# GetAllCreditInstruments(body)
|
158
|
+
#
|
159
|
+
# ARGS
|
160
|
+
# body GetAllCreditInstrumentsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllCreditInstrumentsRequest
|
161
|
+
#
|
162
|
+
# RETURNS
|
163
|
+
# body GetAllCreditInstrumentsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllCreditInstrumentsResponse
|
164
|
+
#
|
165
|
+
body = nil
|
166
|
+
puts obj.getAllCreditInstruments(body)
|
167
|
+
|
168
|
+
# SYNOPSIS
|
169
|
+
# GetAllPrepaidInstruments(body)
|
170
|
+
#
|
171
|
+
# ARGS
|
172
|
+
# body GetAllPrepaidInstrumentsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllPrepaidInstrumentsRequest
|
173
|
+
#
|
174
|
+
# RETURNS
|
175
|
+
# body GetAllPrepaidInstrumentsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllPrepaidInstrumentsResponse
|
176
|
+
#
|
177
|
+
body = nil
|
178
|
+
puts obj.getAllPrepaidInstruments(body)
|
179
|
+
|
180
|
+
# SYNOPSIS
|
181
|
+
# GetAccountBalance(body)
|
182
|
+
#
|
183
|
+
# ARGS
|
184
|
+
# body GetAccountBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountBalanceRequest
|
185
|
+
#
|
186
|
+
# RETURNS
|
187
|
+
# body GetAccountBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountBalanceResponse
|
188
|
+
#
|
189
|
+
body = nil
|
190
|
+
puts obj.getAccountBalance(body)
|
191
|
+
|
192
|
+
# SYNOPSIS
|
193
|
+
# GetAccountActivity(body)
|
194
|
+
#
|
195
|
+
# ARGS
|
196
|
+
# body GetAccountActivityRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountActivityRequest
|
197
|
+
#
|
198
|
+
# RETURNS
|
199
|
+
# body GetAccountActivityResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountActivityResponse
|
200
|
+
#
|
201
|
+
body = nil
|
202
|
+
puts obj.getAccountActivity(body)
|
203
|
+
|
204
|
+
# SYNOPSIS
|
205
|
+
# GetTokens(body)
|
206
|
+
#
|
207
|
+
# ARGS
|
208
|
+
# body GetTokensRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokensRequest
|
209
|
+
#
|
210
|
+
# RETURNS
|
211
|
+
# body GetTokensResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokensResponse
|
212
|
+
#
|
213
|
+
body = nil
|
214
|
+
puts obj.getTokens(body)
|
215
|
+
|
216
|
+
# SYNOPSIS
|
217
|
+
# GetPaymentInstruction(body)
|
218
|
+
#
|
219
|
+
# ARGS
|
220
|
+
# body GetPaymentInstructionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetPaymentInstructionRequest
|
221
|
+
#
|
222
|
+
# RETURNS
|
223
|
+
# body GetPaymentInstructionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetPaymentInstructionResponse
|
224
|
+
#
|
225
|
+
body = nil
|
226
|
+
puts obj.getPaymentInstruction(body)
|
227
|
+
|
228
|
+
# SYNOPSIS
|
229
|
+
# CancelToken(body)
|
230
|
+
#
|
231
|
+
# ARGS
|
232
|
+
# body CancelTokenRequest - {http://fps.amazonaws.com/doc/2007-01-08/}CancelTokenRequest
|
233
|
+
#
|
234
|
+
# RETURNS
|
235
|
+
# body CancelTokenResponse - {http://fps.amazonaws.com/doc/2007-01-08/}CancelTokenResponse
|
236
|
+
#
|
237
|
+
body = nil
|
238
|
+
puts obj.cancelToken(body)
|
239
|
+
|
240
|
+
# SYNOPSIS
|
241
|
+
# PayBatch(body)
|
242
|
+
#
|
243
|
+
# ARGS
|
244
|
+
# body PayBatchRequest - {http://fps.amazonaws.com/doc/2007-01-08/}PayBatchRequest
|
245
|
+
#
|
246
|
+
# RETURNS
|
247
|
+
# body PayBatchResponse - {http://fps.amazonaws.com/doc/2007-01-08/}PayBatchResponse
|
248
|
+
#
|
249
|
+
body = nil
|
250
|
+
puts obj.payBatch(body)
|
251
|
+
|
252
|
+
# SYNOPSIS
|
253
|
+
# Pay(body)
|
254
|
+
#
|
255
|
+
# ARGS
|
256
|
+
# body PayRequest - {http://fps.amazonaws.com/doc/2007-01-08/}PayRequest
|
257
|
+
#
|
258
|
+
# RETURNS
|
259
|
+
# body PayResponse - {http://fps.amazonaws.com/doc/2007-01-08/}PayResponse
|
260
|
+
#
|
261
|
+
body = nil
|
262
|
+
puts obj.pay(body)
|
263
|
+
|
264
|
+
# SYNOPSIS
|
265
|
+
# Reserve(body)
|
266
|
+
#
|
267
|
+
# ARGS
|
268
|
+
# body ReserveRequest - {http://fps.amazonaws.com/doc/2007-01-08/}ReserveRequest
|
269
|
+
#
|
270
|
+
# RETURNS
|
271
|
+
# body ReserveResponse - {http://fps.amazonaws.com/doc/2007-01-08/}ReserveResponse
|
272
|
+
#
|
273
|
+
body = nil
|
274
|
+
puts obj.reserve(body)
|
275
|
+
|
276
|
+
# SYNOPSIS
|
277
|
+
# Settle(body)
|
278
|
+
#
|
279
|
+
# ARGS
|
280
|
+
# body SettleRequest - {http://fps.amazonaws.com/doc/2007-01-08/}SettleRequest
|
281
|
+
#
|
282
|
+
# RETURNS
|
283
|
+
# body SettleResponse - {http://fps.amazonaws.com/doc/2007-01-08/}SettleResponse
|
284
|
+
#
|
285
|
+
body = nil
|
286
|
+
puts obj.settle(body)
|
287
|
+
|
288
|
+
# SYNOPSIS
|
289
|
+
# Refund(body)
|
290
|
+
#
|
291
|
+
# ARGS
|
292
|
+
# body RefundRequest - {http://fps.amazonaws.com/doc/2007-01-08/}RefundRequest
|
293
|
+
#
|
294
|
+
# RETURNS
|
295
|
+
# body RefundResponse - {http://fps.amazonaws.com/doc/2007-01-08/}RefundResponse
|
296
|
+
#
|
297
|
+
body = nil
|
298
|
+
puts obj.refund(body)
|
299
|
+
|
300
|
+
# SYNOPSIS
|
301
|
+
# GetResults(body)
|
302
|
+
#
|
303
|
+
# ARGS
|
304
|
+
# body GetResultsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetResultsRequest
|
305
|
+
#
|
306
|
+
# RETURNS
|
307
|
+
# body GetResultsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetResultsResponse
|
308
|
+
#
|
309
|
+
body = nil
|
310
|
+
puts obj.getResults(body)
|
311
|
+
|
312
|
+
# SYNOPSIS
|
313
|
+
# DiscardResults(body)
|
314
|
+
#
|
315
|
+
# ARGS
|
316
|
+
# body DiscardResultsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}DiscardResultsRequest
|
317
|
+
#
|
318
|
+
# RETURNS
|
319
|
+
# body DiscardResultsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}DiscardResultsResponse
|
320
|
+
#
|
321
|
+
body = nil
|
322
|
+
puts obj.discardResults(body)
|
323
|
+
|
324
|
+
# SYNOPSIS
|
325
|
+
# GetTransaction(body)
|
326
|
+
#
|
327
|
+
# ARGS
|
328
|
+
# body GetTransactionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTransactionRequest
|
329
|
+
#
|
330
|
+
# RETURNS
|
331
|
+
# body GetTransactionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTransactionResponse
|
332
|
+
#
|
333
|
+
body = nil
|
334
|
+
puts obj.getTransaction(body)
|
335
|
+
|
336
|
+
# SYNOPSIS
|
337
|
+
# RetryTransaction(body)
|
338
|
+
#
|
339
|
+
# ARGS
|
340
|
+
# body RetryTransactionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}RetryTransactionRequest
|
341
|
+
#
|
342
|
+
# RETURNS
|
343
|
+
# body RetryTransactionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}RetryTransactionResponse
|
344
|
+
#
|
345
|
+
body = nil
|
346
|
+
puts obj.retryTransaction(body)
|
347
|
+
|
348
|
+
# SYNOPSIS
|
349
|
+
# GetTokenByCaller(body)
|
350
|
+
#
|
351
|
+
# ARGS
|
352
|
+
# body GetTokenByCallerRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenByCallerRequest
|
353
|
+
#
|
354
|
+
# RETURNS
|
355
|
+
# body GetTokenByCallerResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenByCallerResponse
|
356
|
+
#
|
357
|
+
body = nil
|
358
|
+
puts obj.getTokenByCaller(body)
|
359
|
+
|
360
|
+
|