amazon-fps-ruby 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,10 @@
2
2
 
3
3
  See all the changes per-version!
4
4
 
5
+ == 1.0.0 / 2009-04-02
6
+
7
+ * Updated to version 2008-09-17 of the WSDL
8
+
5
9
  == 0.1.0 / 2008-11-07
6
10
 
7
11
  * Initial Release
@@ -8,9 +8,6 @@ Rakefile
8
8
  TODO
9
9
  cache/AmazonFPS.wsdl
10
10
  cache/AmazonFPS.xsd
11
- certs/afps-sdk-keystore.p12
12
- certs/aws.cer
13
- certs/aws.cer.key
14
11
  examples/README.txt
15
12
  examples/generated_client.rb
16
13
  lib/AmazonFPSClient.rb
data/README.txt CHANGED
@@ -10,7 +10,7 @@ Provides a simple wrapper around the Amazon FPS SOAP web service.
10
10
 
11
11
  Supports all features in the WSDL from Amazon:
12
12
 
13
- http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=125
13
+ https://fps.amazonaws.com/doc/2008-09-17/AmazonFPS.wsdl
14
14
 
15
15
  == SYNOPSIS:
16
16
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # auto-generated from wsdl2ruby. Only included for reference.
2
3
 
3
- # Auto-generated file from wsdl2ruby.rb, not used
4
4
  require 'defaultDriver.rb'
5
5
 
6
6
  endpoint_url = ARGV.shift
@@ -10,351 +10,279 @@ obj = AmazonFPSPortType.new(endpoint_url)
10
10
  obj.wiredump_dev = STDERR if $DEBUG
11
11
 
12
12
  # SYNOPSIS
13
- # InstallPaymentInstructionBatch(body)
13
+ # CancelToken(body)
14
14
  #
15
15
  # ARGS
16
- # body InstallPaymentInstructionBatchRequest - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionBatchRequest
16
+ # body CancelToken - {http://fps.amazonaws.com/doc/2008-09-17/}CancelToken
17
17
  #
18
18
  # RETURNS
19
- # body InstallPaymentInstructionBatchResponse - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionBatchResponse
19
+ # body CancelTokenResponse - {http://fps.amazonaws.com/doc/2008-09-17/}CancelTokenResponse
20
20
  #
21
21
  body = nil
22
- puts obj.installPaymentInstructionBatch(body)
22
+ puts obj.cancelToken(body)
23
23
 
24
24
  # SYNOPSIS
25
- # InstallPaymentInstruction(body)
25
+ # Cancel(body)
26
26
  #
27
27
  # ARGS
28
- # body InstallPaymentInstructionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionRequest
28
+ # body Cancel - {http://fps.amazonaws.com/doc/2008-09-17/}Cancel
29
29
  #
30
30
  # RETURNS
31
- # body InstallPaymentInstructionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionResponse
31
+ # body CancelResponse - {http://fps.amazonaws.com/doc/2008-09-17/}CancelResponse
32
32
  #
33
33
  body = nil
34
- puts obj.installPaymentInstruction(body)
34
+ puts obj.cancel(body)
35
35
 
36
36
  # SYNOPSIS
37
- # GetTokenUsage(body)
37
+ # FundPrepaid(body)
38
38
  #
39
39
  # ARGS
40
- # body GetTokenUsageRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenUsageRequest
40
+ # body FundPrepaid - {http://fps.amazonaws.com/doc/2008-09-17/}FundPrepaid
41
41
  #
42
42
  # RETURNS
43
- # body GetTokenUsageResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenUsageResponse
43
+ # body FundPrepaidResponse - {http://fps.amazonaws.com/doc/2008-09-17/}FundPrepaidResponse
44
44
  #
45
45
  body = nil
46
- puts obj.getTokenUsage(body)
46
+ puts obj.fundPrepaid(body)
47
47
 
48
48
  # SYNOPSIS
49
- # GetPrepaidBalance(body)
49
+ # GetAccountActivity(body)
50
50
  #
51
51
  # ARGS
52
- # body GetPrepaidBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetPrepaidBalanceRequest
52
+ # body GetAccountActivity - {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountActivity
53
53
  #
54
54
  # RETURNS
55
- # body GetPrepaidBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetPrepaidBalanceResponse
55
+ # body GetAccountActivityResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountActivityResponse
56
56
  #
57
57
  body = nil
58
- puts obj.getPrepaidBalance(body)
58
+ puts obj.getAccountActivity(body)
59
59
 
60
60
  # SYNOPSIS
61
- # GetDebtBalance(body)
61
+ # GetAccountBalance(body)
62
62
  #
63
63
  # ARGS
