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.
- data/History.txt +4 -0
- data/Manifest.txt +0 -3
- data/README.txt +1 -1
- data/lib/AmazonFPSClient.rb +85 -157
- data/lib/amazon_fps.rb +9 -9
- data/lib/default.rb +1027 -1308
- data/lib/defaultDriver.rb +87 -135
- data/lib/defaultMappingRegistry.rb +638 -795
- data/test/test_amazon_fps.rb +11 -33
- metadata +5 -8
- data/certs/afps-sdk-keystore.p12 +0 -0
- data/certs/aws.cer +0 -16
- data/certs/aws.cer.key +0 -14
data/lib/amazon_fps.rb
CHANGED
@@ -19,7 +19,7 @@ class AmazonFPS
|
|
19
19
|
include SOAP::RPC
|
20
20
|
include WSS4R::Tokenresolver
|
21
21
|
|
22
|
-
VERSION = '
|
22
|
+
VERSION = '1.0.0'
|
23
23
|
SANDBOX_ENDPOINT = 'https://fps.sandbox.amazonaws.com'
|
24
24
|
LIVE_ENDPOINT = 'https://fps.amazonaws.com'
|
25
25
|
CERTIFICATE_DIR = File.join(File.dirname(__FILE__), '..', 'certs')
|
@@ -50,14 +50,14 @@ class AmazonFPS
|
|
50
50
|
private
|
51
51
|
|
52
52
|
def sign
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
53
|
+
@resolver = CertificateDirectoryResolver.new(@certificate_dir)
|
54
|
+
@aws.security().clear_resolver!()
|
55
|
+
@aws.security().add_security_resolver(@resolver)
|
56
|
+
sign_cert = @resolver.certificate_by_subject(@options[:subject])
|
57
|
+
pkey = @resolver.private_key(sign_cert)
|
58
|
+
x509 = X509SecurityToken.new(sign_cert, pkey)
|
59
|
+
signature = Signature.new(x509)
|
60
|
+
@aws.security().add_security_token(signature)
|
61
61
|
end
|
62
62
|
|
63
63
|
def method_missing(method, *args)
|
data/lib/default.rb
CHANGED
@@ -1,113 +1,207 @@
|
|
1
1
|
# Auto-generated from wsdl2ruby.rb, defines data types from
|
2
2
|
# the AmazonFPS web service.
|
3
|
+
#
|
4
|
+
# Only included for reference
|
5
|
+
#
|
3
6
|
require 'xsd/qname'
|
4
7
|
|
5
|
-
# {http://fps.amazonaws.com/doc/
|
6
|
-
# count - SOAP::SOAPInteger
|
7
|
-
# amount - Amount
|
8
|
-
# lastResetCount - SOAP::SOAPInteger
|
9
|
-
# lastResetAmount - Amount
|
10
|
-
# lastResetTimeStamp - SOAP::SOAPDateTime
|
11
|
-
class TokenUsageLimit
|
12
|
-
attr_accessor :count
|
13
|
-
attr_accessor :amount
|
14
|
-
attr_accessor :lastResetCount
|
15
|
-
attr_accessor :lastResetAmount
|
16
|
-
attr_accessor :lastResetTimeStamp
|
17
|
-
|
18
|
-
def initialize(count = nil, amount = nil, lastResetCount = nil, lastResetAmount = nil, lastResetTimeStamp = nil)
|
19
|
-
@count = count
|
20
|
-
@amount = amount
|
21
|
-
@lastResetCount = lastResetCount
|
22
|
-
@lastResetAmount = lastResetAmount
|
23
|
-
@lastResetTimeStamp = lastResetTimeStamp
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}StatusChange
|
28
|
-
# date - SOAP::SOAPDateTime
|
29
|
-
# status - TransactionStatus
|
30
|
-
# amount - Amount
|
31
|
-
class StatusChange
|
32
|
-
attr_accessor :date
|
33
|
-
attr_accessor :status
|
34
|
-
attr_accessor :amount
|
35
|
-
|
36
|
-
def initialize(date = nil, status = nil, amount = nil)
|
37
|
-
@date = date
|
38
|
-
@status = status
|
39
|
-
@amount = amount
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}Amount
|
8
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Amount
|
44
9
|
# currencyCode - CurrencyCode
|
45
|
-
#
|
10
|
+
# value - SOAP::SOAPString
|
46
11
|
class Amount
|
47
12
|
attr_accessor :currencyCode
|
48
|
-
attr_accessor :
|
13
|
+
attr_accessor :value
|
49
14
|
|
50
|
-
def initialize(currencyCode = nil,
|
15
|
+
def initialize(currencyCode = nil, value = nil)
|
51
16
|
@currencyCode = currencyCode
|
52
|
-
@
|
17
|
+
@value = value
|
53
18
|
end
|
54
19
|
end
|
55
20
|
|
56
|
-
# {http://fps.amazonaws.com/doc/
|
57
|
-
#
|
58
|
-
#
|
21
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}DescriptorPolicy
|
22
|
+
# softDescriptorType - SoftDescriptorType
|
23
|
+
# cSOwner - CSOwner
|
24
|
+
class DescriptorPolicy
|
25
|
+
attr_accessor :softDescriptorType
|
26
|
+
attr_accessor :cSOwner
|
27
|
+
|
28
|
+
def initialize(softDescriptorType = nil, cSOwner = nil)
|
29
|
+
@softDescriptorType = softDescriptorType
|
30
|
+
@cSOwner = cSOwner
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}TransactionPart
|
35
|
+
# instrumentId - SOAP::SOAPString
|
59
36
|
# role - TransactionalRole
|
60
37
|
# name - SOAP::SOAPString
|
61
38
|
# reference - SOAP::SOAPString
|
62
39
|
# description - SOAP::SOAPString
|
63
|
-
#
|
40
|
+
# feesPaid - Amount
|
64
41
|
class TransactionPart
|
65
|
-
attr_accessor :accountId
|
66
42
|
attr_accessor :instrumentId
|
67
43
|
attr_accessor :role
|
68
44
|
attr_accessor :name
|
69
45
|
attr_accessor :reference
|
70
46
|
attr_accessor :description
|
71
|
-
attr_accessor :
|
47
|
+
attr_accessor :feesPaid
|
72
48
|
|
73
|
-
def initialize(
|
74
|
-
@accountId = accountId
|
49
|
+
def initialize(instrumentId = nil, role = nil, name = nil, reference = nil, description = nil, feesPaid = nil)
|
75
50
|
@instrumentId = instrumentId
|
76
51
|
@role = role
|
77
52
|
@name = name
|
78
53
|
@reference = reference
|
79
54
|
@description = description
|
80
|
-
@
|
55
|
+
@feesPaid = feesPaid
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Transaction
|
60
|
+
# transactionId - SOAP::SOAPString
|
61
|
+
# callerTransactionDate - SOAP::SOAPDateTime
|
62
|
+
# dateReceived - SOAP::SOAPDateTime
|
63
|
+
# dateCompleted - SOAP::SOAPDateTime
|
64
|
+
# transactionAmount - Amount
|
65
|
+
# fPSOperation - FPSOperation
|
66
|
+
# transactionStatus - TransactionStatus
|
67
|
+
# statusMessage - SOAP::SOAPString
|
68
|
+
# statusCode - SOAP::SOAPString
|
69
|
+
# originalTransactionId - SOAP::SOAPString
|
70
|
+
# transactionPart - TransactionPart
|
71
|
+
# paymentMethod - PaymentMethod
|
72
|
+
# senderName - SOAP::SOAPString
|
73
|
+
# callerName - SOAP::SOAPString
|
74
|
+
# recipientName - SOAP::SOAPString
|
75
|
+
# fPSFees - Amount
|
76
|
+
# balance - Amount
|
77
|
+
# senderTokenId - SOAP::SOAPString
|
78
|
+
# recipientTokenId - SOAP::SOAPString
|
79
|
+
class Transaction
|
80
|
+
attr_accessor :transactionId
|
81
|
+
attr_accessor :callerTransactionDate
|
82
|
+
attr_accessor :dateReceived
|
83
|
+
attr_accessor :dateCompleted
|
84
|
+
attr_accessor :transactionAmount
|
85
|
+
attr_accessor :fPSOperation
|
86
|
+
attr_accessor :transactionStatus
|
87
|
+
attr_accessor :statusMessage
|
88
|
+
attr_accessor :statusCode
|
89
|
+
attr_accessor :originalTransactionId
|
90
|
+
attr_accessor :transactionPart
|
91
|
+
attr_accessor :paymentMethod
|
92
|
+
attr_accessor :senderName
|
93
|
+
attr_accessor :callerName
|
94
|
+
attr_accessor :recipientName
|
95
|
+
attr_accessor :fPSFees
|
96
|
+
attr_accessor :balance
|
97
|
+
attr_accessor :senderTokenId
|
98
|
+
attr_accessor :recipientTokenId
|
99
|
+
|
100
|
+
def initialize(transactionId = nil, callerTransactionDate = nil, dateReceived = nil, dateCompleted = nil, transactionAmount = nil, fPSOperation = nil, transactionStatus = nil, statusMessage = nil, statusCode = nil, originalTransactionId = nil, transactionPart = [], paymentMethod = nil, senderName = nil, callerName = nil, recipientName = nil, fPSFees = nil, balance = nil, senderTokenId = nil, recipientTokenId = nil)
|
101
|
+
@transactionId = transactionId
|
102
|
+
@callerTransactionDate = callerTransactionDate
|
103
|
+
@dateReceived = dateReceived
|
104
|
+
@dateCompleted = dateCompleted
|
105
|
+
@transactionAmount = transactionAmount
|
106
|
+
@fPSOperation = fPSOperation
|
107
|
+
@transactionStatus = transactionStatus
|
108
|
+
@statusMessage = statusMessage
|
109
|
+
@statusCode = statusCode
|
110
|
+
@originalTransactionId = originalTransactionId
|
111
|
+
@transactionPart = transactionPart
|
112
|
+
@paymentMethod = paymentMethod
|
113
|
+
@senderName = senderName
|
114
|
+
@callerName = callerName
|
115
|
+
@recipientName = recipientName
|
116
|
+
@fPSFees = fPSFees
|
117
|
+
@balance = balance
|
118
|
+
@senderTokenId = senderTokenId
|
119
|
+
@recipientTokenId = recipientTokenId
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}AvailableBalances
|
124
|
+
# disburseBalance - Amount
|
125
|
+
# refundBalance - Amount
|
126
|
+
class AvailableBalances
|
127
|
+
attr_accessor :disburseBalance
|
128
|
+
attr_accessor :refundBalance
|
129
|
+
|
130
|
+
def initialize(disburseBalance = nil, refundBalance = nil)
|
131
|
+
@disburseBalance = disburseBalance
|
132
|
+
@refundBalance = refundBalance
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}AccountBalance
|
137
|
+
# totalBalance - Amount
|
138
|
+
# pendingInBalance - Amount
|
139
|
+
# pendingOutBalance - Amount
|
140
|
+
# availableBalances - AvailableBalances
|
141
|
+
class AccountBalance
|
142
|
+
attr_accessor :totalBalance
|
143
|
+
attr_accessor :pendingInBalance
|
144
|
+
attr_accessor :pendingOutBalance
|
145
|
+
attr_accessor :availableBalances
|
146
|
+
|
147
|
+
def initialize(totalBalance = nil, pendingInBalance = nil, pendingOutBalance = nil, availableBalances = nil)
|
148
|
+
@totalBalance = totalBalance
|
149
|
+
@pendingInBalance = pendingInBalance
|
150
|
+
@pendingOutBalance = pendingOutBalance
|
151
|
+
@availableBalances = availableBalances
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}DebtBalance
|
156
|
+
# availableBalance - Amount
|
157
|
+
# pendingOutBalance - Amount
|
158
|
+
class DebtBalance
|
159
|
+
attr_accessor :availableBalance
|
160
|
+
attr_accessor :pendingOutBalance
|
161
|
+
|
162
|
+
def initialize(availableBalance = nil, pendingOutBalance = nil)
|
163
|
+
@availableBalance = availableBalance
|
164
|
+
@pendingOutBalance = pendingOutBalance
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}OutstandingDebtBalance
|
169
|
+
# outstandingBalance - Amount
|
170
|
+
# pendingOutBalance - Amount
|
171
|
+
class OutstandingDebtBalance
|
172
|
+
attr_accessor :outstandingBalance
|
173
|
+
attr_accessor :pendingOutBalance
|
174
|
+
|
175
|
+
def initialize(outstandingBalance = nil, pendingOutBalance = nil)
|
176
|
+
@outstandingBalance = outstandingBalance
|
177
|
+
@pendingOutBalance = pendingOutBalance
|
81
178
|
end
|
82
179
|
end
|
83
180
|
|
84
|
-
# {http://fps.amazonaws.com/doc/
|
85
|
-
# tokenId -
|
181
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Token
|
182
|
+
# tokenId - SOAP::SOAPString
|
86
183
|
# friendlyName - SOAP::SOAPString
|
87
|
-
#
|
184
|
+
# tokenStatus - TokenStatus
|
88
185
|
# dateInstalled - SOAP::SOAPDateTime
|
89
|
-
# callerInstalled - (any)
|
90
186
|
# callerReference - SOAP::SOAPString
|
91
187
|
# tokenType - TokenType
|
92
|
-
# oldTokenId -
|
188
|
+
# oldTokenId - SOAP::SOAPString
|
93
189
|
# paymentReason - SOAP::SOAPString
|
94
190
|
class Token
|
95
191
|
attr_accessor :tokenId
|
96
192
|
attr_accessor :friendlyName
|
97
|
-
attr_accessor :
|
193
|
+
attr_accessor :tokenStatus
|
98
194
|
attr_accessor :dateInstalled
|
99
|
-
attr_accessor :callerInstalled
|
100
195
|
attr_accessor :callerReference
|
101
196
|
attr_accessor :tokenType
|
102
197
|
attr_accessor :oldTokenId
|
103
198
|
attr_accessor :paymentReason
|
104
199
|
|
105
|
-
def initialize(tokenId = nil, friendlyName = nil,
|
200
|
+
def initialize(tokenId = nil, friendlyName = nil, tokenStatus = nil, dateInstalled = nil, callerReference = nil, tokenType = nil, oldTokenId = nil, paymentReason = nil)
|
106
201
|
@tokenId = tokenId
|
107
202
|
@friendlyName = friendlyName
|
108
|
-
@
|
203
|
+
@tokenStatus = tokenStatus
|
109
204
|
@dateInstalled = dateInstalled
|
110
|
-
@callerInstalled = callerInstalled
|
111
205
|
@callerReference = callerReference
|
112
206
|
@tokenType = tokenType
|
113
207
|
@oldTokenId = oldTokenId
|
@@ -115,49 +209,7 @@ class Token
|
|
115
209
|
end
|
116
210
|
end
|
117
211
|
|
118
|
-
# {http://fps.amazonaws.com/doc/
|
119
|
-
# transactionId - SOAP::SOAPString
|
120
|
-
# operation - FPSOperation
|
121
|
-
# callerReference - SOAP::SOAPString
|
122
|
-
# status - TransactionResultStatus
|
123
|
-
class TransactionResult
|
124
|
-
attr_accessor :transactionId
|
125
|
-
attr_accessor :operation
|
126
|
-
attr_accessor :callerReference
|
127
|
-
attr_accessor :status
|
128
|
-
|
129
|
-
def initialize(transactionId = nil, operation = nil, callerReference = nil, status = nil)
|
130
|
-
@transactionId = transactionId
|
131
|
-
@operation = operation
|
132
|
-
@callerReference = callerReference
|
133
|
-
@status = status
|
134
|
-
end
|
135
|
-
end
|
136
|
-
|
137
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}ServiceError
|
138
|
-
# errorType - ErrorType
|
139
|
-
# isRetriable - SOAP::SOAPBoolean
|
140
|
-
# errorCode - SOAP::SOAPString
|
141
|
-
# reasonText - SOAP::SOAPString
|
142
|
-
class ServiceError
|
143
|
-
attr_accessor :errorType
|
144
|
-
attr_accessor :isRetriable
|
145
|
-
attr_accessor :errorCode
|
146
|
-
attr_accessor :reasonText
|
147
|
-
|
148
|
-
def initialize(errorType = nil, isRetriable = nil, errorCode = nil, reasonText = nil)
|
149
|
-
@errorType = errorType
|
150
|
-
@isRetriable = isRetriable
|
151
|
-
@errorCode = errorCode
|
152
|
-
@reasonText = reasonText
|
153
|
-
end
|
154
|
-
end
|
155
|
-
|
156
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}ServiceErrors
|
157
|
-
class ServiceErrors < ::Array
|
158
|
-
end
|
159
|
-
|
160
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}PrepaidBalance
|
212
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}PrepaidBalance
|
161
213
|
# availableBalance - Amount
|
162
214
|
# pendingInBalance - Amount
|
163
215
|
class PrepaidBalance
|
@@ -170,7 +222,29 @@ class PrepaidBalance
|
|
170
222
|
end
|
171
223
|
end
|
172
224
|
|
173
|
-
# {http://fps.amazonaws.com/doc/
|
225
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}TokenUsageLimit
|
226
|
+
# count - SOAP::SOAPInteger
|
227
|
+
# amount - Amount
|
228
|
+
# lastResetCount - SOAP::SOAPInteger
|
229
|
+
# lastResetAmount - Amount
|
230
|
+
# lastResetTimestamp - SOAP::SOAPDateTime
|
231
|
+
class TokenUsageLimit
|
232
|
+
attr_accessor :count
|
233
|
+
attr_accessor :amount
|
234
|
+
attr_accessor :lastResetCount
|
235
|
+
attr_accessor :lastResetAmount
|
236
|
+
attr_accessor :lastResetTimestamp
|
237
|
+
|
238
|
+
def initialize(count = nil, amount = nil, lastResetCount = nil, lastResetAmount = nil, lastResetTimestamp = nil)
|
239
|
+
@count = count
|
240
|
+
@amount = amount
|
241
|
+
@lastResetCount = lastResetCount
|
242
|
+
@lastResetAmount = lastResetAmount
|
243
|
+
@lastResetTimestamp = lastResetTimestamp
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}OutstandingPrepaidLiability
|
174
248
|
# outstandingBalance - Amount
|
175
249
|
# pendingInBalance - Amount
|
176
250
|
class OutstandingPrepaidLiability
|
@@ -183,425 +257,499 @@ class OutstandingPrepaidLiability
|
|
183
257
|
end
|
184
258
|
end
|
185
259
|
|
186
|
-
# {http://fps.amazonaws.com/doc/
|
187
|
-
#
|
188
|
-
#
|
189
|
-
class
|
190
|
-
attr_accessor :
|
191
|
-
attr_accessor :
|
260
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}RelatedTransaction
|
261
|
+
# transactionId - SOAP::SOAPString
|
262
|
+
# relationType - RelationType
|
263
|
+
class RelatedTransaction
|
264
|
+
attr_accessor :transactionId
|
265
|
+
attr_accessor :relationType
|
192
266
|
|
193
|
-
def initialize(
|
194
|
-
@
|
195
|
-
@
|
267
|
+
def initialize(transactionId = nil, relationType = nil)
|
268
|
+
@transactionId = transactionId
|
269
|
+
@relationType = relationType
|
196
270
|
end
|
197
271
|
end
|
198
272
|
|
199
|
-
# {http://fps.amazonaws.com/doc/
|
200
|
-
#
|
201
|
-
#
|
202
|
-
|
203
|
-
|
204
|
-
|
273
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}StatusHistory
|
274
|
+
# date - SOAP::SOAPDateTime
|
275
|
+
# transactionStatus - TransactionStatus
|
276
|
+
# statusCode - SOAP::SOAPString
|
277
|
+
# amount - Amount
|
278
|
+
class StatusHistory
|
279
|
+
attr_accessor :date
|
280
|
+
attr_accessor :transactionStatus
|
281
|
+
attr_accessor :statusCode
|
282
|
+
attr_accessor :amount
|
205
283
|
|
206
|
-
def initialize(
|
207
|
-
@
|
208
|
-
@
|
284
|
+
def initialize(date = nil, transactionStatus = nil, statusCode = nil, amount = nil)
|
285
|
+
@date = date
|
286
|
+
@transactionStatus = transactionStatus
|
287
|
+
@statusCode = statusCode
|
288
|
+
@amount = amount
|
209
289
|
end
|
210
290
|
end
|
211
291
|
|
212
|
-
# {http://fps.amazonaws.com/doc/
|
292
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}TransactionDetail
|
213
293
|
# transactionId - SOAP::SOAPString
|
214
|
-
#
|
294
|
+
# callerReference - SOAP::SOAPString
|
295
|
+
# callerDescription - SOAP::SOAPString
|
296
|
+
# senderDescription - SOAP::SOAPString
|
215
297
|
# dateReceived - SOAP::SOAPDateTime
|
216
298
|
# dateCompleted - SOAP::SOAPDateTime
|
217
299
|
# transactionAmount - Amount
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
300
|
+
# fPSFees - Amount
|
301
|
+
# marketplaceFees - Amount
|
302
|
+
# fPSFeesPaidBy - TransactionalRole
|
303
|
+
# senderTokenId - SOAP::SOAPString
|
304
|
+
# recipientTokenId - SOAP::SOAPString
|
305
|
+
# prepaidInstrumentId - SOAP::SOAPString
|
306
|
+
# creditInstrumentId - SOAP::SOAPString
|
307
|
+
# fPSOperation - FPSOperation
|
225
308
|
# paymentMethod - PaymentMethod
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
# metaData - SOAP::SOAPString
|
309
|
+
# transactionStatus - TransactionStatus
|
310
|
+
# statusCode - SOAP::SOAPString
|
311
|
+
# statusMessage - SOAP::SOAPString
|
230
312
|
# senderName - SOAP::SOAPString
|
313
|
+
# senderEmail - SOAP::SOAPString
|
231
314
|
# callerName - SOAP::SOAPString
|
232
315
|
# recipientName - SOAP::SOAPString
|
233
|
-
#
|
234
|
-
#
|
235
|
-
# statusHistory -
|
316
|
+
# recipientEmail - SOAP::SOAPString
|
317
|
+
# relatedTransaction - RelatedTransaction
|
318
|
+
# statusHistory - StatusHistory
|
236
319
|
class TransactionDetail
|
237
320
|
attr_accessor :transactionId
|
238
|
-
attr_accessor :
|
321
|
+
attr_accessor :callerReference
|
322
|
+
attr_accessor :callerDescription
|
323
|
+
attr_accessor :senderDescription
|
239
324
|
attr_accessor :dateReceived
|
240
325
|
attr_accessor :dateCompleted
|
241
326
|
attr_accessor :transactionAmount
|
242
|
-
attr_accessor :
|
243
|
-
attr_accessor :
|
327
|
+
attr_accessor :fPSFees
|
328
|
+
attr_accessor :marketplaceFees
|
329
|
+
attr_accessor :fPSFeesPaidBy
|
244
330
|
attr_accessor :senderTokenId
|
245
331
|
attr_accessor :recipientTokenId
|
246
332
|
attr_accessor :prepaidInstrumentId
|
247
333
|
attr_accessor :creditInstrumentId
|
248
|
-
attr_accessor :
|
334
|
+
attr_accessor :fPSOperation
|
249
335
|
attr_accessor :paymentMethod
|
250
|
-
attr_accessor :
|
251
|
-
attr_accessor :
|
252
|
-
attr_accessor :
|
253
|
-
attr_accessor :metaData
|
336
|
+
attr_accessor :transactionStatus
|
337
|
+
attr_accessor :statusCode
|
338
|
+
attr_accessor :statusMessage
|
254
339
|
attr_accessor :senderName
|
340
|
+
attr_accessor :senderEmail
|
255
341
|
attr_accessor :callerName
|
256
342
|
attr_accessor :recipientName
|
257
|
-
attr_accessor :
|
258
|
-
attr_accessor :
|
343
|
+
attr_accessor :recipientEmail
|
344
|
+
attr_accessor :relatedTransaction
|
259
345
|
attr_accessor :statusHistory
|
260
346
|
|
261
|
-
def initialize(transactionId = nil,
|
347
|
+
def initialize(transactionId = nil, callerReference = nil, callerDescription = nil, senderDescription = nil, dateReceived = nil, dateCompleted = nil, transactionAmount = nil, fPSFees = nil, marketplaceFees = nil, fPSFeesPaidBy = nil, senderTokenId = nil, recipientTokenId = nil, prepaidInstrumentId = nil, creditInstrumentId = nil, fPSOperation = nil, paymentMethod = nil, transactionStatus = nil, statusCode = nil, statusMessage = nil, senderName = nil, senderEmail = nil, callerName = nil, recipientName = nil, recipientEmail = nil, relatedTransaction = [], statusHistory = [])
|
262
348
|
@transactionId = transactionId
|
263
|
-
@
|
349
|
+
@callerReference = callerReference
|
350
|
+
@callerDescription = callerDescription
|
351
|
+
@senderDescription = senderDescription
|
264
352
|
@dateReceived = dateReceived
|
265
353
|
@dateCompleted = dateCompleted
|
266
354
|
@transactionAmount = transactionAmount
|
267
|
-
@
|
268
|
-
@
|
355
|
+
@fPSFees = fPSFees
|
356
|
+
@marketplaceFees = marketplaceFees
|
357
|
+
@fPSFeesPaidBy = fPSFeesPaidBy
|
269
358
|
@senderTokenId = senderTokenId
|
270
359
|
@recipientTokenId = recipientTokenId
|
271
360
|
@prepaidInstrumentId = prepaidInstrumentId
|
272
361
|
@creditInstrumentId = creditInstrumentId
|
273
|
-
@
|
362
|
+
@fPSOperation = fPSOperation
|
274
363
|
@paymentMethod = paymentMethod
|
275
|
-
@
|
276
|
-
@
|
277
|
-
@
|
278
|
-
@metaData = metaData
|
364
|
+
@transactionStatus = transactionStatus
|
365
|
+
@statusCode = statusCode
|
366
|
+
@statusMessage = statusMessage
|
279
367
|
@senderName = senderName
|
368
|
+
@senderEmail = senderEmail
|
280
369
|
@callerName = callerName
|
281
370
|
@recipientName = recipientName
|
282
|
-
@
|
283
|
-
@
|
371
|
+
@recipientEmail = recipientEmail
|
372
|
+
@relatedTransaction = relatedTransaction
|
284
373
|
@statusHistory = statusHistory
|
285
374
|
end
|
286
375
|
end
|
287
376
|
|
288
|
-
# {http://fps.amazonaws.com/doc/
|
377
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}TransactionStatus
|
378
|
+
class TransactionStatus < ::String
|
379
|
+
Cancelled = TransactionStatus.new("Cancelled")
|
380
|
+
Failure = TransactionStatus.new("Failure")
|
381
|
+
Pending = TransactionStatus.new("Pending")
|
382
|
+
Reserved = TransactionStatus.new("Reserved")
|
383
|
+
Success = TransactionStatus.new("Success")
|
384
|
+
end
|
385
|
+
|
386
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}CurrencyCode
|
387
|
+
class CurrencyCode < ::String
|
388
|
+
USD = CurrencyCode.new("USD")
|
389
|
+
end
|
390
|
+
|
391
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}RelationType
|
392
|
+
class RelationType < ::String
|
393
|
+
MarketplaceFee = RelationType.new("MarketplaceFee")
|
394
|
+
Parent = RelationType.new("Parent")
|
395
|
+
Refund = RelationType.new("Refund")
|
396
|
+
RefundReversal = RelationType.new("RefundReversal")
|
397
|
+
end
|
398
|
+
|
399
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}ChargeFeeTo
|
400
|
+
class ChargeFeeTo < ::String
|
401
|
+
Caller = ChargeFeeTo.new("Caller")
|
402
|
+
Recipient = ChargeFeeTo.new("Recipient")
|
403
|
+
end
|
404
|
+
|
405
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}CSOwner
|
406
|
+
class CSOwner < ::String
|
407
|
+
Caller = CSOwner.new("Caller")
|
408
|
+
Recipient = CSOwner.new("Recipient")
|
409
|
+
end
|
410
|
+
|
411
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}SoftDescriptorType
|
412
|
+
class SoftDescriptorType < ::String
|
413
|
+
Dynamic = SoftDescriptorType.new("Dynamic")
|
414
|
+
Static = SoftDescriptorType.new("Static")
|
415
|
+
end
|
416
|
+
|
417
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}PaymentMethod
|
418
|
+
class PaymentMethod < ::String
|
419
|
+
ABT = PaymentMethod.new("ABT")
|
420
|
+
ACH = PaymentMethod.new("ACH")
|
421
|
+
CC = PaymentMethod.new("CC")
|
422
|
+
Debt = PaymentMethod.new("Debt")
|
423
|
+
Prepaid = PaymentMethod.new("Prepaid")
|
424
|
+
end
|
425
|
+
|
426
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}SortOrder
|
427
|
+
class SortOrder < ::String
|
428
|
+
Ascending = SortOrder.new("Ascending")
|
429
|
+
Descending = SortOrder.new("Descending")
|
430
|
+
end
|
431
|
+
|
432
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}FPSOperation
|
433
|
+
class FPSOperation < ::String
|
434
|
+
FundPrepaid = FPSOperation.new("FundPrepaid")
|
435
|
+
Pay = FPSOperation.new("Pay")
|
436
|
+
Refund = FPSOperation.new("Refund")
|
437
|
+
Reserve = FPSOperation.new("Reserve")
|
438
|
+
Settle = FPSOperation.new("Settle")
|
439
|
+
SettleDebt = FPSOperation.new("SettleDebt")
|
440
|
+
WriteOffDebt = FPSOperation.new("WriteOffDebt")
|
441
|
+
end
|
442
|
+
|
443
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}TransactionalRole
|
444
|
+
class TransactionalRole < ::String
|
445
|
+
Caller = TransactionalRole.new("Caller")
|
446
|
+
Recipient = TransactionalRole.new("Recipient")
|
447
|
+
Sender = TransactionalRole.new("Sender")
|
448
|
+
end
|
449
|
+
|
450
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}TokenStatus
|
451
|
+
class TokenStatus < ::String
|
452
|
+
Active = TokenStatus.new("Active")
|
453
|
+
Inactive = TokenStatus.new("Inactive")
|
454
|
+
end
|
455
|
+
|
456
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}TokenType
|
457
|
+
class TokenType < ::String
|
458
|
+
MultiUse = TokenType.new("MultiUse")
|
459
|
+
Recurring = TokenType.new("Recurring")
|
460
|
+
SingleUse = TokenType.new("SingleUse")
|
461
|
+
Unrestricted = TokenType.new("Unrestricted")
|
462
|
+
end
|
463
|
+
|
464
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}MarketplaceRefundPolicy
|
465
|
+
class MarketplaceRefundPolicy < ::String
|
466
|
+
MarketplaceTxnOnly = MarketplaceRefundPolicy.new("MarketplaceTxnOnly")
|
467
|
+
MasterAndMarketplaceTxn = MarketplaceRefundPolicy.new("MasterAndMarketplaceTxn")
|
468
|
+
MasterTxnOnly = MarketplaceRefundPolicy.new("MasterTxnOnly")
|
469
|
+
end
|
470
|
+
|
471
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Cancel
|
289
472
|
# transactionId - SOAP::SOAPString
|
290
|
-
|
473
|
+
# description - SOAP::SOAPString
|
474
|
+
class Cancel
|
291
475
|
attr_accessor :transactionId
|
476
|
+
attr_accessor :description
|
292
477
|
|
293
|
-
def initialize(transactionId = nil)
|
478
|
+
def initialize(transactionId = nil, description = nil)
|
294
479
|
@transactionId = transactionId
|
480
|
+
@description = description
|
295
481
|
end
|
296
482
|
end
|
297
483
|
|
298
|
-
# {http://fps.amazonaws.com/doc/
|
299
|
-
#
|
300
|
-
#
|
301
|
-
class
|
302
|
-
attr_accessor :
|
303
|
-
attr_accessor :
|
484
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}CancelResponse
|
485
|
+
# cancelResult - CancelResult
|
486
|
+
# responseMetadata - ResponseMetadata
|
487
|
+
class CancelResponse
|
488
|
+
attr_accessor :cancelResult
|
489
|
+
attr_accessor :responseMetadata
|
304
490
|
|
305
|
-
def initialize(
|
306
|
-
@
|
307
|
-
@
|
491
|
+
def initialize(cancelResult = nil, responseMetadata = nil)
|
492
|
+
@cancelResult = cancelResult
|
493
|
+
@responseMetadata = responseMetadata
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}CancelToken
|
498
|
+
# tokenId - SOAP::SOAPString
|
499
|
+
# reasonText - SOAP::SOAPString
|
500
|
+
class CancelToken
|
501
|
+
attr_accessor :tokenId
|
502
|
+
attr_accessor :reasonText
|
503
|
+
|
504
|
+
def initialize(tokenId = nil, reasonText = nil)
|
505
|
+
@tokenId = tokenId
|
506
|
+
@reasonText = reasonText
|
308
507
|
end
|
309
508
|
end
|
310
509
|
|
311
|
-
# {http://fps.amazonaws.com/doc/
|
312
|
-
#
|
313
|
-
|
314
|
-
|
315
|
-
attr_accessor :temporaryDeclinePolicyType
|
316
|
-
attr_accessor :implicitRetryTimeoutInMins
|
510
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}CancelTokenResponse
|
511
|
+
# responseMetadata - ResponseMetadata
|
512
|
+
class CancelTokenResponse
|
513
|
+
attr_accessor :responseMetadata
|
317
514
|
|
318
|
-
def initialize(
|
319
|
-
@
|
320
|
-
@implicitRetryTimeoutInMins = implicitRetryTimeoutInMins
|
515
|
+
def initialize(responseMetadata = nil)
|
516
|
+
@responseMetadata = responseMetadata
|
321
517
|
end
|
322
518
|
end
|
323
519
|
|
324
|
-
# {http://fps.amazonaws.com/doc/
|
325
|
-
#
|
326
|
-
#
|
327
|
-
|
328
|
-
|
329
|
-
|
520
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}CancelSubscriptionAndRefund
|
521
|
+
# subscriptionId - SOAP::SOAPString
|
522
|
+
# refundAmount - Amount
|
523
|
+
# callerReference - SOAP::SOAPString
|
524
|
+
# cancelReason - SOAP::SOAPString
|
525
|
+
class CancelSubscriptionAndRefund
|
526
|
+
attr_accessor :subscriptionId
|
527
|
+
attr_accessor :refundAmount
|
528
|
+
attr_accessor :callerReference
|
529
|
+
attr_accessor :cancelReason
|
330
530
|
|
331
|
-
def initialize(
|
332
|
-
@
|
333
|
-
@
|
531
|
+
def initialize(subscriptionId = nil, refundAmount = nil, callerReference = nil, cancelReason = nil)
|
532
|
+
@subscriptionId = subscriptionId
|
533
|
+
@refundAmount = refundAmount
|
534
|
+
@callerReference = callerReference
|
535
|
+
@cancelReason = cancelReason
|
334
536
|
end
|
335
537
|
end
|
336
538
|
|
337
|
-
# {http://fps.amazonaws.com/doc/
|
338
|
-
#
|
339
|
-
#
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
attr_accessor :totalBalance
|
344
|
-
attr_accessor :pendingInBalance
|
345
|
-
attr_accessor :pendingOutBalance
|
346
|
-
attr_accessor :availableBalances
|
539
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}CancelSubscriptionAndRefundResponse
|
540
|
+
# cancelSubscriptionAndRefundResult - CancelSubscriptionAndRefundResult
|
541
|
+
# responseMetadata - ResponseMetadata
|
542
|
+
class CancelSubscriptionAndRefundResponse
|
543
|
+
attr_accessor :cancelSubscriptionAndRefundResult
|
544
|
+
attr_accessor :responseMetadata
|
347
545
|
|
348
|
-
def initialize(
|
349
|
-
@
|
350
|
-
@
|
351
|
-
@pendingOutBalance = pendingOutBalance
|
352
|
-
@availableBalances = availableBalances
|
546
|
+
def initialize(cancelSubscriptionAndRefundResult = nil, responseMetadata = nil)
|
547
|
+
@cancelSubscriptionAndRefundResult = cancelSubscriptionAndRefundResult
|
548
|
+
@responseMetadata = responseMetadata
|
353
549
|
end
|
354
550
|
end
|
355
551
|
|
356
|
-
# {http://fps.amazonaws.com/doc/
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
|
366
|
-
# metaData - SOAP::SOAPString
|
367
|
-
# originalTransactionId - SOAP::SOAPString
|
368
|
-
# transactionParts - TransactionPart
|
369
|
-
# paymentMethod - PaymentMethod
|
370
|
-
# senderName - SOAP::SOAPString
|
371
|
-
# callerName - SOAP::SOAPString
|
372
|
-
# recipientName - SOAP::SOAPString
|
373
|
-
# fees - Amount
|
374
|
-
# balance - Amount
|
375
|
-
# callerTokenId - (any)
|
376
|
-
# senderTokenId - (any)
|
377
|
-
# recipientTokenId - (any)
|
378
|
-
class Transaction
|
379
|
-
attr_accessor :transactionId
|
380
|
-
attr_accessor :callerTransactionDate
|
381
|
-
attr_accessor :dateReceived
|
382
|
-
attr_accessor :dateCompleted
|
383
|
-
attr_accessor :transactionAmount
|
384
|
-
attr_accessor :operation
|
385
|
-
attr_accessor :status
|
386
|
-
attr_accessor :errorMessage
|
387
|
-
attr_accessor :errorCode
|
388
|
-
attr_accessor :metaData
|
389
|
-
attr_accessor :originalTransactionId
|
390
|
-
attr_accessor :transactionParts
|
391
|
-
attr_accessor :paymentMethod
|
392
|
-
attr_accessor :senderName
|
393
|
-
attr_accessor :callerName
|
394
|
-
attr_accessor :recipientName
|
395
|
-
attr_accessor :fees
|
396
|
-
attr_accessor :balance
|
397
|
-
attr_accessor :callerTokenId
|
552
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}FundPrepaid
|
553
|
+
# senderTokenId - SOAP::SOAPString
|
554
|
+
# prepaidInstrumentId - SOAP::SOAPString
|
555
|
+
# fundingAmount - Amount
|
556
|
+
# callerReference - SOAP::SOAPString
|
557
|
+
# senderDescription - SOAP::SOAPString
|
558
|
+
# callerDescription - SOAP::SOAPString
|
559
|
+
# descriptorPolicy - DescriptorPolicy
|
560
|
+
# transactionTimeoutInMins - SOAP::SOAPInteger
|
561
|
+
class FundPrepaid
|
398
562
|
attr_accessor :senderTokenId
|
399
|
-
attr_accessor :
|
563
|
+
attr_accessor :prepaidInstrumentId
|
564
|
+
attr_accessor :fundingAmount
|
565
|
+
attr_accessor :callerReference
|
566
|
+
attr_accessor :senderDescription
|
567
|
+
attr_accessor :callerDescription
|
568
|
+
attr_accessor :descriptorPolicy
|
569
|
+
attr_accessor :transactionTimeoutInMins
|
400
570
|
|
401
|
-
def initialize(
|
402
|
-
@transactionId = transactionId
|
403
|
-
@callerTransactionDate = callerTransactionDate
|
404
|
-
@dateReceived = dateReceived
|
405
|
-
@dateCompleted = dateCompleted
|
406
|
-
@transactionAmount = transactionAmount
|
407
|
-
@operation = operation
|
408
|
-
@status = status
|
409
|
-
@errorMessage = errorMessage
|
410
|
-
@errorCode = errorCode
|
411
|
-
@metaData = metaData
|
412
|
-
@originalTransactionId = originalTransactionId
|
413
|
-
@transactionParts = transactionParts
|
414
|
-
@paymentMethod = paymentMethod
|
415
|
-
@senderName = senderName
|
416
|
-
@callerName = callerName
|
417
|
-
@recipientName = recipientName
|
418
|
-
@fees = fees
|
419
|
-
@balance = balance
|
420
|
-
@callerTokenId = callerTokenId
|
571
|
+
def initialize(senderTokenId = nil, prepaidInstrumentId = nil, fundingAmount = nil, callerReference = nil, senderDescription = nil, callerDescription = nil, descriptorPolicy = nil, transactionTimeoutInMins = nil)
|
421
572
|
@senderTokenId = senderTokenId
|
422
|
-
@
|
573
|
+
@prepaidInstrumentId = prepaidInstrumentId
|
574
|
+
@fundingAmount = fundingAmount
|
575
|
+
@callerReference = callerReference
|
576
|
+
@senderDescription = senderDescription
|
577
|
+
@callerDescription = callerDescription
|
578
|
+
@descriptorPolicy = descriptorPolicy
|
579
|
+
@transactionTimeoutInMins = transactionTimeoutInMins
|
423
580
|
end
|
424
581
|
end
|
425
582
|
|
426
|
-
# {http://fps.amazonaws.com/doc/
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
583
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}FundPrepaidResponse
|
584
|
+
# fundPrepaidResult - FundPrepaidResult
|
585
|
+
# responseMetadata - ResponseMetadata
|
586
|
+
class FundPrepaidResponse
|
587
|
+
attr_accessor :fundPrepaidResult
|
588
|
+
attr_accessor :responseMetadata
|
431
589
|
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
Cancelled = InstrumentStatus.new("Cancelled")
|
590
|
+
def initialize(fundPrepaidResult = nil, responseMetadata = nil)
|
591
|
+
@fundPrepaidResult = fundPrepaidResult
|
592
|
+
@responseMetadata = responseMetadata
|
593
|
+
end
|
437
594
|
end
|
438
595
|
|
439
|
-
# {http://fps.amazonaws.com/doc/
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
596
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountActivity
|
597
|
+
# maxBatchSize - SOAP::SOAPInteger
|
598
|
+
# startDate - SOAP::SOAPDateTime
|
599
|
+
# endDate - SOAP::SOAPDateTime
|
600
|
+
# sortOrderByDate - SortOrder
|
601
|
+
# fPSOperation - FPSOperation
|
602
|
+
# paymentMethod - PaymentMethod
|
603
|
+
# role - TransactionalRole
|
604
|
+
# transactionStatus - TransactionStatus
|
605
|
+
class GetAccountActivity
|
606
|
+
attr_accessor :maxBatchSize
|
607
|
+
attr_accessor :startDate
|
608
|
+
attr_accessor :endDate
|
609
|
+
attr_accessor :sortOrderByDate
|
610
|
+
attr_accessor :fPSOperation
|
611
|
+
attr_accessor :paymentMethod
|
612
|
+
attr_accessor :role
|
613
|
+
attr_accessor :transactionStatus
|
445
614
|
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
615
|
+
def initialize(maxBatchSize = nil, startDate = nil, endDate = nil, sortOrderByDate = nil, fPSOperation = nil, paymentMethod = nil, role = [], transactionStatus = nil)
|
616
|
+
@maxBatchSize = maxBatchSize
|
617
|
+
@startDate = startDate
|
618
|
+
@endDate = endDate
|
619
|
+
@sortOrderByDate = sortOrderByDate
|
620
|
+
@fPSOperation = fPSOperation
|
621
|
+
@paymentMethod = paymentMethod
|
622
|
+
@role = role
|
623
|
+
@transactionStatus = transactionStatus
|
624
|
+
end
|
450
625
|
end
|
451
626
|
|
452
|
-
# {http://fps.amazonaws.com/doc/
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
627
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountActivityResponse
|
628
|
+
# getAccountActivityResult - GetAccountActivityResult
|
629
|
+
# responseMetadata - ResponseMetadata
|
630
|
+
class GetAccountActivityResponse
|
631
|
+
attr_accessor :getAccountActivityResult
|
632
|
+
attr_accessor :responseMetadata
|
457
633
|
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
Reinitiated = TransactionStatus.new("Reinitiated")
|
463
|
-
Reserved = TransactionStatus.new("Reserved")
|
464
|
-
Success = TransactionStatus.new("Success")
|
465
|
-
TemporaryDecline = TransactionStatus.new("TemporaryDecline")
|
634
|
+
def initialize(getAccountActivityResult = nil, responseMetadata = nil)
|
635
|
+
@getAccountActivityResult = getAccountActivityResult
|
636
|
+
@responseMetadata = responseMetadata
|
637
|
+
end
|
466
638
|
end
|
467
639
|
|
468
|
-
# {http://fps.amazonaws.com/doc/
|
469
|
-
class
|
470
|
-
|
471
|
-
|
472
|
-
Reinitiated = TransactionStatusFilter.new("Reinitiated")
|
473
|
-
Success = TransactionStatusFilter.new("Success")
|
474
|
-
TemporaryDecline = TransactionStatusFilter.new("TemporaryDecline")
|
640
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountBalance
|
641
|
+
class GetAccountBalance
|
642
|
+
def initialize
|
643
|
+
end
|
475
644
|
end
|
476
645
|
|
477
|
-
# {http://fps.amazonaws.com/doc/
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
646
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountBalanceResponse
|
647
|
+
# getAccountBalanceResult - GetAccountBalanceResult
|
648
|
+
# responseMetadata - ResponseMetadata
|
649
|
+
class GetAccountBalanceResponse
|
650
|
+
attr_accessor :getAccountBalanceResult
|
651
|
+
attr_accessor :responseMetadata
|
482
652
|
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
SingleUse = TokenType.new("SingleUse")
|
488
|
-
Unrestricted = TokenType.new("Unrestricted")
|
653
|
+
def initialize(getAccountBalanceResult = nil, responseMetadata = nil)
|
654
|
+
@getAccountBalanceResult = getAccountBalanceResult
|
655
|
+
@responseMetadata = responseMetadata
|
656
|
+
end
|
489
657
|
end
|
490
658
|
|
491
|
-
# {http://fps.amazonaws.com/doc/
|
492
|
-
|
493
|
-
|
494
|
-
|
659
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetDebtBalance
|
660
|
+
# creditInstrumentId - SOAP::SOAPString
|
661
|
+
class GetDebtBalance
|
662
|
+
attr_accessor :creditInstrumentId
|
495
663
|
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
TransactionResults = NotificationEventType.new("TransactionResults")
|
664
|
+
def initialize(creditInstrumentId = nil)
|
665
|
+
@creditInstrumentId = creditInstrumentId
|
666
|
+
end
|
500
667
|
end
|
501
668
|
|
502
|
-
# {http://fps.amazonaws.com/doc/
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
Reserve = FPSOperation.new("Reserve")
|
509
|
-
Settle = FPSOperation.new("Settle")
|
510
|
-
SettleDebt = FPSOperation.new("SettleDebt")
|
511
|
-
WithdrawFunds = FPSOperation.new("WithdrawFunds")
|
512
|
-
WriteOffDebt = FPSOperation.new("WriteOffDebt")
|
513
|
-
end
|
669
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetDebtBalanceResponse
|
670
|
+
# getDebtBalanceResult - GetDebtBalanceResult
|
671
|
+
# responseMetadata - ResponseMetadata
|
672
|
+
class GetDebtBalanceResponse
|
673
|
+
attr_accessor :getDebtBalanceResult
|
674
|
+
attr_accessor :responseMetadata
|
514
675
|
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
Pay = FPSOperationFilter.new("Pay")
|
520
|
-
Refund = FPSOperationFilter.new("Refund")
|
521
|
-
Settle = FPSOperationFilter.new("Settle")
|
522
|
-
SettleDebt = FPSOperationFilter.new("SettleDebt")
|
523
|
-
WithdrawFunds = FPSOperationFilter.new("WithdrawFunds")
|
524
|
-
WriteOffDebt = FPSOperationFilter.new("WriteOffDebt")
|
676
|
+
def initialize(getDebtBalanceResult = nil, responseMetadata = nil)
|
677
|
+
@getDebtBalanceResult = getDebtBalanceResult
|
678
|
+
@responseMetadata = responseMetadata
|
679
|
+
end
|
525
680
|
end
|
526
681
|
|
527
|
-
# {http://fps.amazonaws.com/doc/
|
528
|
-
class
|
529
|
-
|
530
|
-
|
682
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetOutstandingDebtBalance
|
683
|
+
class GetOutstandingDebtBalance
|
684
|
+
def initialize
|
685
|
+
end
|
531
686
|
end
|
532
687
|
|
533
|
-
# {http://fps.amazonaws.com/doc/
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
DebtTracker = TransactionalRole.new("DebtTracker")
|
540
|
-
LiabilityTracker = TransactionalRole.new("LiabilityTracker")
|
541
|
-
PrepaidLiabilityHolder = TransactionalRole.new("PrepaidLiabilityHolder")
|
542
|
-
PrepaidToken = TransactionalRole.new("PrepaidToken")
|
543
|
-
Recipient = TransactionalRole.new("Recipient")
|
544
|
-
Sender = TransactionalRole.new("Sender")
|
545
|
-
end
|
688
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetOutstandingDebtBalanceResponse
|
689
|
+
# getOutstandingDebtBalanceResult - GetOutstandingDebtBalanceResult
|
690
|
+
# responseMetadata - ResponseMetadata
|
691
|
+
class GetOutstandingDebtBalanceResponse
|
692
|
+
attr_accessor :getOutstandingDebtBalanceResult
|
693
|
+
attr_accessor :responseMetadata
|
546
694
|
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
Sender = TransactionalRoleFilter.new("Sender")
|
695
|
+
def initialize(getOutstandingDebtBalanceResult = nil, responseMetadata = nil)
|
696
|
+
@getOutstandingDebtBalanceResult = getOutstandingDebtBalanceResult
|
697
|
+
@responseMetadata = responseMetadata
|
698
|
+
end
|
552
699
|
end
|
553
700
|
|
554
|
-
# {http://fps.amazonaws.com/doc/
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
CC = PaymentMethod.new("CC")
|
559
|
-
Debt = PaymentMethod.new("Debt")
|
560
|
-
Prepaid = PaymentMethod.new("Prepaid")
|
561
|
-
end
|
701
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetPrepaidBalance
|
702
|
+
# prepaidInstrumentId - SOAP::SOAPString
|
703
|
+
class GetPrepaidBalance
|
704
|
+
attr_accessor :prepaidInstrumentId
|
562
705
|
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
Success = TransactionResultStatus.new("Success")
|
567
|
-
TemporaryDecline = TransactionResultStatus.new("TemporaryDecline")
|
706
|
+
def initialize(prepaidInstrumentId = nil)
|
707
|
+
@prepaidInstrumentId = prepaidInstrumentId
|
708
|
+
end
|
568
709
|
end
|
569
710
|
|
570
|
-
# {http://fps.amazonaws.com/doc/
|
571
|
-
|
572
|
-
|
573
|
-
|
711
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetPrepaidBalanceResponse
|
712
|
+
# getPrepaidBalanceResult - GetPrepaidBalanceResult
|
713
|
+
# responseMetadata - ResponseMetadata
|
714
|
+
class GetPrepaidBalanceResponse
|
715
|
+
attr_accessor :getPrepaidBalanceResult
|
716
|
+
attr_accessor :responseMetadata
|
717
|
+
|
718
|
+
def initialize(getPrepaidBalanceResult = nil, responseMetadata = nil)
|
719
|
+
@getPrepaidBalanceResult = getPrepaidBalanceResult
|
720
|
+
@responseMetadata = responseMetadata
|
721
|
+
end
|
574
722
|
end
|
575
723
|
|
576
|
-
# {http://fps.amazonaws.com/doc/
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
724
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenByCaller
|
725
|
+
# tokenId - SOAP::SOAPString
|
726
|
+
# callerReference - SOAP::SOAPString
|
727
|
+
class GetTokenByCaller
|
728
|
+
attr_accessor :tokenId
|
729
|
+
attr_accessor :callerReference
|
581
730
|
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
731
|
+
def initialize(tokenId = nil, callerReference = nil)
|
732
|
+
@tokenId = tokenId
|
733
|
+
@callerReference = callerReference
|
734
|
+
end
|
586
735
|
end
|
587
736
|
|
588
|
-
# {http://fps.amazonaws.com/doc/
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
737
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenByCallerResponse
|
738
|
+
# getTokenByCallerResult - GetTokenByCallerResult
|
739
|
+
# responseMetadata - ResponseMetadata
|
740
|
+
class GetTokenByCallerResponse
|
741
|
+
attr_accessor :getTokenByCallerResult
|
742
|
+
attr_accessor :responseMetadata
|
594
743
|
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
MasterTxnOnly = MarketplaceRefundPolicy.new("MasterTxnOnly")
|
744
|
+
def initialize(getTokenByCallerResult = nil, responseMetadata = nil)
|
745
|
+
@getTokenByCallerResult = getTokenByCallerResult
|
746
|
+
@responseMetadata = responseMetadata
|
747
|
+
end
|
600
748
|
end
|
601
749
|
|
602
|
-
# {http://fps.amazonaws.com/doc/
|
603
|
-
# tokenId -
|
604
|
-
class
|
750
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenUsage
|
751
|
+
# tokenId - SOAP::SOAPString
|
752
|
+
class GetTokenUsage
|
605
753
|
attr_accessor :tokenId
|
606
754
|
|
607
755
|
def initialize(tokenId = nil)
|
@@ -609,1158 +757,729 @@ class GetTokenUsageRequest
|
|
609
757
|
end
|
610
758
|
end
|
611
759
|
|
612
|
-
# {http://fps.amazonaws.com/doc/
|
613
|
-
#
|
614
|
-
|
615
|
-
|
760
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenUsageResponse
|
761
|
+
# getTokenUsageResult - GetTokenUsageResult
|
762
|
+
# responseMetadata - ResponseMetadata
|
763
|
+
class GetTokenUsageResponse
|
764
|
+
attr_accessor :getTokenUsageResult
|
765
|
+
attr_accessor :responseMetadata
|
616
766
|
|
617
|
-
def initialize(
|
618
|
-
@
|
767
|
+
def initialize(getTokenUsageResult = nil, responseMetadata = nil)
|
768
|
+
@getTokenUsageResult = getTokenUsageResult
|
769
|
+
@responseMetadata = responseMetadata
|
619
770
|
end
|
620
771
|
end
|
621
772
|
|
622
|
-
# {http://fps.amazonaws.com/doc/
|
623
|
-
#
|
624
|
-
|
625
|
-
|
773
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTokens
|
774
|
+
# tokenStatus - TokenStatus
|
775
|
+
# tokenType - TokenType
|
776
|
+
# callerReference - SOAP::SOAPString
|
777
|
+
# tokenFriendlyName - SOAP::SOAPString
|
778
|
+
class GetTokens
|
779
|
+
attr_accessor :tokenStatus
|
780
|
+
attr_accessor :tokenType
|
781
|
+
attr_accessor :callerReference
|
782
|
+
attr_accessor :tokenFriendlyName
|
626
783
|
|
627
|
-
def initialize(
|
628
|
-
@
|
784
|
+
def initialize(tokenStatus = nil, tokenType = nil, callerReference = nil, tokenFriendlyName = nil)
|
785
|
+
@tokenStatus = tokenStatus
|
786
|
+
@tokenType = tokenType
|
787
|
+
@callerReference = callerReference
|
788
|
+
@tokenFriendlyName = tokenFriendlyName
|
629
789
|
end
|
630
790
|
end
|
631
791
|
|
632
|
-
# {http://fps.amazonaws.com/doc/
|
633
|
-
|
634
|
-
|
792
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTokensResponse
|
793
|
+
# getTokensResult - GetTokensResult
|
794
|
+
# responseMetadata - ResponseMetadata
|
795
|
+
class GetTokensResponse
|
796
|
+
attr_accessor :getTokensResult
|
797
|
+
attr_accessor :responseMetadata
|
798
|
+
|
799
|
+
def initialize(getTokensResult = nil, responseMetadata = nil)
|
800
|
+
@getTokensResult = getTokensResult
|
801
|
+
@responseMetadata = responseMetadata
|
635
802
|
end
|
636
803
|
end
|
637
804
|
|
638
|
-
# {http://fps.amazonaws.com/doc/
|
639
|
-
class
|
805
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTotalPrepaidLiability
|
806
|
+
class GetTotalPrepaidLiability
|
640
807
|
def initialize
|
641
808
|
end
|
642
809
|
end
|
643
810
|
|
644
|
-
# {http://fps.amazonaws.com/doc/
|
645
|
-
#
|
646
|
-
#
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
# senderReference - SOAP::SOAPString
|
651
|
-
# recipientReference - SOAP::SOAPString
|
652
|
-
# callerReference - SOAP::SOAPString
|
653
|
-
# chargeFeeTo - ChargeFeeTo
|
654
|
-
# senderDescription - SOAP::SOAPString
|
655
|
-
# recipientDescription - SOAP::SOAPString
|
656
|
-
# callerDescription - SOAP::SOAPString
|
657
|
-
# metaData - SOAP::SOAPString
|
658
|
-
# temporaryDeclinePolicy - TemporaryDeclinePolicy
|
659
|
-
# descriptorPolicy - DescriptorPolicy
|
660
|
-
class SettleDebtRequest
|
661
|
-
attr_accessor :senderTokenId
|
662
|
-
attr_accessor :callerTokenId
|
663
|
-
attr_accessor :creditInstrumentId
|
664
|
-
attr_accessor :settlementAmount
|
665
|
-
attr_accessor :transactionDate
|
666
|
-
attr_accessor :senderReference
|
667
|
-
attr_accessor :recipientReference
|
668
|
-
attr_accessor :callerReference
|
669
|
-
attr_accessor :chargeFeeTo
|
670
|
-
attr_accessor :senderDescription
|
671
|
-
attr_accessor :recipientDescription
|
672
|
-
attr_accessor :callerDescription
|
673
|
-
attr_accessor :metaData
|
674
|
-
attr_accessor :temporaryDeclinePolicy
|
675
|
-
attr_accessor :descriptorPolicy
|
811
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTotalPrepaidLiabilityResponse
|
812
|
+
# getTotalPrepaidLiabilityResult - GetTotalPrepaidLiabilityResult
|
813
|
+
# responseMetadata - ResponseMetadata
|
814
|
+
class GetTotalPrepaidLiabilityResponse
|
815
|
+
attr_accessor :getTotalPrepaidLiabilityResult
|
816
|
+
attr_accessor :responseMetadata
|
676
817
|
|
677
|
-
def initialize(
|
678
|
-
@
|
679
|
-
@
|
680
|
-
@creditInstrumentId = creditInstrumentId
|
681
|
-
@settlementAmount = settlementAmount
|
682
|
-
@transactionDate = transactionDate
|
683
|
-
@senderReference = senderReference
|
684
|
-
@recipientReference = recipientReference
|
685
|
-
@callerReference = callerReference
|
686
|
-
@chargeFeeTo = chargeFeeTo
|
687
|
-
@senderDescription = senderDescription
|
688
|
-
@recipientDescription = recipientDescription
|
689
|
-
@callerDescription = callerDescription
|
690
|
-
@metaData = metaData
|
691
|
-
@temporaryDeclinePolicy = temporaryDeclinePolicy
|
692
|
-
@descriptorPolicy = descriptorPolicy
|
818
|
+
def initialize(getTotalPrepaidLiabilityResult = nil, responseMetadata = nil)
|
819
|
+
@getTotalPrepaidLiabilityResult = getTotalPrepaidLiabilityResult
|
820
|
+
@responseMetadata = responseMetadata
|
693
821
|
end
|
694
822
|
end
|
695
823
|
|
696
|
-
# {http://fps.amazonaws.com/doc/
|
697
|
-
#
|
698
|
-
|
699
|
-
|
700
|
-
# transactionDate - SOAP::SOAPDateTime
|
701
|
-
# callerReference - SOAP::SOAPString
|
702
|
-
# recipientReference - SOAP::SOAPString
|
703
|
-
# callerDescription - SOAP::SOAPString
|
704
|
-
# recipientDescription - SOAP::SOAPString
|
705
|
-
# metaData - SOAP::SOAPString
|
706
|
-
# senderReference - SOAP::SOAPString
|
707
|
-
# senderDescription - SOAP::SOAPString
|
708
|
-
class WriteOffDebtRequest
|
709
|
-
attr_accessor :callerTokenId
|
710
|
-
attr_accessor :creditInstrumentId
|
711
|
-
attr_accessor :adjustmentAmount
|
712
|
-
attr_accessor :transactionDate
|
713
|
-
attr_accessor :callerReference
|
714
|
-
attr_accessor :recipientReference
|
715
|
-
attr_accessor :callerDescription
|
716
|
-
attr_accessor :recipientDescription
|
717
|
-
attr_accessor :metaData
|
718
|
-
attr_accessor :senderReference
|
719
|
-
attr_accessor :senderDescription
|
824
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTransaction
|
825
|
+
# transactionId - SOAP::SOAPString
|
826
|
+
class GetTransaction
|
827
|
+
attr_accessor :transactionId
|
720
828
|
|
721
|
-
def initialize(
|
722
|
-
@
|
723
|
-
@creditInstrumentId = creditInstrumentId
|
724
|
-
@adjustmentAmount = adjustmentAmount
|
725
|
-
@transactionDate = transactionDate
|
726
|
-
@callerReference = callerReference
|
727
|
-
@recipientReference = recipientReference
|
728
|
-
@callerDescription = callerDescription
|
729
|
-
@recipientDescription = recipientDescription
|
730
|
-
@metaData = metaData
|
731
|
-
@senderReference = senderReference
|
732
|
-
@senderDescription = senderDescription
|
829
|
+
def initialize(transactionId = nil)
|
830
|
+
@transactionId = transactionId
|
733
831
|
end
|
734
832
|
end
|
735
833
|
|
736
|
-
# {http://fps.amazonaws.com/doc/
|
737
|
-
#
|
738
|
-
#
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
# senderReference - SOAP::SOAPString
|
743
|
-
# recipientReference - SOAP::SOAPString
|
744
|
-
# callerReference - SOAP::SOAPString
|
745
|
-
# chargeFeeTo - ChargeFeeTo
|
746
|
-
# senderDescription - SOAP::SOAPString
|
747
|
-
# recipientDescription - SOAP::SOAPString
|
748
|
-
# callerDescription - SOAP::SOAPString
|
749
|
-
# metaData - SOAP::SOAPString
|
750
|
-
# temporaryDeclinePolicy - TemporaryDeclinePolicy
|
751
|
-
# descriptorPolicy - DescriptorPolicy
|
752
|
-
class FundPrepaidRequest
|
753
|
-
attr_accessor :senderTokenId
|
754
|
-
attr_accessor :callerTokenId
|
755
|
-
attr_accessor :prepaidInstrumentId
|
756
|
-
attr_accessor :fundingAmount
|
757
|
-
attr_accessor :transactionDate
|
758
|
-
attr_accessor :senderReference
|
759
|
-
attr_accessor :recipientReference
|
760
|
-
attr_accessor :callerReference
|
761
|
-
attr_accessor :chargeFeeTo
|
762
|
-
attr_accessor :senderDescription
|
763
|
-
attr_accessor :recipientDescription
|
764
|
-
attr_accessor :callerDescription
|
765
|
-
attr_accessor :metaData
|
766
|
-
attr_accessor :temporaryDeclinePolicy
|
767
|
-
attr_accessor :descriptorPolicy
|
834
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTransactionResponse
|
835
|
+
# getTransactionResult - GetTransactionResult
|
836
|
+
# responseMetadata - ResponseMetadata
|
837
|
+
class GetTransactionResponse
|
838
|
+
attr_accessor :getTransactionResult
|
839
|
+
attr_accessor :responseMetadata
|
768
840
|
|
769
|
-
def initialize(
|
770
|
-
@
|
771
|
-
@
|
772
|
-
@prepaidInstrumentId = prepaidInstrumentId
|
773
|
-
@fundingAmount = fundingAmount
|
774
|
-
@transactionDate = transactionDate
|
775
|
-
@senderReference = senderReference
|
776
|
-
@recipientReference = recipientReference
|
777
|
-
@callerReference = callerReference
|
778
|
-
@chargeFeeTo = chargeFeeTo
|
779
|
-
@senderDescription = senderDescription
|
780
|
-
@recipientDescription = recipientDescription
|
781
|
-
@callerDescription = callerDescription
|
782
|
-
@metaData = metaData
|
783
|
-
@temporaryDeclinePolicy = temporaryDeclinePolicy
|
784
|
-
@descriptorPolicy = descriptorPolicy
|
841
|
+
def initialize(getTransactionResult = nil, responseMetadata = nil)
|
842
|
+
@getTransactionResult = getTransactionResult
|
843
|
+
@responseMetadata = responseMetadata
|
785
844
|
end
|
786
845
|
end
|
787
846
|
|
788
|
-
# {http://fps.amazonaws.com/doc/
|
789
|
-
#
|
790
|
-
|
791
|
-
|
792
|
-
attr_accessor :notificationOperationName
|
793
|
-
attr_accessor :webServiceAPIURL
|
847
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTransactionStatus
|
848
|
+
# transactionId - SOAP::SOAPString
|
849
|
+
class GetTransactionStatus
|
850
|
+
attr_accessor :transactionId
|
794
851
|
|
795
|
-
def initialize(
|
796
|
-
@
|
797
|
-
@webServiceAPIURL = webServiceAPIURL
|
852
|
+
def initialize(transactionId = nil)
|
853
|
+
@transactionId = transactionId
|
798
854
|
end
|
799
855
|
end
|
800
856
|
|
801
|
-
# {http://fps.amazonaws.com/doc/
|
802
|
-
#
|
803
|
-
|
804
|
-
|
857
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTransactionStatusResponse
|
858
|
+
# getTransactionStatusResult - GetTransactionStatusResult
|
859
|
+
# responseMetadata - ResponseMetadata
|
860
|
+
class GetTransactionStatusResponse
|
861
|
+
attr_accessor :getTransactionStatusResult
|
862
|
+
attr_accessor :responseMetadata
|
805
863
|
|
806
|
-
def initialize(
|
807
|
-
@
|
864
|
+
def initialize(getTransactionStatusResult = nil, responseMetadata = nil)
|
865
|
+
@getTransactionStatusResult = getTransactionStatusResult
|
866
|
+
@responseMetadata = responseMetadata
|
808
867
|
end
|
809
868
|
end
|
810
869
|
|
811
|
-
# {http://fps.amazonaws.com/doc/
|
812
|
-
#
|
813
|
-
class
|
814
|
-
attr_accessor :
|
815
|
-
|
816
|
-
def initialize(instrumentStatus = nil)
|
817
|
-
@instrumentStatus = instrumentStatus
|
818
|
-
end
|
819
|
-
end
|
870
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetPaymentInstruction
|
871
|
+
# tokenId - SOAP::SOAPString
|
872
|
+
class GetPaymentInstruction
|
873
|
+
attr_accessor :tokenId
|
820
874
|
|
821
|
-
|
822
|
-
|
823
|
-
def initialize
|
875
|
+
def initialize(tokenId = nil)
|
876
|
+
@tokenId = tokenId
|
824
877
|
end
|
825
878
|
end
|
826
879
|
|
827
|
-
# {http://fps.amazonaws.com/doc/
|
828
|
-
#
|
829
|
-
#
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
# responseGroup - GetAccountActivityResponseGroup
|
834
|
-
# sortOrderByDate - SortOrder
|
835
|
-
# role - TransactionalRoleFilter
|
836
|
-
# status - TransactionStatusFilter
|
837
|
-
class GetAccountActivityRequest
|
838
|
-
attr_accessor :operation
|
839
|
-
attr_accessor :paymentMethod
|
840
|
-
attr_accessor :maxBatchSize
|
841
|
-
attr_accessor :startDate
|
842
|
-
attr_accessor :endDate
|
843
|
-
attr_accessor :responseGroup
|
844
|
-
attr_accessor :sortOrderByDate
|
845
|
-
attr_accessor :role
|
846
|
-
attr_accessor :status
|
880
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetPaymentInstructionResponse
|
881
|
+
# getPaymentInstructionResult - GetPaymentInstructionResult
|
882
|
+
# responseMetadata - ResponseMetadata
|
883
|
+
class GetPaymentInstructionResponse
|
884
|
+
attr_accessor :getPaymentInstructionResult
|
885
|
+
attr_accessor :responseMetadata
|
847
886
|
|
848
|
-
def initialize(
|
849
|
-
@
|
850
|
-
@
|
851
|
-
@maxBatchSize = maxBatchSize
|
852
|
-
@startDate = startDate
|
853
|
-
@endDate = endDate
|
854
|
-
@responseGroup = responseGroup
|
855
|
-
@sortOrderByDate = sortOrderByDate
|
856
|
-
@role = role
|
857
|
-
@status = status
|
887
|
+
def initialize(getPaymentInstructionResult = nil, responseMetadata = nil)
|
888
|
+
@getPaymentInstructionResult = getPaymentInstructionResult
|
889
|
+
@responseMetadata = responseMetadata
|
858
890
|
end
|
859
891
|
end
|
860
892
|
|
861
|
-
# {http://fps.amazonaws.com/doc/
|
893
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}InstallPaymentInstruction
|
894
|
+
# paymentInstruction - SOAP::SOAPString
|
862
895
|
# tokenFriendlyName - SOAP::SOAPString
|
863
|
-
# tokenStatus - TokenStatus
|
864
896
|
# callerReference - SOAP::SOAPString
|
865
|
-
|
897
|
+
# tokenType - TokenType
|
898
|
+
# paymentReason - SOAP::SOAPString
|
899
|
+
class InstallPaymentInstruction
|
900
|
+
attr_accessor :paymentInstruction
|
866
901
|
attr_accessor :tokenFriendlyName
|
867
|
-
attr_accessor :tokenStatus
|
868
902
|
attr_accessor :callerReference
|
903
|
+
attr_accessor :tokenType
|
904
|
+
attr_accessor :paymentReason
|
869
905
|
|
870
|
-
def initialize(
|
906
|
+
def initialize(paymentInstruction = nil, tokenFriendlyName = nil, callerReference = nil, tokenType = nil, paymentReason = nil)
|
907
|
+
@paymentInstruction = paymentInstruction
|
871
908
|
@tokenFriendlyName = tokenFriendlyName
|
872
|
-
@tokenStatus = tokenStatus
|
873
909
|
@callerReference = callerReference
|
910
|
+
@tokenType = tokenType
|
911
|
+
@paymentReason = paymentReason
|
874
912
|
end
|
875
913
|
end
|
876
914
|
|
877
|
-
# {http://fps.amazonaws.com/doc/
|
878
|
-
#
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
@instrumentStatus = instrumentStatus
|
884
|
-
end
|
885
|
-
end
|
886
|
-
|
887
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}GetPaymentInstructionRequest
|
888
|
-
# tokenId - (any)
|
889
|
-
class GetPaymentInstructionRequest
|
890
|
-
attr_accessor :tokenId
|
915
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}InstallPaymentInstructionResponse
|
916
|
+
# installPaymentInstructionResult - InstallPaymentInstructionResult
|
917
|
+
# responseMetadata - ResponseMetadata
|
918
|
+
class InstallPaymentInstructionResponse
|
919
|
+
attr_accessor :installPaymentInstructionResult
|
920
|
+
attr_accessor :responseMetadata
|
891
921
|
|
892
|
-
def initialize(
|
893
|
-
@
|
922
|
+
def initialize(installPaymentInstructionResult = nil, responseMetadata = nil)
|
923
|
+
@installPaymentInstructionResult = installPaymentInstructionResult
|
924
|
+
@responseMetadata = responseMetadata
|
894
925
|
end
|
895
926
|
end
|
896
927
|
|
897
|
-
# {http://fps.amazonaws.com/doc/
|
898
|
-
#
|
899
|
-
#
|
900
|
-
# recipientTokenId - (any)
|
928
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Pay
|
929
|
+
# senderTokenId - SOAP::SOAPString
|
930
|
+
# recipientTokenId - SOAP::SOAPString
|
901
931
|
# transactionAmount - Amount
|
902
|
-
# transactionDate - SOAP::SOAPDateTime
|
903
932
|
# chargeFeeTo - ChargeFeeTo
|
904
933
|
# callerReference - SOAP::SOAPString
|
905
|
-
# senderReference - SOAP::SOAPString
|
906
|
-
# recipientReference - SOAP::SOAPString
|
907
934
|
# callerDescription - SOAP::SOAPString
|
908
935
|
# senderDescription - SOAP::SOAPString
|
909
|
-
#
|
910
|
-
#
|
936
|
+
# descriptorPolicy - DescriptorPolicy
|
937
|
+
# transactionTimeoutInMins - SOAP::SOAPInteger
|
911
938
|
# marketplaceFixedFee - Amount
|
912
939
|
# marketplaceVariableFee - SOAP::SOAPDecimal
|
913
|
-
|
914
|
-
# descriptorPolicy - DescriptorPolicy
|
915
|
-
class ReserveRequest
|
916
|
-
attr_accessor :callerTokenId
|
940
|
+
class Pay
|
917
941
|
attr_accessor :senderTokenId
|
918
942
|
attr_accessor :recipientTokenId
|
919
943
|
attr_accessor :transactionAmount
|
920
|
-
attr_accessor :transactionDate
|
921
944
|
attr_accessor :chargeFeeTo
|
922
945
|
attr_accessor :callerReference
|
923
|
-
attr_accessor :senderReference
|
924
|
-
attr_accessor :recipientReference
|
925
946
|
attr_accessor :callerDescription
|
926
947
|
attr_accessor :senderDescription
|
927
|
-
attr_accessor :
|
928
|
-
attr_accessor :
|
948
|
+
attr_accessor :descriptorPolicy
|
949
|
+
attr_accessor :transactionTimeoutInMins
|
929
950
|
attr_accessor :marketplaceFixedFee
|
930
951
|
attr_accessor :marketplaceVariableFee
|
931
|
-
attr_accessor :temporaryDeclinePolicy
|
932
|
-
attr_accessor :descriptorPolicy
|
933
952
|
|
934
|
-
def initialize(
|
935
|
-
@callerTokenId = callerTokenId
|
953
|
+
def initialize(senderTokenId = nil, recipientTokenId = nil, transactionAmount = nil, chargeFeeTo = nil, callerReference = nil, callerDescription = nil, senderDescription = nil, descriptorPolicy = nil, transactionTimeoutInMins = nil, marketplaceFixedFee = nil, marketplaceVariableFee = nil)
|
936
954
|
@senderTokenId = senderTokenId
|
937
955
|
@recipientTokenId = recipientTokenId
|
938
956
|
@transactionAmount = transactionAmount
|
939
|
-
@transactionDate = transactionDate
|
940
957
|
@chargeFeeTo = chargeFeeTo
|
941
958
|
@callerReference = callerReference
|
942
|
-
@senderReference = senderReference
|
943
|
-
@recipientReference = recipientReference
|
944
959
|
@callerDescription = callerDescription
|
945
960
|
@senderDescription = senderDescription
|
946
|
-
@
|
947
|
-
@
|
961
|
+
@descriptorPolicy = descriptorPolicy
|
962
|
+
@transactionTimeoutInMins = transactionTimeoutInMins
|
948
963
|
@marketplaceFixedFee = marketplaceFixedFee
|
949
964
|
@marketplaceVariableFee = marketplaceVariableFee
|
950
|
-
@temporaryDeclinePolicy = temporaryDeclinePolicy
|
951
|
-
@descriptorPolicy = descriptorPolicy
|
952
965
|
end
|
953
966
|
end
|
954
967
|
|
955
|
-
# {http://fps.amazonaws.com/doc/
|
956
|
-
#
|
957
|
-
#
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
attr_accessor :reserveTransactionId
|
962
|
-
attr_accessor :transactionAmount
|
963
|
-
attr_accessor :transactionDate
|
964
|
-
attr_accessor :metaData
|
968
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}PayResponse
|
969
|
+
# payResult - PayResult
|
970
|
+
# responseMetadata - ResponseMetadata
|
971
|
+
class PayResponse
|
972
|
+
attr_accessor :payResult
|
973
|
+
attr_accessor :responseMetadata
|
965
974
|
|
966
|
-
def initialize(
|
967
|
-
@
|
968
|
-
@
|
969
|
-
@transactionDate = transactionDate
|
970
|
-
@metaData = metaData
|
975
|
+
def initialize(payResult = nil, responseMetadata = nil)
|
976
|
+
@payResult = payResult
|
977
|
+
@responseMetadata = responseMetadata
|
971
978
|
end
|
972
979
|
end
|
973
980
|
|
974
|
-
# {http://fps.amazonaws.com/doc/
|
975
|
-
# callerTokenId - (any)
|
976
|
-
# refundSenderTokenId - (any)
|
981
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Refund
|
977
982
|
# transactionId - SOAP::SOAPString
|
978
983
|
# refundAmount - Amount
|
979
|
-
# chargeFeeTo - ChargeFeeTo
|
980
|
-
# transactionDate - SOAP::SOAPDateTime
|
981
984
|
# callerReference - SOAP::SOAPString
|
982
|
-
# refundSenderReference - SOAP::SOAPString
|
983
|
-
# refundRecipientReference - SOAP::SOAPString
|
984
985
|
# callerDescription - SOAP::SOAPString
|
985
|
-
# refundSenderDescription - SOAP::SOAPString
|
986
|
-
# refundRecipientDescription - SOAP::SOAPString
|
987
|
-
# metaData - SOAP::SOAPString
|
988
986
|
# marketplaceRefundPolicy - MarketplaceRefundPolicy
|
989
|
-
class
|
990
|
-
attr_accessor :callerTokenId
|
991
|
-
attr_accessor :refundSenderTokenId
|
987
|
+
class Refund
|
992
988
|
attr_accessor :transactionId
|
993
989
|
attr_accessor :refundAmount
|
994
|
-
attr_accessor :chargeFeeTo
|
995
|
-
attr_accessor :transactionDate
|
996
990
|
attr_accessor :callerReference
|
997
|
-
attr_accessor :refundSenderReference
|
998
|
-
attr_accessor :refundRecipientReference
|
999
991
|
attr_accessor :callerDescription
|
1000
|
-
attr_accessor :refundSenderDescription
|
1001
|
-
attr_accessor :refundRecipientDescription
|
1002
|
-
attr_accessor :metaData
|
1003
992
|
attr_accessor :marketplaceRefundPolicy
|
1004
993
|
|
1005
|
-
def initialize(
|
1006
|
-
@callerTokenId = callerTokenId
|
1007
|
-
@refundSenderTokenId = refundSenderTokenId
|
994
|
+
def initialize(transactionId = nil, refundAmount = nil, callerReference = nil, callerDescription = nil, marketplaceRefundPolicy = nil)
|
1008
995
|
@transactionId = transactionId
|
1009
996
|
@refundAmount = refundAmount
|
1010
|
-
@chargeFeeTo = chargeFeeTo
|
1011
|
-
@transactionDate = transactionDate
|
1012
997
|
@callerReference = callerReference
|
1013
|
-
@refundSenderReference = refundSenderReference
|
1014
|
-
@refundRecipientReference = refundRecipientReference
|
1015
998
|
@callerDescription = callerDescription
|
1016
|
-
@refundSenderDescription = refundSenderDescription
|
1017
|
-
@refundRecipientDescription = refundRecipientDescription
|
1018
|
-
@metaData = metaData
|
1019
999
|
@marketplaceRefundPolicy = marketplaceRefundPolicy
|
1020
1000
|
end
|
1021
1001
|
end
|
1022
1002
|
|
1023
|
-
# {http://fps.amazonaws.com/doc/
|
1024
|
-
#
|
1025
|
-
#
|
1026
|
-
class
|
1027
|
-
attr_accessor :
|
1028
|
-
attr_accessor :
|
1029
|
-
|
1030
|
-
def initialize(operation = nil, maxResultsCount = nil)
|
1031
|
-
@operation = operation
|
1032
|
-
@maxResultsCount = maxResultsCount
|
1033
|
-
end
|
1034
|
-
end
|
1035
|
-
|
1036
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}DiscardResultsRequest
|
1037
|
-
# transactionIds - SOAP::SOAPString
|
1038
|
-
# unused - SOAP::SOAPString
|
1039
|
-
class DiscardResultsRequest
|
1040
|
-
attr_accessor :transactionIds
|
1041
|
-
attr_accessor :unused
|
1042
|
-
|
1043
|
-
def initialize(transactionIds = [], unused = nil)
|
1044
|
-
@transactionIds = transactionIds
|
1045
|
-
@unused = unused
|
1046
|
-
end
|
1047
|
-
end
|
1048
|
-
|
1049
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}GetTransactionRequest
|
1050
|
-
# transactionId - SOAP::SOAPString
|
1051
|
-
class GetTransactionRequest
|
1052
|
-
attr_accessor :transactionId
|
1053
|
-
|
1054
|
-
def initialize(transactionId = nil)
|
1055
|
-
@transactionId = transactionId
|
1056
|
-
end
|
1057
|
-
end
|
1058
|
-
|
1059
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}RetryTransactionRequest
|
1060
|
-
# originalTransactionId - SOAP::SOAPString
|
1061
|
-
class RetryTransactionRequest
|
1062
|
-
attr_accessor :originalTransactionId
|
1003
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}RefundResponse
|
1004
|
+
# refundResult - RefundResult
|
1005
|
+
# responseMetadata - ResponseMetadata
|
1006
|
+
class RefundResponse
|
1007
|
+
attr_accessor :refundResult
|
1008
|
+
attr_accessor :responseMetadata
|
1063
1009
|
|
1064
|
-
def initialize(
|
1065
|
-
@
|
1010
|
+
def initialize(refundResult = nil, responseMetadata = nil)
|
1011
|
+
@refundResult = refundResult
|
1012
|
+
@responseMetadata = responseMetadata
|
1066
1013
|
end
|
1067
1014
|
end
|
1068
1015
|
|
1069
|
-
# {http://fps.amazonaws.com/doc/
|
1070
|
-
#
|
1016
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Reserve
|
1017
|
+
# senderTokenId - SOAP::SOAPString
|
1018
|
+
# recipientTokenId - SOAP::SOAPString
|
1019
|
+
# transactionAmount - Amount
|
1020
|
+
# chargeFeeTo - ChargeFeeTo
|
1071
1021
|
# callerReference - SOAP::SOAPString
|
1072
|
-
|
1073
|
-
|
1022
|
+
# callerDescription - SOAP::SOAPString
|
1023
|
+
# senderDescription - SOAP::SOAPString
|
1024
|
+
# descriptorPolicy - DescriptorPolicy
|
1025
|
+
# transactionTimeoutInMins - SOAP::SOAPInteger
|
1026
|
+
# marketplaceFixedFee - Amount
|
1027
|
+
# marketplaceVariableFee - SOAP::SOAPDecimal
|
1028
|
+
class Reserve
|
1029
|
+
attr_accessor :senderTokenId
|
1030
|
+
attr_accessor :recipientTokenId
|
1031
|
+
attr_accessor :transactionAmount
|
1032
|
+
attr_accessor :chargeFeeTo
|
1074
1033
|
attr_accessor :callerReference
|
1034
|
+
attr_accessor :callerDescription
|
1035
|
+
attr_accessor :senderDescription
|
1036
|
+
attr_accessor :descriptorPolicy
|
1037
|
+
attr_accessor :transactionTimeoutInMins
|
1038
|
+
attr_accessor :marketplaceFixedFee
|
1039
|
+
attr_accessor :marketplaceVariableFee
|
1075
1040
|
|
1076
|
-
def initialize(
|
1077
|
-
@
|
1041
|
+
def initialize(senderTokenId = nil, recipientTokenId = nil, transactionAmount = nil, chargeFeeTo = nil, callerReference = nil, callerDescription = nil, senderDescription = nil, descriptorPolicy = nil, transactionTimeoutInMins = nil, marketplaceFixedFee = nil, marketplaceVariableFee = nil)
|
1042
|
+
@senderTokenId = senderTokenId
|
1043
|
+
@recipientTokenId = recipientTokenId
|
1044
|
+
@transactionAmount = transactionAmount
|
1045
|
+
@chargeFeeTo = chargeFeeTo
|
1078
1046
|
@callerReference = callerReference
|
1047
|
+
@callerDescription = callerDescription
|
1048
|
+
@senderDescription = senderDescription
|
1049
|
+
@descriptorPolicy = descriptorPolicy
|
1050
|
+
@transactionTimeoutInMins = transactionTimeoutInMins
|
1051
|
+
@marketplaceFixedFee = marketplaceFixedFee
|
1052
|
+
@marketplaceVariableFee = marketplaceVariableFee
|
1079
1053
|
end
|
1080
1054
|
end
|
1081
1055
|
|
1082
|
-
# {http://fps.amazonaws.com/doc/
|
1083
|
-
#
|
1084
|
-
#
|
1085
|
-
class
|
1086
|
-
attr_accessor :
|
1087
|
-
attr_accessor :
|
1088
|
-
|
1089
|
-
def initialize(tokenId = nil, reasonText = nil)
|
1090
|
-
@tokenId = tokenId
|
1091
|
-
@reasonText = reasonText
|
1092
|
-
end
|
1093
|
-
end
|
1094
|
-
|
1095
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}GetTokenUsageResponse
|
1096
|
-
# tokenUsageLimits - TokenUsageLimit
|
1097
|
-
# status - ResponseStatus
|
1098
|
-
# errors - ServiceErrors
|
1099
|
-
# requestId - SOAP::SOAPString
|
1100
|
-
class GetTokenUsageResponse
|
1101
|
-
attr_accessor :tokenUsageLimits
|
1102
|
-
attr_accessor :status
|
1103
|
-
attr_accessor :errors
|
1104
|
-
attr_accessor :requestId
|
1105
|
-
|
1106
|
-
def initialize(tokenUsageLimits = [], status = nil, errors = nil, requestId = nil)
|
1107
|
-
@tokenUsageLimits = tokenUsageLimits
|
1108
|
-
@status = status
|
1109
|
-
@errors = errors
|
1110
|
-
@requestId = requestId
|
1111
|
-
end
|
1112
|
-
end
|
1113
|
-
|
1114
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}GetPrepaidBalanceResponse
|
1115
|
-
# prepaidBalance - PrepaidBalance
|
1116
|
-
# status - ResponseStatus
|
1117
|
-
# errors - ServiceErrors
|
1118
|
-
# requestId - SOAP::SOAPString
|
1119
|
-
class GetPrepaidBalanceResponse
|
1120
|
-
attr_accessor :prepaidBalance
|
1121
|
-
attr_accessor :status
|
1122
|
-
attr_accessor :errors
|
1123
|
-
attr_accessor :requestId
|
1124
|
-
|
1125
|
-
def initialize(prepaidBalance = nil, status = nil, errors = nil, requestId = nil)
|
1126
|
-
@prepaidBalance = prepaidBalance
|
1127
|
-
@status = status
|
1128
|
-
@errors = errors
|
1129
|
-
@requestId = requestId
|
1130
|
-
end
|
1131
|
-
end
|
1132
|
-
|
1133
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}GetDebtBalanceResponse
|
1134
|
-
# debtBalance - DebtBalance
|
1135
|
-
# status - ResponseStatus
|
1136
|
-
# errors - ServiceErrors
|
1137
|
-
# requestId - SOAP::SOAPString
|
1138
|
-
class GetDebtBalanceResponse
|
1139
|
-
attr_accessor :debtBalance
|
1140
|
-
attr_accessor :status
|
1141
|
-
attr_accessor :errors
|
1142
|
-
attr_accessor :requestId
|
1056
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}ReserveResponse
|
1057
|
+
# reserveResult - ReserveResult
|
1058
|
+
# responseMetadata - ResponseMetadata
|
1059
|
+
class ReserveResponse
|
1060
|
+
attr_accessor :reserveResult
|
1061
|
+
attr_accessor :responseMetadata
|
1143
1062
|
|
1144
|
-
def initialize(
|
1145
|
-
@
|
1146
|
-
@
|
1147
|
-
@errors = errors
|
1148
|
-
@requestId = requestId
|
1063
|
+
def initialize(reserveResult = nil, responseMetadata = nil)
|
1064
|
+
@reserveResult = reserveResult
|
1065
|
+
@responseMetadata = responseMetadata
|
1149
1066
|
end
|
1150
1067
|
end
|
1151
1068
|
|
1152
|
-
# {http://fps.amazonaws.com/doc/
|
1153
|
-
#
|
1154
|
-
#
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
attr_accessor :outstandingPrepaidLiability
|
1159
|
-
attr_accessor :status
|
1160
|
-
attr_accessor :errors
|
1161
|
-
attr_accessor :requestId
|
1069
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Settle
|
1070
|
+
# reserveTransactionId - SOAP::SOAPString
|
1071
|
+
# transactionAmount - Amount
|
1072
|
+
class Settle
|
1073
|
+
attr_accessor :reserveTransactionId
|
1074
|
+
attr_accessor :transactionAmount
|
1162
1075
|
|
1163
|
-
def initialize(
|
1164
|
-
@
|
1165
|
-
@
|
1166
|
-
@errors = errors
|
1167
|
-
@requestId = requestId
|
1076
|
+
def initialize(reserveTransactionId = nil, transactionAmount = nil)
|
1077
|
+
@reserveTransactionId = reserveTransactionId
|
1078
|
+
@transactionAmount = transactionAmount
|
1168
1079
|
end
|
1169
1080
|
end
|
1170
1081
|
|
1171
|
-
# {http://fps.amazonaws.com/doc/
|
1172
|
-
#
|
1173
|
-
#
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
attr_accessor :outstandingDebt
|
1178
|
-
attr_accessor :status
|
1179
|
-
attr_accessor :errors
|
1180
|
-
attr_accessor :requestId
|
1082
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}SettleResponse
|
1083
|
+
# settleResult - SettleResult
|
1084
|
+
# responseMetadata - ResponseMetadata
|
1085
|
+
class SettleResponse
|
1086
|
+
attr_accessor :settleResult
|
1087
|
+
attr_accessor :responseMetadata
|
1181
1088
|
|
1182
|
-
def initialize(
|
1183
|
-
@
|
1184
|
-
@
|
1185
|
-
@errors = errors
|
1186
|
-
@requestId = requestId
|
1089
|
+
def initialize(settleResult = nil, responseMetadata = nil)
|
1090
|
+
@settleResult = settleResult
|
1091
|
+
@responseMetadata = responseMetadata
|
1187
1092
|
end
|
1188
1093
|
end
|
1189
1094
|
|
1190
|
-
# {http://fps.amazonaws.com/doc/
|
1191
|
-
#
|
1192
|
-
#
|
1193
|
-
#
|
1194
|
-
#
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1095
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}SettleDebt
|
1096
|
+
# senderTokenId - SOAP::SOAPString
|
1097
|
+
# creditInstrumentId - SOAP::SOAPString
|
1098
|
+
# settlementAmount - Amount
|
1099
|
+
# callerReference - SOAP::SOAPString
|
1100
|
+
# senderDescription - SOAP::SOAPString
|
1101
|
+
# callerDescription - SOAP::SOAPString
|
1102
|
+
# descriptorPolicy - DescriptorPolicy
|
1103
|
+
# transactionTimeoutInMins - SOAP::SOAPInteger
|
1104
|
+
class SettleDebt
|
1105
|
+
attr_accessor :senderTokenId
|
1106
|
+
attr_accessor :creditInstrumentId
|
1107
|
+
attr_accessor :settlementAmount
|
1108
|
+
attr_accessor :callerReference
|
1109
|
+
attr_accessor :senderDescription
|
1110
|
+
attr_accessor :callerDescription
|
1111
|
+
attr_accessor :descriptorPolicy
|
1112
|
+
attr_accessor :transactionTimeoutInMins
|
1200
1113
|
|
1201
|
-
def initialize(
|
1202
|
-
@
|
1203
|
-
@
|
1204
|
-
@
|
1205
|
-
@
|
1114
|
+
def initialize(senderTokenId = nil, creditInstrumentId = nil, settlementAmount = nil, callerReference = nil, senderDescription = nil, callerDescription = nil, descriptorPolicy = nil, transactionTimeoutInMins = nil)
|
1115
|
+
@senderTokenId = senderTokenId
|
1116
|
+
@creditInstrumentId = creditInstrumentId
|
1117
|
+
@settlementAmount = settlementAmount
|
1118
|
+
@callerReference = callerReference
|
1119
|
+
@senderDescription = senderDescription
|
1120
|
+
@callerDescription = callerDescription
|
1121
|
+
@descriptorPolicy = descriptorPolicy
|
1122
|
+
@transactionTimeoutInMins = transactionTimeoutInMins
|
1206
1123
|
end
|
1207
1124
|
end
|
1208
1125
|
|
1209
|
-
# {http://fps.amazonaws.com/doc/
|
1210
|
-
#
|
1211
|
-
#
|
1212
|
-
# errors - ServiceErrors
|
1213
|
-
# requestId - SOAP::SOAPString
|
1126
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}SettleDebtResponse
|
1127
|
+
# settleDebtResult - SettleDebtResult
|
1128
|
+
# responseMetadata - ResponseMetadata
|
1214
1129
|
class SettleDebtResponse
|
1215
|
-
attr_accessor :
|
1216
|
-
attr_accessor :
|
1217
|
-
attr_accessor :errors
|
1218
|
-
attr_accessor :requestId
|
1130
|
+
attr_accessor :settleDebtResult
|
1131
|
+
attr_accessor :responseMetadata
|
1219
1132
|
|
1220
|
-
def initialize(
|
1221
|
-
@
|
1222
|
-
@
|
1223
|
-
@errors = errors
|
1224
|
-
@requestId = requestId
|
1133
|
+
def initialize(settleDebtResult = nil, responseMetadata = nil)
|
1134
|
+
@settleDebtResult = settleDebtResult
|
1135
|
+
@responseMetadata = responseMetadata
|
1225
1136
|
end
|
1226
1137
|
end
|
1227
1138
|
|
1228
|
-
# {http://fps.amazonaws.com/doc/
|
1229
|
-
#
|
1230
|
-
#
|
1231
|
-
#
|
1232
|
-
#
|
1139
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}WriteOffDebt
|
1140
|
+
# creditInstrumentId - SOAP::SOAPString
|
1141
|
+
# adjustmentAmount - Amount
|
1142
|
+
# callerReference - SOAP::SOAPString
|
1143
|
+
# callerDescription - SOAP::SOAPString
|
1144
|
+
class WriteOffDebt
|
1145
|
+
attr_accessor :creditInstrumentId
|
1146
|
+
attr_accessor :adjustmentAmount
|
1147
|
+
attr_accessor :callerReference
|
1148
|
+
attr_accessor :callerDescription
|
1149
|
+
|
1150
|
+
def initialize(creditInstrumentId = nil, adjustmentAmount = nil, callerReference = nil, callerDescription = nil)
|
1151
|
+
@creditInstrumentId = creditInstrumentId
|
1152
|
+
@adjustmentAmount = adjustmentAmount
|
1153
|
+
@callerReference = callerReference
|
1154
|
+
@callerDescription = callerDescription
|
1155
|
+
end
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}WriteOffDebtResponse
|
1159
|
+
# writeOffDebtResult - WriteOffDebtResult
|
1160
|
+
# responseMetadata - ResponseMetadata
|
1233
1161
|
class WriteOffDebtResponse
|
1234
|
-
attr_accessor :
|
1235
|
-
attr_accessor :
|
1236
|
-
attr_accessor :errors
|
1237
|
-
attr_accessor :requestId
|
1162
|
+
attr_accessor :writeOffDebtResult
|
1163
|
+
attr_accessor :responseMetadata
|
1238
1164
|
|
1239
|
-
def initialize(
|
1240
|
-
@
|
1241
|
-
@
|
1242
|
-
@errors = errors
|
1243
|
-
@requestId = requestId
|
1165
|
+
def initialize(writeOffDebtResult = nil, responseMetadata = nil)
|
1166
|
+
@writeOffDebtResult = writeOffDebtResult
|
1167
|
+
@responseMetadata = responseMetadata
|
1244
1168
|
end
|
1245
1169
|
end
|
1246
1170
|
|
1247
|
-
# {http://fps.amazonaws.com/doc/
|
1248
|
-
#
|
1249
|
-
#
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
attr_accessor :transactionResponse
|
1254
|
-
attr_accessor :status
|
1255
|
-
attr_accessor :errors
|
1256
|
-
attr_accessor :requestId
|
1171
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}CancelResult
|
1172
|
+
# transactionId - SOAP::SOAPString
|
1173
|
+
# transactionStatus - TransactionStatus
|
1174
|
+
class CancelResult
|
1175
|
+
attr_accessor :transactionId
|
1176
|
+
attr_accessor :transactionStatus
|
1257
1177
|
|
1258
|
-
def initialize(
|
1259
|
-
@
|
1260
|
-
@
|
1261
|
-
@errors = errors
|
1262
|
-
@requestId = requestId
|
1178
|
+
def initialize(transactionId = nil, transactionStatus = nil)
|
1179
|
+
@transactionId = transactionId
|
1180
|
+
@transactionStatus = transactionStatus
|
1263
1181
|
end
|
1264
1182
|
end
|
1265
1183
|
|
1266
|
-
# {http://fps.amazonaws.com/doc/
|
1267
|
-
#
|
1268
|
-
|
1269
|
-
|
1270
|
-
class SubscribeForCallerNotificationResponse
|
1271
|
-
attr_accessor :status
|
1272
|
-
attr_accessor :errors
|
1273
|
-
attr_accessor :requestId
|
1184
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}CancelSubscriptionAndRefundResult
|
1185
|
+
# refundTransactionId - SOAP::SOAPString
|
1186
|
+
class CancelSubscriptionAndRefundResult
|
1187
|
+
attr_accessor :refundTransactionId
|
1274
1188
|
|
1275
|
-
def initialize(
|
1276
|
-
@
|
1277
|
-
@errors = errors
|
1278
|
-
@requestId = requestId
|
1189
|
+
def initialize(refundTransactionId = nil)
|
1190
|
+
@refundTransactionId = refundTransactionId
|
1279
1191
|
end
|
1280
1192
|
end
|
1281
1193
|
|
1282
|
-
# {http://fps.amazonaws.com/doc/
|
1283
|
-
#
|
1284
|
-
#
|
1285
|
-
|
1286
|
-
|
1287
|
-
attr_accessor :
|
1288
|
-
attr_accessor :errors
|
1289
|
-
attr_accessor :requestId
|
1194
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}FundPrepaidResult
|
1195
|
+
# transactionId - SOAP::SOAPString
|
1196
|
+
# transactionStatus - TransactionStatus
|
1197
|
+
class FundPrepaidResult
|
1198
|
+
attr_accessor :transactionId
|
1199
|
+
attr_accessor :transactionStatus
|
1290
1200
|
|
1291
|
-
def initialize(
|
1292
|
-
@
|
1293
|
-
@
|
1294
|
-
@requestId = requestId
|
1201
|
+
def initialize(transactionId = nil, transactionStatus = nil)
|
1202
|
+
@transactionId = transactionId
|
1203
|
+
@transactionStatus = transactionStatus
|
1295
1204
|
end
|
1296
1205
|
end
|
1297
1206
|
|
1298
|
-
# {http://fps.amazonaws.com/doc/
|
1299
|
-
#
|
1300
|
-
#
|
1301
|
-
#
|
1302
|
-
|
1303
|
-
|
1304
|
-
attr_accessor :
|
1305
|
-
attr_accessor :
|
1306
|
-
attr_accessor :errors
|
1307
|
-
attr_accessor :requestId
|
1207
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountActivityResult
|
1208
|
+
# batchSize - SOAP::SOAPInteger
|
1209
|
+
# transaction - Transaction
|
1210
|
+
# startTimeForNextTransaction - SOAP::SOAPDateTime
|
1211
|
+
class GetAccountActivityResult
|
1212
|
+
attr_accessor :batchSize
|
1213
|
+
attr_accessor :transaction
|
1214
|
+
attr_accessor :startTimeForNextTransaction
|
1308
1215
|
|
1309
|
-
def initialize(
|
1310
|
-
@
|
1311
|
-
@
|
1312
|
-
@
|
1313
|
-
@requestId = requestId
|
1216
|
+
def initialize(batchSize = nil, transaction = [], startTimeForNextTransaction = nil)
|
1217
|
+
@batchSize = batchSize
|
1218
|
+
@transaction = transaction
|
1219
|
+
@startTimeForNextTransaction = startTimeForNextTransaction
|
1314
1220
|
end
|
1315
1221
|
end
|
1316
1222
|
|
1317
|
-
# {http://fps.amazonaws.com/doc/
|
1223
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetAccountBalanceResult
|
1318
1224
|
# accountBalance - AccountBalance
|
1319
|
-
|
1320
|
-
# errors - ServiceErrors
|
1321
|
-
# requestId - SOAP::SOAPString
|
1322
|
-
class GetAccountBalanceResponse
|
1225
|
+
class GetAccountBalanceResult
|
1323
1226
|
attr_accessor :accountBalance
|
1324
|
-
attr_accessor :status
|
1325
|
-
attr_accessor :errors
|
1326
|
-
attr_accessor :requestId
|
1327
1227
|
|
1328
|
-
def initialize(accountBalance = nil
|
1228
|
+
def initialize(accountBalance = nil)
|
1329
1229
|
@accountBalance = accountBalance
|
1330
|
-
@status = status
|
1331
|
-
@errors = errors
|
1332
|
-
@requestId = requestId
|
1333
1230
|
end
|
1334
1231
|
end
|
1335
1232
|
|
1336
|
-
# {http://fps.amazonaws.com/doc/
|
1337
|
-
#
|
1338
|
-
|
1339
|
-
|
1340
|
-
# status - ResponseStatus
|
1341
|
-
# errors - ServiceErrors
|
1342
|
-
# requestId - SOAP::SOAPString
|
1343
|
-
class GetAccountActivityResponse
|
1344
|
-
attr_accessor :responseBatchSize
|
1345
|
-
attr_accessor :transactions
|
1346
|
-
attr_accessor :startTimeForNextTransaction
|
1347
|
-
attr_accessor :status
|
1348
|
-
attr_accessor :errors
|
1349
|
-
attr_accessor :requestId
|
1233
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetDebtBalanceResult
|
1234
|
+
# debtBalance - DebtBalance
|
1235
|
+
class GetDebtBalanceResult
|
1236
|
+
attr_accessor :debtBalance
|
1350
1237
|
|
1351
|
-
def initialize(
|
1352
|
-
@
|
1353
|
-
@transactions = transactions
|
1354
|
-
@startTimeForNextTransaction = startTimeForNextTransaction
|
1355
|
-
@status = status
|
1356
|
-
@errors = errors
|
1357
|
-
@requestId = requestId
|
1238
|
+
def initialize(debtBalance = nil)
|
1239
|
+
@debtBalance = debtBalance
|
1358
1240
|
end
|
1359
1241
|
end
|
1360
1242
|
|
1361
|
-
# {http://fps.amazonaws.com/doc/
|
1362
|
-
#
|
1363
|
-
|
1364
|
-
|
1365
|
-
# requestId - SOAP::SOAPString
|
1366
|
-
class InstallPaymentInstructionResponse
|
1367
|
-
attr_accessor :tokenId
|
1368
|
-
attr_accessor :status
|
1369
|
-
attr_accessor :errors
|
1370
|
-
attr_accessor :requestId
|
1243
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetOutstandingDebtBalanceResult
|
1244
|
+
# outstandingDebt - OutstandingDebtBalance
|
1245
|
+
class GetOutstandingDebtBalanceResult
|
1246
|
+
attr_accessor :outstandingDebt
|
1371
1247
|
|
1372
|
-
def initialize(
|
1373
|
-
@
|
1374
|
-
@status = status
|
1375
|
-
@errors = errors
|
1376
|
-
@requestId = requestId
|
1248
|
+
def initialize(outstandingDebt = nil)
|
1249
|
+
@outstandingDebt = outstandingDebt
|
1377
1250
|
end
|
1378
1251
|
end
|
1379
1252
|
|
1380
|
-
# {http://fps.amazonaws.com/doc/
|
1381
|
-
#
|
1382
|
-
|
1383
|
-
|
1384
|
-
attr_accessor :installPaymentInstructionRequest
|
1385
|
-
attr_accessor :unused
|
1253
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetPrepaidBalanceResult
|
1254
|
+
# prepaidBalance - PrepaidBalance
|
1255
|
+
class GetPrepaidBalanceResult
|
1256
|
+
attr_accessor :prepaidBalance
|
1386
1257
|
|
1387
|
-
def initialize(
|
1388
|
-
@
|
1389
|
-
@unused = unused
|
1258
|
+
def initialize(prepaidBalance = nil)
|
1259
|
+
@prepaidBalance = prepaidBalance
|
1390
1260
|
end
|
1391
1261
|
end
|
1392
1262
|
|
1393
|
-
# {http://fps.amazonaws.com/doc/
|
1394
|
-
#
|
1395
|
-
|
1396
|
-
|
1397
|
-
attr_accessor :installPaymentInstructionResponse
|
1398
|
-
attr_accessor :unused
|
1263
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenByCallerResult
|
1264
|
+
# token - Token
|
1265
|
+
class GetTokenByCallerResult
|
1266
|
+
attr_accessor :token
|
1399
1267
|
|
1400
|
-
def initialize(
|
1401
|
-
@
|
1402
|
-
@unused = unused
|
1268
|
+
def initialize(token = nil)
|
1269
|
+
@token = token
|
1403
1270
|
end
|
1404
1271
|
end
|
1405
1272
|
|
1406
|
-
# {http://fps.amazonaws.com/doc/
|
1407
|
-
|
1408
|
-
|
1409
|
-
# callerReference - SOAP::SOAPString
|
1410
|
-
# tokenType - TokenType
|
1411
|
-
# paymentReason - SOAP::SOAPString
|
1412
|
-
class InstallPaymentInstructionRequest
|
1413
|
-
attr_accessor :paymentInstruction
|
1414
|
-
attr_accessor :tokenFriendlyName
|
1415
|
-
attr_accessor :callerReference
|
1416
|
-
attr_accessor :tokenType
|
1417
|
-
attr_accessor :paymentReason
|
1273
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTokenUsageResult
|
1274
|
+
class GetTokenUsageResult < ::Array
|
1275
|
+
end
|
1418
1276
|
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1277
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTokensResult
|
1278
|
+
class GetTokensResult < ::Array
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTotalPrepaidLiabilityResult
|
1282
|
+
# outstandingPrepaidLiability - OutstandingPrepaidLiability
|
1283
|
+
class GetTotalPrepaidLiabilityResult
|
1284
|
+
attr_accessor :outstandingPrepaidLiability
|
1285
|
+
|
1286
|
+
def initialize(outstandingPrepaidLiability = nil)
|
1287
|
+
@outstandingPrepaidLiability = outstandingPrepaidLiability
|
1425
1288
|
end
|
1426
1289
|
end
|
1427
1290
|
|
1428
|
-
# {http://fps.amazonaws.com/doc/
|
1429
|
-
#
|
1430
|
-
|
1431
|
-
|
1432
|
-
# requestId - SOAP::SOAPString
|
1433
|
-
class GetTokensResponse
|
1434
|
-
attr_accessor :tokens
|
1435
|
-
attr_accessor :status
|
1436
|
-
attr_accessor :errors
|
1437
|
-
attr_accessor :requestId
|
1291
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTransactionResult
|
1292
|
+
# transaction - TransactionDetail
|
1293
|
+
class GetTransactionResult
|
1294
|
+
attr_accessor :transaction
|
1438
1295
|
|
1439
|
-
def initialize(
|
1440
|
-
@
|
1441
|
-
@status = status
|
1442
|
-
@errors = errors
|
1443
|
-
@requestId = requestId
|
1296
|
+
def initialize(transaction = nil)
|
1297
|
+
@transaction = transaction
|
1444
1298
|
end
|
1445
1299
|
end
|
1446
1300
|
|
1447
|
-
# {http://fps.amazonaws.com/doc/
|
1448
|
-
#
|
1449
|
-
#
|
1450
|
-
#
|
1451
|
-
#
|
1452
|
-
|
1453
|
-
|
1454
|
-
attr_accessor :
|
1455
|
-
attr_accessor :
|
1456
|
-
attr_accessor :
|
1301
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetTransactionStatusResult
|
1302
|
+
# transactionId - SOAP::SOAPString
|
1303
|
+
# transactionStatus - TransactionStatus
|
1304
|
+
# callerReference - SOAP::SOAPString
|
1305
|
+
# statusCode - SOAP::SOAPString
|
1306
|
+
# statusMessage - SOAP::SOAPString
|
1307
|
+
class GetTransactionStatusResult
|
1308
|
+
attr_accessor :transactionId
|
1309
|
+
attr_accessor :transactionStatus
|
1310
|
+
attr_accessor :callerReference
|
1311
|
+
attr_accessor :statusCode
|
1312
|
+
attr_accessor :statusMessage
|
1457
1313
|
|
1458
|
-
def initialize(
|
1459
|
-
@
|
1460
|
-
@
|
1461
|
-
@
|
1462
|
-
@
|
1314
|
+
def initialize(transactionId = nil, transactionStatus = nil, callerReference = nil, statusCode = nil, statusMessage = nil)
|
1315
|
+
@transactionId = transactionId
|
1316
|
+
@transactionStatus = transactionStatus
|
1317
|
+
@callerReference = callerReference
|
1318
|
+
@statusCode = statusCode
|
1319
|
+
@statusMessage = statusMessage
|
1463
1320
|
end
|
1464
1321
|
end
|
1465
1322
|
|
1466
|
-
# {http://fps.amazonaws.com/doc/
|
1323
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}GetPaymentInstructionResult
|
1467
1324
|
# token - Token
|
1468
1325
|
# paymentInstruction - SOAP::SOAPString
|
1469
|
-
#
|
1326
|
+
# callerReference - SOAP::SOAPString
|
1470
1327
|
# tokenFriendlyName - SOAP::SOAPString
|
1471
|
-
|
1472
|
-
# errors - ServiceErrors
|
1473
|
-
# requestId - SOAP::SOAPString
|
1474
|
-
class GetPaymentInstructionResponse
|
1328
|
+
class GetPaymentInstructionResult
|
1475
1329
|
attr_accessor :token
|
1476
1330
|
attr_accessor :paymentInstruction
|
1477
|
-
attr_accessor :
|
1331
|
+
attr_accessor :callerReference
|
1478
1332
|
attr_accessor :tokenFriendlyName
|
1479
|
-
attr_accessor :status
|
1480
|
-
attr_accessor :errors
|
1481
|
-
attr_accessor :requestId
|
1482
1333
|
|
1483
|
-
def initialize(token = nil, paymentInstruction = nil,
|
1334
|
+
def initialize(token = nil, paymentInstruction = nil, callerReference = nil, tokenFriendlyName = nil)
|
1484
1335
|
@token = token
|
1485
1336
|
@paymentInstruction = paymentInstruction
|
1486
|
-
@
|
1337
|
+
@callerReference = callerReference
|
1487
1338
|
@tokenFriendlyName = tokenFriendlyName
|
1488
|
-
@status = status
|
1489
|
-
@errors = errors
|
1490
|
-
@requestId = requestId
|
1491
|
-
end
|
1492
|
-
end
|
1493
|
-
|
1494
|
-
# {http://fps.amazonaws.com/doc/2007-01-08/}PayResponse
|
1495
|
-
# transactionResponse - TransactionResponse
|
1496
|
-
# status - ResponseStatus
|
1497
|
-
# errors - ServiceErrors
|
1498
|
-
# requestId - SOAP::SOAPString
|
1499
|
-
class PayResponse
|
1500
|
-
attr_accessor :transactionResponse
|
1501
|
-
attr_accessor :status
|
1502
|
-
attr_accessor :errors
|
1503
|
-
attr_accessor :requestId
|
1504
|
-
|
1505
|
-
def initialize(transactionResponse = nil, status = nil, errors = nil, requestId = nil)
|
1506
|
-
@transactionResponse = transactionResponse
|
1507
|
-
@status = status
|
1508
|
-
@errors = errors
|
1509
|
-
@requestId = requestId
|
1510
1339
|
end
|
1511
1340
|
end
|
1512
1341
|
|
1513
|
-
# {http://fps.amazonaws.com/doc/
|
1514
|
-
#
|
1515
|
-
|
1516
|
-
|
1517
|
-
# transactionAmount - Amount
|
1518
|
-
# transactionDate - SOAP::SOAPDateTime
|
1519
|
-
# chargeFeeTo - ChargeFeeTo
|
1520
|
-
# callerReference - SOAP::SOAPString
|
1521
|
-
# senderReference - SOAP::SOAPString
|
1522
|
-
# recipientReference - SOAP::SOAPString
|
1523
|
-
# callerDescription - SOAP::SOAPString
|
1524
|
-
# senderDescription - SOAP::SOAPString
|
1525
|
-
# recipientDescription - SOAP::SOAPString
|
1526
|
-
# metaData - SOAP::SOAPString
|
1527
|
-
# marketplaceFixedFee - Amount
|
1528
|
-
# marketplaceVariableFee - SOAP::SOAPDecimal
|
1529
|
-
# temporaryDeclinePolicy - TemporaryDeclinePolicy
|
1530
|
-
# descriptorPolicy - DescriptorPolicy
|
1531
|
-
class PayRequest
|
1532
|
-
attr_accessor :callerTokenId
|
1533
|
-
attr_accessor :senderTokenId
|
1534
|
-
attr_accessor :recipientTokenId
|
1535
|
-
attr_accessor :transactionAmount
|
1536
|
-
attr_accessor :transactionDate
|
1537
|
-
attr_accessor :chargeFeeTo
|
1538
|
-
attr_accessor :callerReference
|
1539
|
-
attr_accessor :senderReference
|
1540
|
-
attr_accessor :recipientReference
|
1541
|
-
attr_accessor :callerDescription
|
1542
|
-
attr_accessor :senderDescription
|
1543
|
-
attr_accessor :recipientDescription
|
1544
|
-
attr_accessor :metaData
|
1545
|
-
attr_accessor :marketplaceFixedFee
|
1546
|
-
attr_accessor :marketplaceVariableFee
|
1547
|
-
attr_accessor :temporaryDeclinePolicy
|
1548
|
-
attr_accessor :descriptorPolicy
|
1342
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}InstallPaymentInstructionResult
|
1343
|
+
# tokenId - SOAP::SOAPString
|
1344
|
+
class InstallPaymentInstructionResult
|
1345
|
+
attr_accessor :tokenId
|
1549
1346
|
|
1550
|
-
def initialize(
|
1551
|
-
@
|
1552
|
-
@senderTokenId = senderTokenId
|
1553
|
-
@recipientTokenId = recipientTokenId
|
1554
|
-
@transactionAmount = transactionAmount
|
1555
|
-
@transactionDate = transactionDate
|
1556
|
-
@chargeFeeTo = chargeFeeTo
|
1557
|
-
@callerReference = callerReference
|
1558
|
-
@senderReference = senderReference
|
1559
|
-
@recipientReference = recipientReference
|
1560
|
-
@callerDescription = callerDescription
|
1561
|
-
@senderDescription = senderDescription
|
1562
|
-
@recipientDescription = recipientDescription
|
1563
|
-
@metaData = metaData
|
1564
|
-
@marketplaceFixedFee = marketplaceFixedFee
|
1565
|
-
@marketplaceVariableFee = marketplaceVariableFee
|
1566
|
-
@temporaryDeclinePolicy = temporaryDeclinePolicy
|
1567
|
-
@descriptorPolicy = descriptorPolicy
|
1347
|
+
def initialize(tokenId = nil)
|
1348
|
+
@tokenId = tokenId
|
1568
1349
|
end
|
1569
1350
|
end
|
1570
1351
|
|
1571
|
-
# {http://fps.amazonaws.com/doc/
|
1572
|
-
#
|
1573
|
-
#
|
1574
|
-
class
|
1575
|
-
attr_accessor :
|
1576
|
-
attr_accessor :
|
1352
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}PayResult
|
1353
|
+
# transactionId - SOAP::SOAPString
|
1354
|
+
# transactionStatus - TransactionStatus
|
1355
|
+
class PayResult
|
1356
|
+
attr_accessor :transactionId
|
1357
|
+
attr_accessor :transactionStatus
|
1577
1358
|
|
1578
|
-
def initialize(
|
1579
|
-
@
|
1580
|
-
@
|
1359
|
+
def initialize(transactionId = nil, transactionStatus = nil)
|
1360
|
+
@transactionId = transactionId
|
1361
|
+
@transactionStatus = transactionStatus
|
1581
1362
|
end
|
1582
1363
|
end
|
1583
1364
|
|
1584
|
-
# {http://fps.amazonaws.com/doc/
|
1585
|
-
#
|
1586
|
-
#
|
1587
|
-
class
|
1588
|
-
attr_accessor :
|
1589
|
-
attr_accessor :
|
1365
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}RefundResult
|
1366
|
+
# transactionId - SOAP::SOAPString
|
1367
|
+
# transactionStatus - TransactionStatus
|
1368
|
+
class RefundResult
|
1369
|
+
attr_accessor :transactionId
|
1370
|
+
attr_accessor :transactionStatus
|
1590
1371
|
|
1591
|
-
def initialize(
|
1592
|
-
@
|
1593
|
-
@
|
1372
|
+
def initialize(transactionId = nil, transactionStatus = nil)
|
1373
|
+
@transactionId = transactionId
|
1374
|
+
@transactionStatus = transactionStatus
|
1594
1375
|
end
|
1595
1376
|
end
|
1596
1377
|
|
1597
|
-
# {http://fps.amazonaws.com/doc/
|
1598
|
-
#
|
1599
|
-
#
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
attr_accessor :transactionResponse
|
1604
|
-
attr_accessor :status
|
1605
|
-
attr_accessor :errors
|
1606
|
-
attr_accessor :requestId
|
1378
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}ReserveResult
|
1379
|
+
# transactionId - SOAP::SOAPString
|
1380
|
+
# transactionStatus - TransactionStatus
|
1381
|
+
class ReserveResult
|
1382
|
+
attr_accessor :transactionId
|
1383
|
+
attr_accessor :transactionStatus
|
1607
1384
|
|
1608
|
-
def initialize(
|
1609
|
-
@
|
1610
|
-
@
|
1611
|
-
@errors = errors
|
1612
|
-
@requestId = requestId
|
1385
|
+
def initialize(transactionId = nil, transactionStatus = nil)
|
1386
|
+
@transactionId = transactionId
|
1387
|
+
@transactionStatus = transactionStatus
|
1613
1388
|
end
|
1614
1389
|
end
|
1615
1390
|
|
1616
|
-
# {http://fps.amazonaws.com/doc/
|
1617
|
-
#
|
1618
|
-
#
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
attr_accessor :transactionResponse
|
1623
|
-
attr_accessor :status
|
1624
|
-
attr_accessor :errors
|
1625
|
-
attr_accessor :requestId
|
1391
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}SettleResult
|
1392
|
+
# transactionId - SOAP::SOAPString
|
1393
|
+
# transactionStatus - TransactionStatus
|
1394
|
+
class SettleResult
|
1395
|
+
attr_accessor :transactionId
|
1396
|
+
attr_accessor :transactionStatus
|
1626
1397
|
|
1627
|
-
def initialize(
|
1628
|
-
@
|
1629
|
-
@
|
1630
|
-
@errors = errors
|
1631
|
-
@requestId = requestId
|
1398
|
+
def initialize(transactionId = nil, transactionStatus = nil)
|
1399
|
+
@transactionId = transactionId
|
1400
|
+
@transactionStatus = transactionStatus
|
1632
1401
|
end
|
1633
1402
|
end
|
1634
1403
|
|
1635
|
-
# {http://fps.amazonaws.com/doc/
|
1636
|
-
#
|
1637
|
-
#
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
attr_accessor :transactionResponse
|
1642
|
-
attr_accessor :status
|
1643
|
-
attr_accessor :errors
|
1644
|
-
attr_accessor :requestId
|
1404
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}SettleDebtResult
|
1405
|
+
# transactionId - SOAP::SOAPString
|
1406
|
+
# transactionStatus - TransactionStatus
|
1407
|
+
class SettleDebtResult
|
1408
|
+
attr_accessor :transactionId
|
1409
|
+
attr_accessor :transactionStatus
|
1645
1410
|
|
1646
|
-
def initialize(
|
1647
|
-
@
|
1648
|
-
@
|
1649
|
-
@errors = errors
|
1650
|
-
@requestId = requestId
|
1411
|
+
def initialize(transactionId = nil, transactionStatus = nil)
|
1412
|
+
@transactionId = transactionId
|
1413
|
+
@transactionStatus = transactionStatus
|
1651
1414
|
end
|
1652
1415
|
end
|
1653
1416
|
|
1654
|
-
# {http://fps.amazonaws.com/doc/
|
1655
|
-
#
|
1656
|
-
#
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
attr_accessor :status
|
1661
|
-
attr_accessor :errors
|
1662
|
-
attr_accessor :discardErrors
|
1663
|
-
attr_accessor :requestId
|
1417
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}WriteOffDebtResult
|
1418
|
+
# transactionId - SOAP::SOAPString
|
1419
|
+
# transactionStatus - TransactionStatus
|
1420
|
+
class WriteOffDebtResult
|
1421
|
+
attr_accessor :transactionId
|
1422
|
+
attr_accessor :transactionStatus
|
1664
1423
|
|
1665
|
-
def initialize(
|
1666
|
-
@
|
1667
|
-
@
|
1668
|
-
@discardErrors = discardErrors
|
1669
|
-
@requestId = requestId
|
1424
|
+
def initialize(transactionId = nil, transactionStatus = nil)
|
1425
|
+
@transactionId = transactionId
|
1426
|
+
@transactionStatus = transactionStatus
|
1670
1427
|
end
|
1671
1428
|
end
|
1672
1429
|
|
1673
|
-
# {http://fps.amazonaws.com/doc/
|
1674
|
-
# transactionResults - TransactionResult
|
1675
|
-
# numberPending - SOAP::SOAPInteger
|
1676
|
-
# status - ResponseStatus
|
1677
|
-
# errors - ServiceErrors
|
1430
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}ResponseMetadata
|
1678
1431
|
# requestId - SOAP::SOAPString
|
1679
|
-
class
|
1680
|
-
attr_accessor :transactionResults
|
1681
|
-
attr_accessor :numberPending
|
1682
|
-
attr_accessor :status
|
1683
|
-
attr_accessor :errors
|
1432
|
+
class ResponseMetadata
|
1684
1433
|
attr_accessor :requestId
|
1685
1434
|
|
1686
|
-
def initialize(
|
1687
|
-
@transactionResults = transactionResults
|
1688
|
-
@numberPending = numberPending
|
1689
|
-
@status = status
|
1690
|
-
@errors = errors
|
1435
|
+
def initialize(requestId = nil)
|
1691
1436
|
@requestId = requestId
|
1692
1437
|
end
|
1693
1438
|
end
|
1694
1439
|
|
1695
|
-
# {http://fps.amazonaws.com/doc/
|
1696
|
-
#
|
1697
|
-
# status - ResponseStatus
|
1698
|
-
# errors - ServiceErrors
|
1440
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}ErrorResponse
|
1441
|
+
# error - Error
|
1699
1442
|
# requestId - SOAP::SOAPString
|
1700
|
-
class
|
1701
|
-
attr_accessor :
|
1702
|
-
attr_accessor :status
|
1703
|
-
attr_accessor :errors
|
1443
|
+
class ErrorResponse
|
1444
|
+
attr_accessor :error
|
1704
1445
|
attr_accessor :requestId
|
1705
1446
|
|
1706
|
-
def initialize(
|
1707
|
-
@
|
1708
|
-
@status = status
|
1709
|
-
@errors = errors
|
1447
|
+
def initialize(error = [], requestId = nil)
|
1448
|
+
@error = error
|
1710
1449
|
@requestId = requestId
|
1711
1450
|
end
|
1712
1451
|
end
|
1713
1452
|
|
1714
|
-
# {http://fps.amazonaws.com/doc/
|
1715
|
-
#
|
1716
|
-
#
|
1717
|
-
#
|
1718
|
-
#
|
1719
|
-
class
|
1720
|
-
attr_accessor :transactionResponse
|
1721
|
-
attr_accessor :status
|
1722
|
-
attr_accessor :errors
|
1723
|
-
attr_accessor :requestId
|
1453
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Error
|
1454
|
+
# type - SOAP::SOAPString
|
1455
|
+
# code - SOAP::SOAPString
|
1456
|
+
# message - SOAP::SOAPString
|
1457
|
+
# detail - Error::Detail
|
1458
|
+
class Error
|
1724
1459
|
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
@requestId = requestId
|
1730
|
-
end
|
1731
|
-
end
|
1460
|
+
# inner class for member: Detail
|
1461
|
+
# {http://fps.amazonaws.com/doc/2008-09-17/}Detail
|
1462
|
+
class Detail
|
1463
|
+
attr_reader :__xmlele_any
|
1732
1464
|
|
1733
|
-
|
1734
|
-
|
1735
|
-
|
1736
|
-
# errors - ServiceErrors
|
1737
|
-
# requestId - SOAP::SOAPString
|
1738
|
-
class GetTokenByCallerResponse
|
1739
|
-
attr_accessor :token
|
1740
|
-
attr_accessor :status
|
1741
|
-
attr_accessor :errors
|
1742
|
-
attr_accessor :requestId
|
1465
|
+
def set_any(elements)
|
1466
|
+
@__xmlele_any = elements
|
1467
|
+
end
|
1743
1468
|
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
@errors = errors
|
1748
|
-
@requestId = requestId
|
1469
|
+
def initialize
|
1470
|
+
@__xmlele_any = nil
|
1471
|
+
end
|
1749
1472
|
end
|
1750
|
-
end
|
1751
1473
|
|
1752
|
-
|
1753
|
-
|
1754
|
-
|
1755
|
-
|
1756
|
-
class CancelTokenResponse
|
1757
|
-
attr_accessor :status
|
1758
|
-
attr_accessor :errors
|
1759
|
-
attr_accessor :requestId
|
1474
|
+
attr_accessor :type
|
1475
|
+
attr_accessor :code
|
1476
|
+
attr_accessor :message
|
1477
|
+
attr_accessor :detail
|
1760
1478
|
|
1761
|
-
def initialize(
|
1762
|
-
@
|
1763
|
-
@
|
1764
|
-
@
|
1479
|
+
def initialize(type = nil, code = nil, message = nil, detail = nil)
|
1480
|
+
@type = type
|
1481
|
+
@code = code
|
1482
|
+
@message = message
|
1483
|
+
@detail = detail
|
1765
1484
|
end
|
1766
1485
|
end
|