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 ADDED
@@ -0,0 +1 @@
1
+ <b>Josh Peck</b>:: {jmp at joshpeck.org}[mailto:jmp@joshpeck.org]
@@ -0,0 +1,10 @@
1
+ = Change Log
2
+
3
+ See all the changes per-version!
4
+
5
+ == 0.1.0 / 2008-11-07
6
+
7
+ * Initial Release
8
+ * Publish as a gem
9
+
10
+
data/INSTALL ADDED
@@ -0,0 +1,48 @@
1
+ = Installing Amazon-FPS for Ruby
2
+
3
+ $ sudo gem install amazon-fps
4
+
5
+ == Obtaining the Software
6
+
7
+ For now, you have to check out a copy from subversion.
8
+
9
+ === Install Gem
10
+
11
+ $ sudo gem install amazon-fps
12
+
13
+ === Download Source
14
+
15
+ $ svn checkout \
16
+ http://amazon-fps-ruby.googlecode.com/svn/trunk/ \
17
+ amazon-fps-ruby-read-only
18
+
19
+ === Install Prerequisites
20
+
21
+ * soap4r (1.5.8)
22
+ * wss4r (0.5)
23
+ * ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
24
+
25
+ === Set up Keys and Certs
26
+
27
+ * Copy your AWS private key and AWS certificate to the certs/ directory
28
+ * Determine the subject for your AWS certificate
29
+
30
+ $ openssl x509 -in aws.cer -subject
31
+
32
+ === Include in Application
33
+
34
+ require 'amazon_fps' # note the underscore
35
+
36
+ @credentials = {
37
+ 'AWSAccessKeyId' => 'abc123'
38
+ }
39
+
40
+ @options = {
41
+ # NOTE: change this to your cert subject as per
42
+ # `openssl x509 -in aws.cer -subject`
43
+ :subject => '/C=US/O=Amazon.com/OU=AWS-Developers/CN=bogus'
44
+ }
45
+
46
+ @fps = AmazonFPS.new(@credentials, @options)
47
+
48
+ res = @fps.getAccountBalance(AmazonFPS::GetAccountBalanceRequest.new)
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2008 Josh Peck (jmp@joshpeck.org)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,23 @@
1
+ AUTHORS
2
+ History.txt
3
+ INSTALL
4
+ LICENSE
5
+ Manifest.txt
6
+ README.txt
7
+ Rakefile
8
+ TODO
9
+ cache/AmazonFPS.wsdl
10
+ cache/AmazonFPS.xsd
11
+ certs/afps-sdk-keystore.p12
12
+ certs/aws.cer
13
+ certs/aws.cer.key
14
+ examples/README.txt
15
+ examples/generated_client.rb
16
+ lib/AmazonFPSClient.rb
17
+ lib/amazon_fps.rb
18
+ lib/aws_credentials.rb
19
+ lib/default.rb
20
+ lib/defaultDriver.rb
21
+ lib/defaultMappingRegistry.rb
22
+ lib/rexml_extensions.rb
23
+ test/test_amazon_fps.rb
@@ -0,0 +1,38 @@
1
+ = amazon-fps ($Revision$)
2
+
3
+ * http://code.google.com/p/amazon-fps-ruby
4
+
5
+ == DESCRIPTION:
6
+
7
+ Provides a simple wrapper around the Amazon FPS SOAP web service.
8
+
9
+ == FEATURES/PROBLEMS:
10
+
11
+ Supports all features in the WSDL from Amazon:
12
+
13
+ http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=125
14
+
15
+ == SYNOPSIS:
16
+
17
+ @credentials = {
18
+ 'AWSAccessKeyId' => 'abc123'
19
+ }
20
+
21
+ @options = {
22
+ # NOTE: change this to your cert subject as per
23
+ # `openssl x509 -in aws.cer -subject`
24
+ :subject => '/C=US/O=Amazon.com/OU=AWS-Developers/CN=bogus'
25
+ }
26
+
27
+ @fps = AmazonFPS.new(@credentials, @options)
28
+
29
+ res = @fps.getAccountBalance(AmazonFPS::GetAccountBalanceRequest.new)
30
+
31
+ == Documentation
32
+
33
+ Looking at the RDoc documentation is always a good idea, run rdoc in the root
34
+ directory to generate the automatic documentation.
35
+
36
+ Looking at the tests in the /tests directory is probably another great
37
+ place to start to figure out how to use the library.
38
+
@@ -0,0 +1,20 @@
1
+ # -*- ruby -*-
2
+ $:.unshift(File.dirname(__FILE__) + "/lib")
3
+ require 'rubygems'
4
+ require 'hoe'
5
+ require 'amazon_fps'
6
+
7
+ Hoe.new('amazon-fps-ruby', AmazonFPS::VERSION) do |p|
8
+ p.rubyforge_name = 'amazon-fps-ruby'
9
+ p.summary = 'Ruby Gem for Amazon Flexible Payment Service (FPS)'
10
+ p.author = 'Josh Peck'
11
+ p.email = 'jmp@joshpeck.org'
12
+ p.url = 'http://code.google.com/p/amazon-fps-ruby/'
13
+ p.description = p.paragraphs_of('README.txt', 3..6).join("\n\n")
14
+ p.changes = p.paragraphs_of('History.txt', 2..3).join("\n\n")
15
+ p.remote_rdoc_dir = 'amazon-fps-ruby' # Release to root
16
+ p.extra_deps << [ 'soap4r', '>=1.5.8' ]
17
+ p.extra_deps << [ 'wss4r', '>=0.5.0' ]
18
+ end
19
+
20
+ # vim: syntax=Ruby
data/TODO ADDED
@@ -0,0 +1,3 @@
1
+ - TODO List
2
+
3
+ * Need to complete test suite from stubs in /test
@@ -0,0 +1,579 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://www.w3.org/2005/03/addressing" xmlns:aws="http://www.amazonaws.com/schemas/core" xmlns:tns="http://fps.amazonaws.com/doc/2007-01-08/" targetNamespace="http://fps.amazonaws.com/doc/2007-01-08/">
3
+ <types>
4
+ <xs:schema targetNamespace="http://fps.amazonaws.com/doc/2007-01-08/">
5
+ <xs:import namespace="http://fps.amazonaws.com/doc/2007-01-08/" schemaLocation="AmazonFPS.xsd"/>
6
+ </xs:schema>
7
+ </types>
8
+
9
+ <message name="GetTokenUsageRequestMsg">
10
+ <part name="body" element="tns:GetTokenUsageRequest"/>
11
+ </message>
12
+ <message name="GetTokenUsageResponseMsg">
13
+ <part name="body" element="tns:GetTokenUsageResponse"/>
14
+ </message>
15
+ <message name="GetPrepaidBalanceRequestMsg">
16
+ <part name="body" element="tns:GetPrepaidBalanceRequest"/>
17
+ </message>
18
+ <message name="GetPrepaidBalanceResponseMsg">
19
+ <part name="body" element="tns:GetPrepaidBalanceResponse"/>
20
+ </message>
21
+ <message name="GetDebtBalanceRequestMsg">
22
+ <part name="body" element="tns:GetDebtBalanceRequest"/>
23
+ </message>
24
+ <message name="GetDebtBalanceResponseMsg">
25
+ <part name="body" element="tns:GetDebtBalanceResponse"/>
26
+ </message>
27
+ <message name="GetTotalPrepaidLiabilityRequestMsg">
28
+ <part name="body" element="tns:GetTotalPrepaidLiabilityRequest"/>
29
+ </message>
30
+ <message name="GetTotalPrepaidLiabilityResponseMsg">
31
+ <part name="body" element="tns:GetTotalPrepaidLiabilityResponse"/>
32
+ </message>
33
+ <message name="GetOutstandingDebtBalanceRequestMsg">
34
+ <part name="body" element="tns:GetOutstandingDebtBalanceRequest"/>
35
+ </message>
36
+ <message name="GetOutstandingDebtBalanceResponseMsg">
37
+ <part name="body" element="tns:GetOutstandingDebtBalanceResponse"/>
38
+ </message>
39
+ <message name="SettleDebtRequestMsg">
40
+ <part name="body" element="tns:SettleDebtRequest"/>
41
+ </message>
42
+ <message name="SettleDebtResponseMsg">
43
+ <part name="body" element="tns:SettleDebtResponse"/>
44
+ </message>
45
+ <message name="WriteOffDebtRequestMsg">
46
+ <part name="body" element="tns:WriteOffDebtRequest"/>
47
+ </message>
48
+ <message name="WriteOffDebtResponseMsg">
49
+ <part name="body" element="tns:WriteOffDebtResponse"/>
50
+ </message>
51
+ <message name="FundPrepaidRequestMsg">
52
+ <part name="body" element="tns:FundPrepaidRequest"/>
53
+ </message>
54
+ <message name="FundPrepaidResponseMsg">
55
+ <part name="body" element="tns:FundPrepaidResponse"/>
56
+ </message>
57
+ <message name="SubscribeForCallerNotificationRequestMsg">
58
+ <part name="body" element="tns:SubscribeForCallerNotificationRequest"/>
59
+ </message>
60
+ <message name="SubscribeForCallerNotificationResponseMsg">
61
+ <part name="body" element="tns:SubscribeForCallerNotificationResponse"/>
62
+ </message>
63
+ <message name="UnSubscribeForCallerNotificationRequestMsg">
64
+ <part name="body" element="tns:UnSubscribeForCallerNotificationRequest"/>
65
+ </message>
66
+ <message name="UnSubscribeForCallerNotificationResponseMsg">
67
+ <part name="body" element="tns:UnSubscribeForCallerNotificationResponse"/>
68
+ </message>
69
+ <message name="GetAllCreditInstrumentsRequestMsg">
70
+ <part name="body" element="tns:GetAllCreditInstrumentsRequest"/>
71
+ </message>
72
+ <message name="GetAllCreditInstrumentsResponseMsg">
73
+ <part name="body" element="tns:GetAllCreditInstrumentsResponse"/>
74
+ </message>
75
+ <message name="GetAllPrepaidInstrumentsRequestMsg">
76
+ <part name="body" element="tns:GetAllPrepaidInstrumentsRequest"/>
77
+ </message>
78
+ <message name="GetAllPrepaidInstrumentsResponseMsg">
79
+ <part name="body" element="tns:GetAllPrepaidInstrumentsResponse"/>
80
+ </message>
81
+ <message name="GetAccountBalanceRequestMsg">
82
+ <part name="body" element="tns:GetAccountBalanceRequest"/>
83
+ </message>
84
+ <message name="GetAccountBalanceResponseMsg">
85
+ <part name="body" element="tns:GetAccountBalanceResponse"/>
86
+ </message>
87
+ <message name="GetAccountActivityRequestMsg">
88
+ <part name="body" element="tns:GetAccountActivityRequest"/>
89
+ </message>
90
+ <message name="GetAccountActivityResponseMsg">
91
+ <part name="body" element="tns:GetAccountActivityResponse"/>
92
+ </message>
93
+ <message name="GetTokensRequestMsg">
94
+ <part name="body" element="tns:GetTokensRequest"/>
95
+ </message>
96
+ <message name="GetTokensResponseMsg">
97
+ <part name="body" element="tns:GetTokensResponse"/>
98
+ </message>
99
+ <message name="GetPaymentInstructionRequestMsg">
100
+ <part name="body" element="tns:GetPaymentInstructionRequest"/>
101
+ </message>
102
+ <message name="GetPaymentInstructionResponseMsg">
103
+ <part name="body" element="tns:GetPaymentInstructionResponse"/>
104
+ </message>
105
+ <message name="CancelTokenRequestMsg">
106
+ <part name="body" element="tns:CancelTokenRequest"/>
107
+ </message>
108
+ <message name="CancelTokenResponseMsg">
109
+ <part name="body" element="tns:CancelTokenResponse"/>
110
+ </message>
111
+ <message name="PayBatchRequestMsg">
112
+ <part name="body" element="tns:PayBatchRequest"/>
113
+ </message>
114
+ <message name="PayBatchResponseMsg">
115
+ <part name="body" element="tns:PayBatchResponse"/>
116
+ </message>
117
+ <message name="PayRequestMsg">
118
+ <part name="body" element="tns:PayRequest"/>
119
+ </message>
120
+ <message name="PayResponseMsg">
121
+ <part name="body" element="tns:PayResponse"/>
122
+ </message>
123
+ <message name="ReserveRequestMsg">
124
+ <part name="body" element="tns:ReserveRequest"/>
125
+ </message>
126
+ <message name="ReserveResponseMsg">
127
+ <part name="body" element="tns:ReserveResponse"/>
128
+ </message>
129
+ <message name="SettleRequestMsg">
130
+ <part name="body" element="tns:SettleRequest"/>
131
+ </message>
132
+ <message name="SettleResponseMsg">
133
+ <part name="body" element="tns:SettleResponse"/>
134
+ </message>
135
+ <message name="RefundRequestMsg">
136
+ <part name="body" element="tns:RefundRequest"/>
137
+ </message>
138
+ <message name="RefundResponseMsg">
139
+ <part name="body" element="tns:RefundResponse"/>
140
+ </message>
141
+ <message name="GetResultsRequestMsg">
142
+ <part name="body" element="tns:GetResultsRequest"/>
143
+ </message>
144
+ <message name="GetResultsResponseMsg">
145
+ <part name="body" element="tns:GetResultsResponse"/>
146
+ </message>
147
+ <message name="DiscardResultsRequestMsg">
148
+ <part name="body" element="tns:DiscardResultsRequest"/>
149
+ </message>
150
+ <message name="DiscardResultsResponseMsg">
151
+ <part name="body" element="tns:DiscardResultsResponse"/>
152
+ </message>
153
+ <message name="GetTransactionRequestMsg">
154
+ <part name="body" element="tns:GetTransactionRequest"/>
155
+ </message>
156
+ <message name="GetTransactionResponseMsg">
157
+ <part name="body" element="tns:GetTransactionResponse"/>
158
+ </message>
159
+
160
+ <message name="InstallPaymentInstructionBatchRequestMsg">
161
+ <part name="body" element="tns:InstallPaymentInstructionBatchRequest"/>
162
+ </message>
163
+ <message name="InstallPaymentInstructionBatchResponseMsg">
164
+ <part name="body" element="tns:InstallPaymentInstructionBatchResponse"/>
165
+ </message>
166
+
167
+ <message name="InstallPaymentInstructionRequestMsg">
168
+ <part name="body" element="tns:InstallPaymentInstructionRequest"/>
169
+ </message>
170
+ <message name="InstallPaymentInstructionResponseMsg">
171
+ <part name="body" element="tns:InstallPaymentInstructionResponse"/>
172
+ </message>
173
+ <message name="RetryTransactionRequestMsg">
174
+ <part name="body" element="tns:RetryTransactionRequest"/>
175
+ </message>
176
+ <message name="RetryTransactionResponseMsg">
177
+ <part name="body" element="tns:RetryTransactionResponse"/>
178
+ </message>
179
+
180
+ <message name="GetTokenByCallerRequestMsg">
181
+ <part name="body" element="tns:GetTokenByCallerRequest"/>
182
+ </message>
183
+ <message name="GetTokenByCallerResponseMsg">
184
+ <part name="body" element="tns:GetTokenByCallerResponse"/>
185
+ </message>
186
+
187
+
188
+ <portType name="AmazonFPSPortType">
189
+ <operation name="InstallPaymentInstructionBatch">
190
+ <input message="tns:InstallPaymentInstructionBatchRequestMsg" wsa:Action="urn:InstallPaymentInstructionBatch"/>
191
+ <output message="tns:InstallPaymentInstructionBatchResponseMsg" wsa:Action="urn:InstallPaymentInstructionBatch:Response"/>
192
+ </operation>
193
+ <operation name="InstallPaymentInstruction">
194
+ <input message="tns:InstallPaymentInstructionRequestMsg" wsa:Action="urn:InstallPaymentInstruction"/>
195
+ <output message="tns:InstallPaymentInstructionResponseMsg" wsa:Action="urn:InstallPaymentInstruction:Response"/>
196
+ </operation>
197
+ <operation name="GetTokenUsage">
198
+ <input message="tns:GetTokenUsageRequestMsg" wsa:Action="urn:GetTokenUsage"/>
199
+ <output message="tns:GetTokenUsageResponseMsg" wsa:Action="urn:GetTokenUsage:Response"/>
200
+ </operation>
201
+ <operation name="GetPrepaidBalance">
202
+ <input message="tns:GetPrepaidBalanceRequestMsg" wsa:Action="urn:GetPrepaidBalance"/>
203
+ <output message="tns:GetPrepaidBalanceResponseMsg" wsa:Action="urn:GetPrepaidBalance:Response"/>
204
+ </operation>
205
+ <operation name="GetDebtBalance">
206
+ <input message="tns:GetDebtBalanceRequestMsg" wsa:Action="urn:GetDebtBalance"/>
207
+ <output message="tns:GetDebtBalanceResponseMsg" wsa:Action="urn:GetDebtBalance:Response"/>
208
+ </operation>
209
+ <operation name="GetTotalPrepaidLiability">
210
+ <input message="tns:GetTotalPrepaidLiabilityRequestMsg" wsa:Action="urn:GetTotalPrepaidLiability"/>
211
+ <output message="tns:GetTotalPrepaidLiabilityResponseMsg" wsa:Action="urn:GetTotalPrepaidLiability:Response"/>
212
+ </operation>
213
+ <operation name="GetOutstandingDebtBalance">
214
+ <input message="tns:GetOutstandingDebtBalanceRequestMsg" wsa:Action="urn:GetOutstandingDebtBalance"/>
215
+ <output message="tns:GetOutstandingDebtBalanceResponseMsg" wsa:Action="urn:GetOutstandingDebtBalance:Response"/>
216
+ </operation>
217
+ <operation name="SettleDebt">
218
+ <input message="tns:SettleDebtRequestMsg" wsa:Action="urn:SettleDebt"/>
219
+ <output message="tns:SettleDebtResponseMsg" wsa:Action="urn:SettleDebt:Response"/>
220
+ </operation>
221
+ <operation name="WriteOffDebt">
222
+ <input message="tns:WriteOffDebtRequestMsg" wsa:Action="urn:WriteOffDebt"/>
223
+ <output message="tns:WriteOffDebtResponseMsg" wsa:Action="urn:WriteOffDebt:Response"/>
224
+ </operation>
225
+ <operation name="FundPrepaid">
226
+ <input message="tns:FundPrepaidRequestMsg" wsa:Action="urn:FundPrepaid"/>
227
+ <output message="tns:FundPrepaidResponseMsg" wsa:Action="urn:FundPrepaid:Response"/>
228
+ </operation>
229
+ <operation name="SubscribeForCallerNotification">
230
+ <input message="tns:SubscribeForCallerNotificationRequestMsg" wsa:Action="urn:SubscribeForCallerNotification"/>
231
+ <output message="tns:SubscribeForCallerNotificationResponseMsg" wsa:Action="urn:SubscribeForCallerNotification:Response"/>
232
+ </operation>
233
+ <operation name="UnSubscribeForCallerNotification">
234
+ <input message="tns:UnSubscribeForCallerNotificationRequestMsg" wsa:Action="urn:UnSubscribeForCallerNotification"/>
235
+ <output message="tns:UnSubscribeForCallerNotificationResponseMsg" wsa:Action="urn:UnSubscribeForCallerNotification:Response"/>
236
+ </operation>
237
+ <operation name="GetAllCreditInstruments">
238
+ <input message="tns:GetAllCreditInstrumentsRequestMsg" wsa:Action="urn:GetAllCreditInstruments"/>
239
+ <output message="tns:GetAllCreditInstrumentsResponseMsg" wsa:Action="urn:GetAllCreditInstruments:Response"/>
240
+ </operation>
241
+ <operation name="GetAllPrepaidInstruments">
242
+ <input message="tns:GetAllPrepaidInstrumentsRequestMsg" wsa:Action="urn:GetAllPrepaidInstruments"/>
243
+ <output message="tns:GetAllPrepaidInstrumentsResponseMsg" wsa:Action="urn:GetAllPrepaidInstruments:Response"/>
244
+ </operation>
245
+ <operation name="GetAccountBalance">
246
+ <input message="tns:GetAccountBalanceRequestMsg" wsa:Action="urn:GetAccountBalance"/>
247
+ <output message="tns:GetAccountBalanceResponseMsg" wsa:Action="urn:GetAccountBalance:Response"/>
248
+ </operation>
249
+ <operation name="GetAccountActivity">
250
+ <input message="tns:GetAccountActivityRequestMsg" wsa:Action="urn:GetAccountActivity"/>
251
+ <output message="tns:GetAccountActivityResponseMsg" wsa:Action="urn:GetAccountActivity:Response"/>
252
+ </operation>
253
+ <operation name="GetTokens">
254
+ <input message="tns:GetTokensRequestMsg" wsa:Action="urn:GetTokens"/>
255
+ <output message="tns:GetTokensResponseMsg" wsa:Action="urn:GetTokens:Response"/>
256
+ </operation>
257
+ <operation name="GetPaymentInstruction">
258
+ <input message="tns:GetPaymentInstructionRequestMsg" wsa:Action="urn:GetPaymentInstruction"/>
259
+ <output message="tns:GetPaymentInstructionResponseMsg" wsa:Action="urn:GetPaymentInstruction:Response"/>
260
+ </operation>
261
+ <operation name="CancelToken">
262
+ <input message="tns:CancelTokenRequestMsg" wsa:Action="urn:CancelToken"/>
263
+ <output message="tns:CancelTokenResponseMsg" wsa:Action="urn:CancelToken:Response"/>
264
+ </operation>
265
+ <operation name="PayBatch">
266
+ <input message="tns:PayBatchRequestMsg" wsa:Action="urn:PayBatch"/>
267
+ <output message="tns:PayBatchResponseMsg" wsa:Action="urn:PayBatch:Response"/>
268
+ </operation>
269
+
270
+ <operation name="Pay">
271
+ <input message="tns:PayRequestMsg" wsa:Action="urn:Pay"/>
272
+ <output message="tns:PayResponseMsg" wsa:Action="urn:Pay:Response"/>
273
+ </operation>
274
+
275
+ <operation name="Reserve">
276
+ <input message="tns:ReserveRequestMsg" wsa:Action="urn:Reserve"/>
277
+ <output message="tns:ReserveResponseMsg" wsa:Action="urn:Reserve:Response"/>
278
+ </operation>
279
+ <operation name="Settle">
280
+ <input message="tns:SettleRequestMsg" wsa:Action="urn:Settle"/>
281
+ <output message="tns:SettleResponseMsg" wsa:Action="urn:Settle:Response"/>
282
+ </operation>
283
+ <operation name="Refund">
284
+ <input message="tns:RefundRequestMsg" wsa:Action="urn:Refund"/>
285
+ <output message="tns:RefundResponseMsg" wsa:Action="urn:Refund:Response"/>
286
+ </operation>
287
+ <operation name="GetResults">
288
+ <input message="tns:GetResultsRequestMsg" wsa:Action="urn:GetResults"/>
289
+ <output message="tns:GetResultsResponseMsg" wsa:Action="urn:GetResults:Response"/>
290
+ </operation>
291
+ <operation name="DiscardResults">
292
+ <input message="tns:DiscardResultsRequestMsg" wsa:Action="urn:DiscardResults"/>
293
+ <output message="tns:DiscardResultsResponseMsg" wsa:Action="urn:DiscardResults:Response"/>
294
+ </operation>
295
+ <operation name="GetTransaction">
296
+ <input message="tns:GetTransactionRequestMsg" wsa:Action="urn:GetTransaction"/>
297
+ <output message="tns:GetTransactionResponseMsg" wsa:Action="urn:GetTransaction:Response"/>
298
+ </operation>
299
+ <operation name="RetryTransaction">
300
+ <input message="tns:RetryTransactionRequestMsg" wsa:Action="urn:RetryTransaction"/>
301
+ <output message="tns:RetryTransactionResponseMsg" wsa:Action="urn:RetryTransactionResponse"/>
302
+ </operation>
303
+
304
+ <operation name="GetTokenByCaller">
305
+ <input message="tns:GetTokenByCallerRequestMsg" wsa:Action="urn:GetTokenByCaller"/>
306
+ <output message="tns:GetTokenByCallerResponseMsg" wsa:Action="urn:GetTokenByCaller:Response"/>
307
+ </operation>
308
+
309
+ </portType>
310
+ <binding name="AmazonFPSBinding" type="tns:AmazonFPSPortType">
311
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
312
+ <operation name="InstallPaymentInstructionBatch">
313
+ <soap:operation soapAction="urn:InstallPaymentInstructionBatch"/>
314
+ <input>
315
+ <soap:body use="literal"/>
316
+ </input>
317
+ <output>
318
+ <soap:body use="literal"/>
319
+ </output>
320
+ </operation>
321
+ <operation name="InstallPaymentInstruction">
322
+ <soap:operation soapAction="urn:InstallPaymentInstruction"/>
323
+ <input>
324
+ <soap:body use="literal"/>
325
+ </input>
326
+ <output>
327
+ <soap:body use="literal"/>
328
+ </output>
329
+ </operation>
330
+ <operation name="GetTokenUsage">
331
+ <soap:operation soapAction="urn:GetTokenUsage"/>
332
+ <input>
333
+ <soap:body use="literal"/>
334
+ </input>
335
+ <output>
336
+ <soap:body use="literal"/>
337
+ </output>
338
+ </operation>
339
+ <operation name="GetPrepaidBalance">
340
+ <soap:operation soapAction="urn:GetPrepaidBalance"/>
341
+ <input>
342
+ <soap:body use="literal"/>
343
+ </input>
344
+ <output>
345
+ <soap:body use="literal"/>
346
+ </output>
347
+ </operation>
348
+ <operation name="GetDebtBalance">
349
+ <soap:operation soapAction="urn:GetDebtBalance"/>
350
+ <input>
351
+ <soap:body use="literal"/>
352
+ </input>
353
+ <output>
354
+ <soap:body use="literal"/>
355
+ </output>
356
+ </operation>
357
+ <operation name="GetTotalPrepaidLiability">
358
+ <soap:operation soapAction="urn:GetTotalPrepaidLiability"/>
359
+ <input>
360
+ <soap:body use="literal"/>
361
+ </input>
362
+ <output>
363
+ <soap:body use="literal"/>
364
+ </output>
365
+ </operation>
366
+ <operation name="GetOutstandingDebtBalance">
367
+ <soap:operation soapAction="urn:GetOutstandingDebtBalance"/>
368
+ <input>
369
+ <soap:body use="literal"/>
370
+ </input>
371
+ <output>
372
+ <soap:body use="literal"/>
373
+ </output>
374
+ </operation>
375
+ <operation name="SettleDebt">
376
+ <soap:operation soapAction="urn:SettleDebt"/>
377
+ <input>
378
+ <soap:body use="literal"/>
379
+ </input>
380
+ <output>
381
+ <soap:body use="literal"/>
382
+ </output>
383
+ </operation>
384
+ <operation name="WriteOffDebt">
385
+ <soap:operation soapAction="urn:WriteOffDebt"/>
386
+ <input>
387
+ <soap:body use="literal"/>
388
+ </input>
389
+ <output>
390
+ <soap:body use="literal"/>
391
+ </output>
392
+ </operation>
393
+ <operation name="FundPrepaid">
394
+ <soap:operation soapAction="urn:FundPrepaid"/>
395
+ <input>
396
+ <soap:body use="literal"/>
397
+ </input>
398
+ <output>
399
+ <soap:body use="literal"/>
400
+ </output>
401
+ </operation>
402
+ <operation name="SubscribeForCallerNotification">
403
+ <soap:operation soapAction="urn:SubscribeForCallerNotification"/>
404
+ <input>
405
+ <soap:body use="literal"/>
406
+ </input>
407
+ <output>
408
+ <soap:body use="literal"/>
409
+ </output>
410
+ </operation>
411
+ <operation name="UnSubscribeForCallerNotification">
412
+ <soap:operation soapAction="urn:UnSubscribeForCallerNotification"/>
413
+ <input>
414
+ <soap:body use="literal"/>
415
+ </input>
416
+ <output>
417
+ <soap:body use="literal"/>
418
+ </output>
419
+ </operation>
420
+ <operation name="GetAllCreditInstruments">
421
+ <soap:operation soapAction="urn:GetAllCreditInstruments"/>
422
+ <input>
423
+ <soap:body use="literal"/>
424
+ </input>
425
+ <output>
426
+ <soap:body use="literal"/>
427
+ </output>
428
+ </operation>
429
+ <operation name="GetAllPrepaidInstruments">
430
+ <soap:operation soapAction="urn:GetAllPrepaidInstruments"/>
431
+ <input>
432
+ <soap:body use="literal"/>
433
+ </input>
434
+ <output>
435
+ <soap:body use="literal"/>
436
+ </output>
437
+ </operation>
438
+ <operation name="GetAccountBalance">
439
+ <soap:operation soapAction="urn:GetAccountBalance"/>
440
+ <input>
441
+ <soap:body use="literal"/>
442
+ </input>
443
+ <output>
444
+ <soap:body use="literal"/>
445
+ </output>
446
+ </operation>
447
+ <operation name="GetAccountActivity">
448
+ <soap:operation soapAction="urn:GetAccountActivity"/>
449
+ <input>
450
+ <soap:body use="literal"/>
451
+ </input>
452
+ <output>
453
+ <soap:body use="literal"/>
454
+ </output>
455
+ </operation>
456
+ <operation name="GetTokens">
457
+ <soap:operation soapAction="urn:GetTokens"/>
458
+ <input>
459
+ <soap:body use="literal"/>
460
+ </input>
461
+ <output>
462
+ <soap:body use="literal"/>
463
+ </output>
464
+ </operation>
465
+ <operation name="GetPaymentInstruction">
466
+ <soap:operation soapAction="urn:GetPaymentInstruction"/>
467
+ <input>
468
+ <soap:body use="literal"/>
469
+ </input>
470
+ <output>
471
+ <soap:body use="literal"/>
472
+ </output>
473
+ </operation>
474
+ <operation name="CancelToken">
475
+ <soap:operation soapAction="urn:CancelToken"/>
476
+ <input>
477
+ <soap:body use="literal"/>
478
+ </input>
479
+ <output>
480
+ <soap:body use="literal"/>
481
+ </output>
482
+ </operation>
483
+ <operation name="PayBatch">
484
+ <soap:operation soapAction="urn:PayBatch"/>
485
+ <input>
486
+ <soap:body use="literal"/>
487
+ </input>
488
+ <output>
489
+ <soap:body use="literal"/>
490
+ </output>
491
+ </operation>
492
+ <operation name="Pay">
493
+ <soap:operation soapAction="urn:Pay"/>
494
+ <input>
495
+ <soap:body use="literal"/>
496
+ </input>
497
+ <output>
498
+ <soap:body use="literal"/>
499
+ </output>
500
+ </operation>
501
+ <operation name="Reserve">
502
+ <soap:operation soapAction="urn:Reserve"/>
503
+ <input>
504
+ <soap:body use="literal"/>
505
+ </input>
506
+ <output>
507
+ <soap:body use="literal"/>
508
+ </output>
509
+ </operation>
510
+ <operation name="Settle">
511
+ <soap:operation soapAction="urn:Settle"/>
512
+ <input>
513
+ <soap:body use="literal"/>
514
+ </input>
515
+ <output>
516
+ <soap:body use="literal"/>
517
+ </output>
518
+ </operation>
519
+ <operation name="Refund">
520
+ <soap:operation soapAction="urn:Refund"/>
521
+ <input>
522
+ <soap:body use="literal"/>
523
+ </input>
524
+ <output>
525
+ <soap:body use="literal"/>
526
+ </output>
527
+ </operation>
528
+ <operation name="GetResults">
529
+ <soap:operation soapAction="urn:GetResults"/>
530
+ <input>
531
+ <soap:body use="literal"/>
532
+ </input>
533
+ <output>
534
+ <soap:body use="literal"/>
535
+ </output>
536
+ </operation>
537
+ <operation name="DiscardResults">
538
+ <soap:operation soapAction="urn:DiscardResults"/>
539
+ <input>
540
+ <soap:body use="literal"/>
541
+ </input>
542
+ <output>
543
+ <soap:body use="literal"/>
544
+ </output>
545
+ </operation>
546
+ <operation name="GetTransaction">
547
+ <soap:operation soapAction="urn:GetTransaction"/>
548
+ <input>
549
+ <soap:body use="literal"/>
550
+ </input>
551
+ <output>
552
+ <soap:body use="literal"/>
553
+ </output>
554
+ </operation>
555
+ <operation name="RetryTransaction">
556
+ <soap:operation soapAction="urn:RetryTransaction"/>
557
+ <input>
558
+ <soap:body use="literal"/>
559
+ </input>
560
+ <output>
561
+ <soap:body use="literal"/>
562
+ </output>
563
+ </operation>
564
+ <operation name="GetTokenByCaller">
565
+ <soap:operation soapAction="urn:GetTokenByCaller"/>
566
+ <input>
567
+ <soap:body use="literal"/>
568
+ </input>
569
+ <output>
570
+ <soap:body use="literal"/>
571
+ </output>
572
+ </operation>
573
+ </binding>
574
+ <service name="AmazonFPS">
575
+ <port name="AmazonFPSPort" binding="tns:AmazonFPSBinding">
576
+ <soap:address location="https://fps.amazonaws.com"/>
577
+ </port>
578
+ </service>
579
+ </definitions>