64
- # body GetDebtBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetDebtBalanceRequest
64
+ # body GetAccountBalance - {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountBalance
65
65
  #
66
66
  # RETURNS
67
- # body GetDebtBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetDebtBalanceResponse
67
+ # body GetAccountBalanceResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountBalanceResponse
68
68
  #
69
69
  body = nil
70
- puts obj.getDebtBalance(body)
70
+ puts obj.getAccountBalance(body)
71
71
 
72
72
  # SYNOPSIS
73
- # GetTotalPrepaidLiability(body)
73
+ # GetDebtBalance(body)
74
74
  #
75
75
  # ARGS
76
- # body GetTotalPrepaidLiabilityRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTotalPrepaidLiabilityRequest
76
+ # body GetDebtBalance - {http://fps.amazonaws.com/doc/2008-09-17/}GetDebtBalance
77
77
  #
78
78
  # RETURNS
79
- # body GetTotalPrepaidLiabilityResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTotalPrepaidLiabilityResponse
79
+ # body GetDebtBalanceResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetDebtBalanceResponse
80
80
  #
81
81
  body = nil
82
- puts obj.getTotalPrepaidLiability(body)
82
+ puts obj.getDebtBalance(body)
83
83
 
84
84
  # SYNOPSIS
85
85
  # GetOutstandingDebtBalance(body)
86
86
  #
87
87
  # ARGS
88
- # body GetOutstandingDebtBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetOutstandingDebtBalanceRequest
88
+ # body GetOutstandingDebtBalance - {http://fps.amazonaws.com/doc/2008-09-17/}GetOutstandingDebtBalance
89
89
  #
90
90
  # RETURNS
91
- # body GetOutstandingDebtBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetOutstandingDebtBalanceResponse
91
+ # body GetOutstandingDebtBalanceResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetOutstandingDebtBalanceResponse
92
92
  #
93
93
  body = nil
94
94
  puts obj.getOutstandingDebtBalance(body)
95
95
 
96
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)
97
+ # GetPrepaidBalance(body)
122
98
  #
123
99
  # ARGS
124
- # body FundPrepaidRequest - {http://fps.amazonaws.com/doc/2007-01-08/}FundPrepaidRequest
100
+ # body GetPrepaidBalance - {http://fps.amazonaws.com/doc/2008-09-17/}GetPrepaidBalance
125
101
  #
126
102
  # RETURNS
127
- # body FundPrepaidResponse - {http://fps.amazonaws.com/doc/2007-01-08/}FundPrepaidResponse
103
+ # body GetPrepaidBalanceResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetPrepaidBalanceResponse
128
104
  #
129
105
  body = nil
130
- puts obj.fundPrepaid(body)
106
+ puts obj.getPrepaidBalance(body)
131
107
 
132
108
  # SYNOPSIS
133
- # SubscribeForCallerNotification(body)
109
+ # GetTokenByCaller(body)
134
110
  #
135
111
  # ARGS
136
- # body SubscribeForCallerNotificationRequest - {http://fps.amazonaws.com/doc/2007-01-08/}SubscribeForCallerNotificationRequest
112
+ # body GetTokenByCaller - {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenByCaller
137
113
  #
138
114
  # RETURNS
139
- # body SubscribeForCallerNotificationResponse - {http://fps.amazonaws.com/doc/2007-01-08/}SubscribeForCallerNotificationResponse
115
+ # body GetTokenByCallerResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenByCallerResponse
140
116
  #
141
117
  body = nil
142
- puts obj.subscribeForCallerNotification(body)
118
+ puts obj.getTokenByCaller(body)
143
119
 
144
120
  # SYNOPSIS
145
- # UnSubscribeForCallerNotification(body)
121
+ # CancelSubscriptionAndRefund(body)
146
122
  #
147
123
  # ARGS
148
- # body UnSubscribeForCallerNotificationRequest - {http://fps.amazonaws.com/doc/2007-01-08/}UnSubscribeForCallerNotificationRequest
124
+ # body CancelSubscriptionAndRefund - {http://fps.amazonaws.com/doc/2008-09-17/}CancelSubscriptionAndRefund
149
125
  #
150
126
  # RETURNS
151
- # body UnSubscribeForCallerNotificationResponse - {http://fps.amazonaws.com/doc/2007-01-08/}UnSubscribeForCallerNotificationResponse
127
+ # body CancelSubscriptionAndRefundResponse - {http://fps.amazonaws.com/doc/2008-09-17/}CancelSubscriptionAndRefundResponse
152
128
  #
153
129
  body = nil
154
- puts obj.unSubscribeForCallerNotification(body)
130
+ puts obj.cancelSubscriptionAndRefund(body)
155
131
 
156
132
  # SYNOPSIS
