pennytel 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.rdoc +18 -0
- data/lib/default.rb +709 -0
- data/lib/defaultDriver.rb +247 -0
- data/lib/defaultMappingRegistry.rb +538 -0
- data/lib/pennytel.rb +27 -0
- data/spec/pennytel_spec.rb +14 -0
- data/spec/spec_helper.rb +9 -0
- metadata +91 -0
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Kunal Parikh
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
= pennytel
|
2
|
+
|
3
|
+
Description goes here.
|
4
|
+
|
5
|
+
== Note on Patches/Pull Requests
|
6
|
+
|
7
|
+
* Fork the project.
|
8
|
+
* Make your feature addition or bug fix.
|
9
|
+
* Add tests for it. This is important so I don't break it in a
|
10
|
+
future version unintentionally.
|
11
|
+
* Commit, do not mess with rakefile, version, or history.
|
12
|
+
(if you want to have your own version, that is fine but
|
13
|
+
bump version in a commit by itself I can ignore when I pull)
|
14
|
+
* Send me a pull request. Bonus points for topic branches.
|
15
|
+
|
16
|
+
== Copyright
|
17
|
+
|
18
|
+
Copyright (c) 2009 Kunal Parikh. See LICENSE for details.
|
data/lib/default.rb
ADDED
@@ -0,0 +1,709 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
# {http://pennytel.com}PennyTelAccount
|
4
|
+
# balance - SOAP::SOAPFloat
|
5
|
+
# blocked - SOAP::SOAPBoolean
|
6
|
+
# currency - SOAP::SOAPString
|
7
|
+
# lastUsageDate - SOAP::SOAPDateTime
|
8
|
+
# others - SOAP::SOAPString
|
9
|
+
# zeroBalanceDate - SOAP::SOAPDateTime
|
10
|
+
class PennyTelAccount
|
11
|
+
attr_accessor :balance
|
12
|
+
attr_accessor :blocked
|
13
|
+
attr_accessor :currency
|
14
|
+
attr_accessor :lastUsageDate
|
15
|
+
attr_accessor :others
|
16
|
+
attr_accessor :zeroBalanceDate
|
17
|
+
|
18
|
+
def initialize(balance = nil, blocked = nil, currency = nil, lastUsageDate = nil, others = nil, zeroBalanceDate = nil)
|
19
|
+
@balance = balance
|
20
|
+
@blocked = blocked
|
21
|
+
@currency = currency
|
22
|
+
@lastUsageDate = lastUsageDate
|
23
|
+
@others = others
|
24
|
+
@zeroBalanceDate = zeroBalanceDate
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
# {http://pennytel.com}PennyTelContact
|
29
|
+
# displayName - SOAP::SOAPString
|
30
|
+
# emailAddress - SOAP::SOAPString
|
31
|
+
# faxNumber - SOAP::SOAPString
|
32
|
+
# firstName - SOAP::SOAPString
|
33
|
+
# group - SOAP::SOAPString
|
34
|
+
# homeAddress - SOAP::SOAPString
|
35
|
+
# homeCity - SOAP::SOAPString
|
36
|
+
# homeCountry - SOAP::SOAPString
|
37
|
+
# homeNumber - SOAP::SOAPString
|
38
|
+
# homeState - SOAP::SOAPString
|
39
|
+
# lastName - SOAP::SOAPString
|
40
|
+
# mobileNumber - SOAP::SOAPString
|
41
|
+
# officeAddress - SOAP::SOAPString
|
42
|
+
# officeCity - SOAP::SOAPString
|
43
|
+
# officeCountry - SOAP::SOAPString
|
44
|
+
# officeNumber - SOAP::SOAPString
|
45
|
+
# officeState - SOAP::SOAPString
|
46
|
+
# others - SOAP::SOAPString
|
47
|
+
# pennyTelNumber - SOAP::SOAPString
|
48
|
+
# webSite - SOAP::SOAPString
|
49
|
+
class PennyTelContact
|
50
|
+
attr_accessor :displayName
|
51
|
+
attr_accessor :emailAddress
|
52
|
+
attr_accessor :faxNumber
|
53
|
+
attr_accessor :firstName
|
54
|
+
attr_accessor :group
|
55
|
+
attr_accessor :homeAddress
|
56
|
+
attr_accessor :homeCity
|
57
|
+
attr_accessor :homeCountry
|
58
|
+
attr_accessor :homeNumber
|
59
|
+
attr_accessor :homeState
|
60
|
+
attr_accessor :lastName
|
61
|
+
attr_accessor :mobileNumber
|
62
|
+
attr_accessor :officeAddress
|
63
|
+
attr_accessor :officeCity
|
64
|
+
attr_accessor :officeCountry
|
65
|
+
attr_accessor :officeNumber
|
66
|
+
attr_accessor :officeState
|
67
|
+
attr_accessor :others
|
68
|
+
attr_accessor :pennyTelNumber
|
69
|
+
attr_accessor :webSite
|
70
|
+
|
71
|
+
def initialize(displayName = nil, emailAddress = nil, faxNumber = nil, firstName = nil, group = nil, homeAddress = nil, homeCity = nil, homeCountry = nil, homeNumber = nil, homeState = nil, lastName = nil, mobileNumber = nil, officeAddress = nil, officeCity = nil, officeCountry = nil, officeNumber = nil, officeState = nil, others = nil, pennyTelNumber = nil, webSite = nil)
|
72
|
+
@displayName = displayName
|
73
|
+
@emailAddress = emailAddress
|
74
|
+
@faxNumber = faxNumber
|
75
|
+
@firstName = firstName
|
76
|
+
@group = group
|
77
|
+
@homeAddress = homeAddress
|
78
|
+
@homeCity = homeCity
|
79
|
+
@homeCountry = homeCountry
|
80
|
+
@homeNumber = homeNumber
|
81
|
+
@homeState = homeState
|
82
|
+
@lastName = lastName
|
83
|
+
@mobileNumber = mobileNumber
|
84
|
+
@officeAddress = officeAddress
|
85
|
+
@officeCity = officeCity
|
86
|
+
@officeCountry = officeCountry
|
87
|
+
@officeNumber = officeNumber
|
88
|
+
@officeState = officeState
|
89
|
+
@others = others
|
90
|
+
@pennyTelNumber = pennyTelNumber
|
91
|
+
@webSite = webSite
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# {http://pennytel.com}getSmartDialSettings
|
96
|
+
# id - SOAP::SOAPString
|
97
|
+
# password - SOAP::SOAPString
|
98
|
+
# options - SOAP::SOAPString
|
99
|
+
class GetSmartDialSettings
|
100
|
+
attr_accessor :id
|
101
|
+
attr_accessor :password
|
102
|
+
attr_accessor :options
|
103
|
+
|
104
|
+
def initialize(id = nil, password = nil, options = [])
|
105
|
+
@id = id
|
106
|
+
@password = password
|
107
|
+
@options = options
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
# {http://pennytel.com}getSmartDialSettingsResponse
|
112
|
+
class GetSmartDialSettingsResponse < ::Array
|
113
|
+
end
|
114
|
+
|
115
|
+
# {http://pennytel.com}getAccount
|
116
|
+
# id - SOAP::SOAPString
|
117
|
+
# password - SOAP::SOAPString
|
118
|
+
class GetAccount
|
119
|
+
attr_accessor :id
|
120
|
+
attr_accessor :password
|
121
|
+
|
122
|
+
def initialize(id = nil, password = nil)
|
123
|
+
@id = id
|
124
|
+
@password = password
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
# {http://pennytel.com}getAccountResponse
|
129
|
+
# getAccountReturn - PennyTelAccount
|
130
|
+
class GetAccountResponse
|
131
|
+
attr_accessor :getAccountReturn
|
132
|
+
|
133
|
+
def initialize(getAccountReturn = nil)
|
134
|
+
@getAccountReturn = getAccountReturn
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
# {http://pennytel.com}addSmartDialForward
|
139
|
+
# id - SOAP::SOAPString
|
140
|
+
# password - SOAP::SOAPString
|
141
|
+
# access - SOAP::SOAPString
|
142
|
+
# numbers - SOAP::SOAPString
|
143
|
+
class AddSmartDialForward
|
144
|
+
attr_accessor :id
|
145
|
+
attr_accessor :password
|
146
|
+
attr_accessor :access
|
147
|
+
attr_accessor :numbers
|
148
|
+
|
149
|
+
def initialize(id = nil, password = nil, access = [], numbers = [])
|
150
|
+
@id = id
|
151
|
+
@password = password
|
152
|
+
@access = access
|
153
|
+
@numbers = numbers
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
# {http://pennytel.com}addSmartDialForwardResponse
|
158
|
+
class AddSmartDialForwardResponse
|
159
|
+
def initialize
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
# {http://pennytel.com}getSmartDialForward
|
164
|
+
# id - SOAP::SOAPString
|
165
|
+
# password - SOAP::SOAPString
|
166
|
+
class GetSmartDialForward
|
167
|
+
attr_accessor :id
|
168
|
+
attr_accessor :password
|
169
|
+
|
170
|
+
def initialize(id = nil, password = nil)
|
171
|
+
@id = id
|
172
|
+
@password = password
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
# {http://pennytel.com}getSmartDialForwardResponse
|
177
|
+
class GetSmartDialForwardResponse < ::Array
|
178
|
+
end
|
179
|
+
|
180
|
+
# {http://pennytel.com}removeSmartDialForward
|
181
|
+
# id - SOAP::SOAPString
|
182
|
+
# password - SOAP::SOAPString
|
183
|
+
# access - SOAP::SOAPString
|
184
|
+
class RemoveSmartDialForward
|
185
|
+
attr_accessor :id
|
186
|
+
attr_accessor :password
|
187
|
+
attr_accessor :access
|
188
|
+
|
189
|
+
def initialize(id = nil, password = nil, access = [])
|
190
|
+
@id = id
|
191
|
+
@password = password
|
192
|
+
@access = access
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
# {http://pennytel.com}removeSmartDialForwardResponse
|
197
|
+
class RemoveSmartDialForwardResponse
|
198
|
+
def initialize
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
# {http://pennytel.com}setSmartDialCustomCLI
|
203
|
+
# id - SOAP::SOAPString
|
204
|
+
# password - SOAP::SOAPString
|
205
|
+
# customcli - SOAP::SOAPString
|
206
|
+
class SetSmartDialCustomCLI
|
207
|
+
attr_accessor :id
|
208
|
+
attr_accessor :password
|
209
|
+
attr_accessor :customcli
|
210
|
+
|
211
|
+
def initialize(id = nil, password = nil, customcli = nil)
|
212
|
+
@id = id
|
213
|
+
@password = password
|
214
|
+
@customcli = customcli
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# {http://pennytel.com}setSmartDialCustomCLIResponse
|
219
|
+
class SetSmartDialCustomCLIResponse
|
220
|
+
def initialize
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# {http://pennytel.com}addAllowQuickDial
|
225
|
+
# id - SOAP::SOAPString
|
226
|
+
# password - SOAP::SOAPString
|
227
|
+
# numbers - SOAP::SOAPString
|
228
|
+
class AddAllowQuickDial
|
229
|
+
attr_accessor :id
|
230
|
+
attr_accessor :password
|
231
|
+
attr_accessor :numbers
|
232
|
+
|
233
|
+
def initialize(id = nil, password = nil, numbers = [])
|
234
|
+
@id = id
|
235
|
+
@password = password
|
236
|
+
@numbers = numbers
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
# {http://pennytel.com}addAllowQuickDialResponse
|
241
|
+
class AddAllowQuickDialResponse
|
242
|
+
def initialize
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
# {http://pennytel.com}removeAllowQuickDial
|
247
|
+
# id - SOAP::SOAPString
|
248
|
+
# password - SOAP::SOAPString
|
249
|
+
# numbers - SOAP::SOAPString
|
250
|
+
class RemoveAllowQuickDial
|
251
|
+
attr_accessor :id
|
252
|
+
attr_accessor :password
|
253
|
+
attr_accessor :numbers
|
254
|
+
|
255
|
+
def initialize(id = nil, password = nil, numbers = [])
|
256
|
+
@id = id
|
257
|
+
@password = password
|
258
|
+
@numbers = numbers
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
262
|
+
# {http://pennytel.com}removeAllowQuickDialResponse
|
263
|
+
class RemoveAllowQuickDialResponse
|
264
|
+
def initialize
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
# {http://pennytel.com}getAllowQuickDial
|
269
|
+
# id - SOAP::SOAPString
|
270
|
+
# password - SOAP::SOAPString
|
271
|
+
class GetAllowQuickDial
|
272
|
+
attr_accessor :id
|
273
|
+
attr_accessor :password
|
274
|
+
|
275
|
+
def initialize(id = nil, password = nil)
|
276
|
+
@id = id
|
277
|
+
@password = password
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# {http://pennytel.com}getAllowQuickDialResponse
|
282
|
+
class GetAllowQuickDialResponse < ::Array
|
283
|
+
end
|
284
|
+
|
285
|
+
# {http://pennytel.com}getVerifiedCreditCard
|
286
|
+
# id - SOAP::SOAPString
|
287
|
+
# password - SOAP::SOAPString
|
288
|
+
class GetVerifiedCreditCard
|
289
|
+
attr_accessor :id
|
290
|
+
attr_accessor :password
|
291
|
+
|
292
|
+
def initialize(id = nil, password = nil)
|
293
|
+
@id = id
|
294
|
+
@password = password
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
# {http://pennytel.com}getVerifiedCreditCardResponse
|
299
|
+
# getVerifiedCreditCardReturn - SOAP::SOAPString
|
300
|
+
class GetVerifiedCreditCardResponse
|
301
|
+
attr_accessor :getVerifiedCreditCardReturn
|
302
|
+
|
303
|
+
def initialize(getVerifiedCreditCardReturn = nil)
|
304
|
+
@getVerifiedCreditCardReturn = getVerifiedCreditCardReturn
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
# {http://pennytel.com}setProfile
|
309
|
+
# id - SOAP::SOAPString
|
310
|
+
# password - SOAP::SOAPString
|
311
|
+
# contact - PennyTelContact
|
312
|
+
class SetProfile
|
313
|
+
attr_accessor :id
|
314
|
+
attr_accessor :password
|
315
|
+
attr_accessor :contact
|
316
|
+
|
317
|
+
def initialize(id = nil, password = nil, contact = nil)
|
318
|
+
@id = id
|
319
|
+
@password = password
|
320
|
+
@contact = contact
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
# {http://pennytel.com}setProfileResponse
|
325
|
+
class SetProfileResponse
|
326
|
+
def initialize
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
# {http://pennytel.com}insertOrUpdateAddressBookEntries
|
331
|
+
# id - SOAP::SOAPString
|
332
|
+
# password - SOAP::SOAPString
|
333
|
+
# contacts - PennyTelContact
|
334
|
+
class InsertOrUpdateAddressBookEntries
|
335
|
+
attr_accessor :id
|
336
|
+
attr_accessor :password
|
337
|
+
attr_accessor :contacts
|
338
|
+
|
339
|
+
def initialize(id = nil, password = nil, contacts = [])
|
340
|
+
@id = id
|
341
|
+
@password = password
|
342
|
+
@contacts = contacts
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
# {http://pennytel.com}insertOrUpdateAddressBookEntriesResponse
|
347
|
+
class InsertOrUpdateAddressBookEntriesResponse
|
348
|
+
def initialize
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
# {http://pennytel.com}removeAddressBookEntryByDisplayNames
|
353
|
+
# id - SOAP::SOAPString
|
354
|
+
# password - SOAP::SOAPString
|
355
|
+
# displayNames - SOAP::SOAPString
|
356
|
+
class RemoveAddressBookEntryByDisplayNames
|
357
|
+
attr_accessor :id
|
358
|
+
attr_accessor :password
|
359
|
+
attr_accessor :displayNames
|
360
|
+
|
361
|
+
def initialize(id = nil, password = nil, displayNames = [])
|
362
|
+
@id = id
|
363
|
+
@password = password
|
364
|
+
@displayNames = displayNames
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
# {http://pennytel.com}removeAddressBookEntryByDisplayNamesResponse
|
369
|
+
class RemoveAddressBookEntryByDisplayNamesResponse
|
370
|
+
def initialize
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
# {http://pennytel.com}removeAddressBookEntry
|
375
|
+
# id - SOAP::SOAPString
|
376
|
+
# password - SOAP::SOAPString
|
377
|
+
# criteria - SOAP::SOAPString
|
378
|
+
class RemoveAddressBookEntry
|
379
|
+
attr_accessor :id
|
380
|
+
attr_accessor :password
|
381
|
+
attr_accessor :criteria
|
382
|
+
|
383
|
+
def initialize(id = nil, password = nil, criteria = nil)
|
384
|
+
@id = id
|
385
|
+
@password = password
|
386
|
+
@criteria = criteria
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
390
|
+
# {http://pennytel.com}removeAddressBookEntryResponse
|
391
|
+
class RemoveAddressBookEntryResponse
|
392
|
+
def initialize
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# {http://pennytel.com}getAddressBookEntries
|
397
|
+
# id - SOAP::SOAPString
|
398
|
+
# password - SOAP::SOAPString
|
399
|
+
# criteria - SOAP::SOAPString
|
400
|
+
class GetAddressBookEntries
|
401
|
+
attr_accessor :id
|
402
|
+
attr_accessor :password
|
403
|
+
attr_accessor :criteria
|
404
|
+
|
405
|
+
def initialize(id = nil, password = nil, criteria = nil)
|
406
|
+
@id = id
|
407
|
+
@password = password
|
408
|
+
@criteria = criteria
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
# {http://pennytel.com}getAddressBookEntriesResponse
|
413
|
+
class GetAddressBookEntriesResponse < ::Array
|
414
|
+
end
|
415
|
+
|
416
|
+
# {http://pennytel.com}sendSMS
|
417
|
+
# id - SOAP::SOAPString
|
418
|
+
# password - SOAP::SOAPString
|
419
|
+
# type - SOAP::SOAPInt
|
420
|
+
# to - SOAP::SOAPString
|
421
|
+
# message - SOAP::SOAPString
|
422
|
+
# date - SOAP::SOAPDateTime
|
423
|
+
class SendSMS
|
424
|
+
attr_accessor :id
|
425
|
+
attr_accessor :password
|
426
|
+
attr_accessor :type
|
427
|
+
attr_accessor :to
|
428
|
+
attr_accessor :message
|
429
|
+
attr_accessor :date
|
430
|
+
|
431
|
+
def initialize(id = nil, password = nil, type = nil, to = nil, message = nil, date = nil)
|
432
|
+
@id = id
|
433
|
+
@password = password
|
434
|
+
@type = type
|
435
|
+
@to = to
|
436
|
+
@message = message
|
437
|
+
@date = date
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
# {http://pennytel.com}sendSMSResponse
|
442
|
+
class SendSMSResponse
|
443
|
+
def initialize
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
# {http://pennytel.com}triggerCallback
|
448
|
+
# id - SOAP::SOAPString
|
449
|
+
# password - SOAP::SOAPString
|
450
|
+
# leg1 - SOAP::SOAPString
|
451
|
+
# leg2 - SOAP::SOAPString
|
452
|
+
# date - SOAP::SOAPDateTime
|
453
|
+
class TriggerCallback
|
454
|
+
attr_accessor :id
|
455
|
+
attr_accessor :password
|
456
|
+
attr_accessor :leg1
|
457
|
+
attr_accessor :leg2
|
458
|
+
attr_accessor :date
|
459
|
+
|
460
|
+
def initialize(id = nil, password = nil, leg1 = nil, leg2 = nil, date = nil)
|
461
|
+
@id = id
|
462
|
+
@password = password
|
463
|
+
@leg1 = leg1
|
464
|
+
@leg2 = leg2
|
465
|
+
@date = date
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
469
|
+
# {http://pennytel.com}triggerCallbackResponse
|
470
|
+
class TriggerCallbackResponse
|
471
|
+
def initialize
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
475
|
+
# {http://pennytel.com}makePayment
|
476
|
+
# id - SOAP::SOAPString
|
477
|
+
# password - SOAP::SOAPString
|
478
|
+
# amount - SOAP::SOAPFloat
|
479
|
+
class MakePayment
|
480
|
+
attr_accessor :id
|
481
|
+
attr_accessor :password
|
482
|
+
attr_accessor :amount
|
483
|
+
|
484
|
+
def initialize(id = nil, password = nil, amount = nil)
|
485
|
+
@id = id
|
486
|
+
@password = password
|
487
|
+
@amount = amount
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
# {http://pennytel.com}makePaymentResponse
|
492
|
+
# makePaymentReturn - SOAP::SOAPString
|
493
|
+
class MakePaymentResponse
|
494
|
+
attr_accessor :makePaymentReturn
|
495
|
+
|
496
|
+
def initialize(makePaymentReturn = nil)
|
497
|
+
@makePaymentReturn = makePaymentReturn
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# {http://pennytel.com}verifyUsingWirecard
|
502
|
+
# id - SOAP::SOAPString
|
503
|
+
# password - SOAP::SOAPString
|
504
|
+
# cardName - SOAP::SOAPString
|
505
|
+
# creditCardNumber - SOAP::SOAPString
|
506
|
+
# expmonth - SOAP::SOAPString
|
507
|
+
# expyear - SOAP::SOAPString
|
508
|
+
# csc - SOAP::SOAPString
|
509
|
+
# currency - SOAP::SOAPString
|
510
|
+
class VerifyUsingWirecard
|
511
|
+
attr_accessor :id
|
512
|
+
attr_accessor :password
|
513
|
+
attr_accessor :cardName
|
514
|
+
attr_accessor :creditCardNumber
|
515
|
+
attr_accessor :expmonth
|
516
|
+
attr_accessor :expyear
|
517
|
+
attr_accessor :csc
|
518
|
+
attr_accessor :currency
|
519
|
+
|
520
|
+
def initialize(id = nil, password = nil, cardName = nil, creditCardNumber = nil, expmonth = nil, expyear = nil, csc = nil, currency = nil)
|
521
|
+
@id = id
|
522
|
+
@password = password
|
523
|
+
@cardName = cardName
|
524
|
+
@creditCardNumber = creditCardNumber
|
525
|
+
@expmonth = expmonth
|
526
|
+
@expyear = expyear
|
527
|
+
@csc = csc
|
528
|
+
@currency = currency
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
# {http://pennytel.com}verifyUsingWirecardResponse
|
533
|
+
# verifyUsingWirecardReturn - SOAP::SOAPString
|
534
|
+
class VerifyUsingWirecardResponse
|
535
|
+
attr_accessor :verifyUsingWirecardReturn
|
536
|
+
|
537
|
+
def initialize(verifyUsingWirecardReturn = nil)
|
538
|
+
@verifyUsingWirecardReturn = verifyUsingWirecardReturn
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
# {http://pennytel.com}insertOrUpdateWallet
|
543
|
+
# id - SOAP::SOAPString
|
544
|
+
# password - SOAP::SOAPString
|
545
|
+
# cardName - SOAP::SOAPString
|
546
|
+
# creditCardNumber - SOAP::SOAPString
|
547
|
+
# exp - SOAP::SOAPString
|
548
|
+
class InsertOrUpdateWallet
|
549
|
+
attr_accessor :id
|
550
|
+
attr_accessor :password
|
551
|
+
attr_accessor :cardName
|
552
|
+
attr_accessor :creditCardNumber
|
553
|
+
attr_accessor :exp
|
554
|
+
|
555
|
+
def initialize(id = nil, password = nil, cardName = nil, creditCardNumber = nil, exp = nil)
|
556
|
+
@id = id
|
557
|
+
@password = password
|
558
|
+
@cardName = cardName
|
559
|
+
@creditCardNumber = creditCardNumber
|
560
|
+
@exp = exp
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
564
|
+
# {http://pennytel.com}insertOrUpdateWalletResponse
|
565
|
+
# insertOrUpdateWalletReturn - SOAP::SOAPString
|
566
|
+
class InsertOrUpdateWalletResponse
|
567
|
+
attr_accessor :insertOrUpdateWalletReturn
|
568
|
+
|
569
|
+
def initialize(insertOrUpdateWalletReturn = nil)
|
570
|
+
@insertOrUpdateWalletReturn = insertOrUpdateWalletReturn
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
# {http://pennytel.com}multipleSignup
|
575
|
+
# email - SOAP::SOAPString
|
576
|
+
# password - SOAP::SOAPString
|
577
|
+
# location - SOAP::SOAPString
|
578
|
+
# numberOfAccounts - SOAP::SOAPInt
|
579
|
+
class MultipleSignup
|
580
|
+
attr_accessor :email
|
581
|
+
attr_accessor :password
|
582
|
+
attr_accessor :location
|
583
|
+
attr_accessor :numberOfAccounts
|
584
|
+
|
585
|
+
def initialize(email = nil, password = nil, location = nil, numberOfAccounts = nil)
|
586
|
+
@email = email
|
587
|
+
@password = password
|
588
|
+
@location = location
|
589
|
+
@numberOfAccounts = numberOfAccounts
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
593
|
+
# {http://pennytel.com}multipleSignupResponse
|
594
|
+
class MultipleSignupResponse < ::Array
|
595
|
+
end
|
596
|
+
|
597
|
+
# {http://pennytel.com}signup
|
598
|
+
# email - SOAP::SOAPString
|
599
|
+
# password - SOAP::SOAPString
|
600
|
+
# location - SOAP::SOAPString
|
601
|
+
class Signup
|
602
|
+
attr_accessor :email
|
603
|
+
attr_accessor :password
|
604
|
+
attr_accessor :location
|
605
|
+
|
606
|
+
def initialize(email = nil, password = nil, location = nil)
|
607
|
+
@email = email
|
608
|
+
@password = password
|
609
|
+
@location = location
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
# {http://pennytel.com}signupResponse
|
614
|
+
# signupReturn - SOAP::SOAPString
|
615
|
+
class SignupResponse
|
616
|
+
attr_accessor :signupReturn
|
617
|
+
|
618
|
+
def initialize(signupReturn = nil)
|
619
|
+
@signupReturn = signupReturn
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
# {http://pennytel.com}replace
|
624
|
+
# regexPlan - SOAP::SOAPString
|
625
|
+
# number - SOAP::SOAPString
|
626
|
+
class Replace
|
627
|
+
attr_accessor :regexPlan
|
628
|
+
attr_accessor :number
|
629
|
+
|
630
|
+
def initialize(regexPlan = nil, number = nil)
|
631
|
+
@regexPlan = regexPlan
|
632
|
+
@number = number
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
# {http://pennytel.com}replaceResponse
|
637
|
+
# replaceReturn - SOAP::SOAPString
|
638
|
+
class ReplaceResponse
|
639
|
+
attr_accessor :replaceReturn
|
640
|
+
|
641
|
+
def initialize(replaceReturn = nil)
|
642
|
+
@replaceReturn = replaceReturn
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
646
|
+
# {http://pennytel.com}verify
|
647
|
+
# id - SOAP::SOAPString
|
648
|
+
# password - SOAP::SOAPString
|
649
|
+
# amount - SOAP::SOAPFloat
|
650
|
+
class Verify
|
651
|
+
attr_accessor :id
|
652
|
+
attr_accessor :password
|
653
|
+
attr_accessor :amount
|
654
|
+
|
655
|
+
def initialize(id = nil, password = nil, amount = nil)
|
656
|
+
@id = id
|
657
|
+
@password = password
|
658
|
+
@amount = amount
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
662
|
+
# {http://pennytel.com}verifyResponse
|
663
|
+
# verifyReturn - SOAP::SOAPString
|
664
|
+
class VerifyResponse
|
665
|
+
attr_accessor :verifyReturn
|
666
|
+
|
667
|
+
def initialize(verifyReturn = nil)
|
668
|
+
@verifyReturn = verifyReturn
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
# {http://pennytel.com}getProfile
|
673
|
+
# id - SOAP::SOAPString
|
674
|
+
# password - SOAP::SOAPString
|
675
|
+
class GetProfile
|
676
|
+
attr_accessor :id
|
677
|
+
attr_accessor :password
|
678
|
+
|
679
|
+
def initialize(id = nil, password = nil)
|
680
|
+
@id = id
|
681
|
+
@password = password
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
685
|
+
# {http://pennytel.com}getProfileResponse
|
686
|
+
# getProfileReturn - PennyTelContact
|
687
|
+
class GetProfileResponse
|
688
|
+
attr_accessor :getProfileReturn
|
689
|
+
|
690
|
+
def initialize(getProfileReturn = nil)
|
691
|
+
@getProfileReturn = getProfileReturn
|
692
|
+
end
|
693
|
+
end
|
694
|
+
|
695
|
+
# {http://pennytel.com}getVersion
|
696
|
+
class GetVersion
|
697
|
+
def initialize
|
698
|
+
end
|
699
|
+
end
|
700
|
+
|
701
|
+
# {http://pennytel.com}getVersionResponse
|
702
|
+
# getVersionReturn - SOAP::SOAPString
|
703
|
+
class GetVersionResponse
|
704
|
+
attr_accessor :getVersionReturn
|
705
|
+
|
706
|
+
def initialize(getVersionReturn = nil)
|
707
|
+
@getVersionReturn = getVersionReturn
|
708
|
+
end
|
709
|
+
end
|