157
- # GetAllCreditInstruments(body)
133
+ # GetTokenUsage(body)
158
134
  #
159
135
  # ARGS
160
- # body GetAllCreditInstrumentsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllCreditInstrumentsRequest
136
+ # body GetTokenUsage - {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenUsage
161
137
  #
162
138
  # RETURNS
163
- # body GetAllCreditInstrumentsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllCreditInstrumentsResponse
139
+ # body GetTokenUsageResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenUsageResponse
164
140
  #
165
141
  body = nil
166
- puts obj.getAllCreditInstruments(body)
142
+ puts obj.getTokenUsage(body)
167
143
 
168
144
  # SYNOPSIS
169
- # GetAllPrepaidInstruments(body)
145
+ # GetTokens(body)
170
146
  #
171
147
  # ARGS
172
- # body GetAllPrepaidInstrumentsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllPrepaidInstrumentsRequest
148
+ # body GetTokens - {http://fps.amazonaws.com/doc/2008-09-17/}GetTokens
173
149
  #
174
150
  # RETURNS
175
- # body GetAllPrepaidInstrumentsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAllPrepaidInstrumentsResponse
151
+ # body GetTokensResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetTokensResponse
176
152
  #
177
153
  body = nil
178
- puts obj.getAllPrepaidInstruments(body)
154
+ puts obj.getTokens(body)
179
155
 
180
156
  # SYNOPSIS
181
- # GetAccountBalance(body)
157
+ # GetTotalPrepaidLiability(body)
182
158
  #
183
159
  # ARGS
184
- # body GetAccountBalanceRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountBalanceRequest
160
+ # body GetTotalPrepaidLiability - {http://fps.amazonaws.com/doc/2008-09-17/}GetTotalPrepaidLiability
185
161
  #
186
162
  # RETURNS
187
- # body GetAccountBalanceResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountBalanceResponse
163
+ # body GetTotalPrepaidLiabilityResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetTotalPrepaidLiabilityResponse
188
164
  #
189
165
  body = nil
190
- puts obj.getAccountBalance(body)
166
+ puts obj.getTotalPrepaidLiability(body)
191
167
 
192
168
  # SYNOPSIS
193
- # GetAccountActivity(body)
169
+ # GetTransaction(body)
194
170
  #
195
171
  # ARGS
196
- # body GetAccountActivityRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountActivityRequest
172
+ # body GetTransaction - {http://fps.amazonaws.com/doc/2008-09-17/}GetTransaction
197
173
  #
198
174
  # RETURNS
199
- # body GetAccountActivityResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetAccountActivityResponse
175
+ # body GetTransactionResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetTransactionResponse
200
176
  #
201
177
  body = nil
202
- puts obj.getAccountActivity(body)
178
+ puts obj.getTransaction(body)
203
179
 
204
180
  # SYNOPSIS
205
- # GetTokens(body)
181
+ # GetTransactionStatus(body)
206
182
  #
207
183
  # ARGS
208
- # body GetTokensRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokensRequest
184
+ # body GetTransactionStatus - {http://fps.amazonaws.com/doc/2008-09-17/}GetTransactionStatus
209
185
  #
210
186
  # RETURNS
211
- # body GetTokensResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokensResponse
187
+ # body GetTransactionStatusResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetTransactionStatusResponse
212
188
  #
213
189
  body = nil
214
- puts obj.getTokens(body)
190
+ puts obj.getTransactionStatus(body)
215
191
 
216
192
  # SYNOPSIS
217
193
  # GetPaymentInstruction(body)
218
194
  #
219
195
  # ARGS
220
- # body GetPaymentInstructionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetPaymentInstructionRequest
196
+ # body GetPaymentInstruction - {http://fps.amazonaws.com/doc/2008-09-17/}GetPaymentInstruction
221
197
  #
222
198
  # RETURNS
223
- # body GetPaymentInstructionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetPaymentInstructionResponse
199
+ # body GetPaymentInstructionResponse - {http://fps.amazonaws.com/doc/2008-09-17/}GetPaymentInstructionResponse
224
200
  #
225
201
  body = nil
226
202
  puts obj.getPaymentInstruction(body)
227
203
 
228
204
  # 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)
205
+ # InstallPaymentInstruction(body)
242
206
  #
243
207
  # ARGS
244
- # body PayBatchRequest - {http://fps.amazonaws.com/doc/2007-01-08/}PayBatchRequest
208
+ # body InstallPaymentInstruction - {http://fps.amazonaws.com/doc/2008-09-17/}InstallPaymentInstruction
245
209
  #
246
210
  # RETURNS
247
- # body PayBatchResponse - {http://fps.amazonaws.com/doc/2007-01-08/}PayBatchResponse
211
+ # body InstallPaymentInstructionResponse - {http://fps.amazonaws.com/doc/2008-09-17/}InstallPaymentInstructionResponse
248
212
  #
249
213
  body = nil
250
- puts obj.payBatch(body)
214
+ puts obj.installPaymentInstruction(body)
251
215
 
252
216
  # SYNOPSIS
253
217
  # Pay(body)
254
218
  #
255
219
  # ARGS
256
- # body PayRequest - {http://fps.amazonaws.com/doc/2007-01-08/}PayRequest
220
+ # body Pay - {http://fps.amazonaws.com/doc/2008-09-17/}Pay
257
221
  #
258
222
  # RETURNS
259
- # body PayResponse - {http://fps.amazonaws.com/doc/2007-01-08/}PayResponse
223
+ # body PayResponse - {http://fps.amazonaws.com/doc/2008-09-17/}PayResponse
260
224
  #
261
225
  body = nil
262
226
  puts obj.pay(body)
263
227
 
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
228
  # SYNOPSIS
289
229
  # Refund(body)
290
230
  #
291
231
  # ARGS
292
- # body RefundRequest - {http://fps.amazonaws.com/doc/2007-01-08/}RefundRequest
232
+ # body Refund - {http://fps.amazonaws.com/doc/2008-09-17/}Refund
293
233
  #
294
234
  # RETURNS
295
- # body RefundResponse - {http://fps.amazonaws.com/doc/2007-01-08/}RefundResponse
235
+ # body RefundResponse - {http://fps.amazonaws.com/doc/2008-09-17/}RefundResponse
296
236
  #
297
237
  body = nil
298
238
  puts obj.refund(body)
299
239
 
300
240
  # 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)
241
+ # Reserve(body)
314
242
  #
315
243
  # ARGS
316
- # body DiscardResultsRequest - {http://fps.amazonaws.com/doc/2007-01-08/}DiscardResultsRequest
244
+ # body Reserve - {http://fps.amazonaws.com/doc/2008-09-17/}Reserve
317
245
  #
318
246
  # RETURNS
319
- # body DiscardResultsResponse - {http://fps.amazonaws.com/doc/2007-01-08/}DiscardResultsResponse
247
+ # body ReserveResponse - {http://fps.amazonaws.com/doc/2008-09-17/}ReserveResponse
320
248
  #
321
249
  body = nil
322
- puts obj.discardResults(body)
250
+ puts obj.reserve(body)
323
251
 
324
252
  # SYNOPSIS
325
- # GetTransaction(body)
253
+ # Settle(body)
326
254
  #
327
255
  # ARGS
328
- # body GetTransactionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTransactionRequest
256
+ # body Settle - {http://fps.amazonaws.com/doc/2008-09-17/}Settle
329
257
  #
330
258
  # RETURNS
331
- # body GetTransactionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTransactionResponse
259
+ # body SettleResponse - {http://fps.amazonaws.com/doc/2008-09-17/}SettleResponse
332
260
  #
333
261
  body = nil
334
- puts obj.getTransaction(body)
262
+ puts obj.settle(body)
335
263
 
336
264
  # SYNOPSIS
337
- # RetryTransaction(body)
265
+ # SettleDebt(body)
338
266
  #
339
267
  # ARGS
340
- # body RetryTransactionRequest - {http://fps.amazonaws.com/doc/2007-01-08/}RetryTransactionRequest
268
+ # body SettleDebt - {http://fps.amazonaws.com/doc/2008-09-17/}SettleDebt
341
269
  #
342
270
  # RETURNS
343
- # body RetryTransactionResponse - {http://fps.amazonaws.com/doc/2007-01-08/}RetryTransactionResponse
271
+ # body SettleDebtResponse - {http://fps.amazonaws.com/doc/2008-09-17/}SettleDebtResponse
344
272
  #
345
273
  body = nil
346
- puts obj.retryTransaction(body)
274
+ puts obj.settleDebt(body)
347
275
 
348
276
  # SYNOPSIS
349
- # GetTokenByCaller(body)
277
+ # WriteOffDebt(body)
350
278
  #
351
279
  # ARGS
352
- # body GetTokenByCallerRequest - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenByCallerRequest
280
+ # body WriteOffDebt - {http://fps.amazonaws.com/doc/2008-09-17/}WriteOffDebt
353
281
  #
354
282
  # RETURNS
355
- # body GetTokenByCallerResponse - {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenByCallerResponse
283
+ # body WriteOffDebtResponse - {http://fps.amazonaws.com/doc/2008-09-17/}WriteOffDebtResponse
356
284
  #
357
285
  body = nil
358
- puts obj.getTokenByCaller(body)
286
+ puts obj.writeOffDebt(body)
359
287
 
360
288