kaznachey_payments 0.9.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile +9 -0
- data/LICENSE.txt +22 -0
- data/README.md +50 -0
- data/Rakefile +2 -0
- data/doc/HttpHelper.html +221 -0
- data/doc/KaznacheyConfigurations.html +132 -0
- data/doc/KaznacheyPayments.html +117 -0
- data/doc/KaznacheyPaymentsApi.html +294 -0
- data/doc/Md5Helper.html +189 -0
- data/doc/PaySystem.html +430 -0
- data/doc/PaymentDetails.html +900 -0
- data/doc/Product.html +480 -0
- data/doc/ReqCommonObject.html +274 -0
- data/doc/ReqCreatePayment.html +534 -0
- data/doc/ReqGetMerchantInfo.html +202 -0
- data/doc/RespCommonObject.html +274 -0
- data/doc/RespCreatePayment.html +303 -0
- data/doc/RespMerchantInfo.html +387 -0
- data/doc/RespPaymentStatus.html +689 -0
- data/doc/_index.html +212 -0
- data/doc/class_list.html +58 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +110 -0
- data/doc/file_list.html +60 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +126 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +181 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +333 -0
- data/doc/top-level-namespace.html +114 -0
- data/lib/ApiObjects/Requests/payment_details.rb +34 -0
- data/lib/ApiObjects/Requests/product.rb +16 -0
- data/lib/ApiObjects/Requests/req_common_object.rb +6 -0
- data/lib/ApiObjects/Requests/req_create_payment.rb +42 -0
- data/lib/ApiObjects/Requests/req_get_merchant_info.rb +11 -0
- data/lib/ApiObjects/Responses/pay_system.rb +19 -0
- data/lib/ApiObjects/Responses/resp_common_object.rb +6 -0
- data/lib/ApiObjects/Responses/resp_create_payment.rb +15 -0
- data/lib/ApiObjects/Responses/resp_merchant_info.rb +26 -0
- data/lib/ApiObjects/Responses/resp_payment_status.rb +43 -0
- data/lib/ApiObjects/kaznachey_configurations.rb +9 -0
- data/lib/Helpers/http_helper.rb +26 -0
- data/lib/Helpers/md5_helper.rb +7 -0
- data/lib/kaznachey_payments/version.rb +3 -0
- data/lib/kaznachey_payments_api.rb +32 -0
- data/test/test_get_merchant_info.rb +55 -0
- metadata +95 -0
data/doc/Product.html
ADDED
@@ -0,0 +1,480 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Class: Product
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '';
|
20
|
+
framesUrl = "frames.html#!Product.html";
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="_index.html">Index (P)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">Product</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Class: Product
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
<dt class="r1">Inherits:</dt>
|
75
|
+
<dd class="r1">
|
76
|
+
<span class="inheritName">Object</span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next">Product</li>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
85
|
+
|
86
|
+
</dd>
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
<dt class="r2 last">Defined in:</dt>
|
97
|
+
<dd class="r2 last">lib/ApiObjects/Requests/product.rb</dd>
|
98
|
+
|
99
|
+
</dl>
|
100
|
+
<div class="clear"></div>
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
107
|
+
<ul class="summary">
|
108
|
+
|
109
|
+
<li class="public ">
|
110
|
+
<span class="summary_signature">
|
111
|
+
|
112
|
+
<a href="#ProductId-instance_method" title="#ProductId (instance method)">- (Object) <strong>ProductId</strong> </a>
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
</span>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<span class="summary_desc"><div class='inline'>
|
130
|
+
<p>Id or code in merchant's system.</p>
|
131
|
+
</div></span>
|
132
|
+
|
133
|
+
</li>
|
134
|
+
|
135
|
+
|
136
|
+
<li class="public ">
|
137
|
+
<span class="summary_signature">
|
138
|
+
|
139
|
+
<a href="#ProductImageUrl-instance_method" title="#ProductImageUrl (instance method)">- (Object) <strong>ProductImageUrl</strong> </a>
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
</span>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<span class="summary_desc"><div class='inline'>
|
157
|
+
<p>Image url.</p>
|
158
|
+
</div></span>
|
159
|
+
|
160
|
+
</li>
|
161
|
+
|
162
|
+
|
163
|
+
<li class="public ">
|
164
|
+
<span class="summary_signature">
|
165
|
+
|
166
|
+
<a href="#ProductItemsNum-instance_method" title="#ProductItemsNum (instance method)">- (Object) <strong>ProductItemsNum</strong> </a>
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
</span>
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
<span class="summary_desc"><div class='inline'>
|
184
|
+
<p>Quantity.</p>
|
185
|
+
</div></span>
|
186
|
+
|
187
|
+
</li>
|
188
|
+
|
189
|
+
|
190
|
+
<li class="public ">
|
191
|
+
<span class="summary_signature">
|
192
|
+
|
193
|
+
<a href="#ProductName-instance_method" title="#ProductName (instance method)">- (Object) <strong>ProductName</strong> </a>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
</span>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
<span class="summary_desc"><div class='inline'>
|
211
|
+
<p>Name.</p>
|
212
|
+
</div></span>
|
213
|
+
|
214
|
+
</li>
|
215
|
+
|
216
|
+
|
217
|
+
<li class="public ">
|
218
|
+
<span class="summary_signature">
|
219
|
+
|
220
|
+
<a href="#ProductPrice-instance_method" title="#ProductPrice (instance method)">- (Object) <strong>ProductPrice</strong> </a>
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
</span>
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
<span class="summary_desc"><div class='inline'>
|
238
|
+
<p>Price.</p>
|
239
|
+
</div></span>
|
240
|
+
|
241
|
+
</li>
|
242
|
+
|
243
|
+
|
244
|
+
</ul>
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
<div id="instance_attr_details" class="attr_details">
|
251
|
+
<h2>Instance Attribute Details</h2>
|
252
|
+
|
253
|
+
|
254
|
+
<span id="ProductId=-instance_method"></span>
|
255
|
+
<div class="method_details first">
|
256
|
+
<h3 class="signature first" id="ProductId-instance_method">
|
257
|
+
|
258
|
+
- (<tt>Object</tt>) <strong>ProductId</strong>
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
</h3><div class="docstring">
|
265
|
+
<div class="discussion">
|
266
|
+
|
267
|
+
<p>Id or code in merchant's system</p>
|
268
|
+
|
269
|
+
|
270
|
+
</div>
|
271
|
+
</div>
|
272
|
+
<div class="tags">
|
273
|
+
|
274
|
+
|
275
|
+
</div><table class="source_code">
|
276
|
+
<tr>
|
277
|
+
<td>
|
278
|
+
<pre class="lines">
|
279
|
+
|
280
|
+
|
281
|
+
12
|
282
|
+
13
|
283
|
+
14</pre>
|
284
|
+
</td>
|
285
|
+
<td>
|
286
|
+
<pre class="code"><span class="info file"># File 'lib/ApiObjects/Requests/product.rb', line 12</span>
|
287
|
+
|
288
|
+
<span class='kw'>def</span> <span class='const'>ProductId</span>
|
289
|
+
<span class='ivar'>@ProductId</span>
|
290
|
+
<span class='kw'>end</span></pre>
|
291
|
+
</td>
|
292
|
+
</tr>
|
293
|
+
</table>
|
294
|
+
</div>
|
295
|
+
|
296
|
+
|
297
|
+
<span id="ProductImageUrl=-instance_method"></span>
|
298
|
+
<div class="method_details ">
|
299
|
+
<h3 class="signature " id="ProductImageUrl-instance_method">
|
300
|
+
|
301
|
+
- (<tt>Object</tt>) <strong>ProductImageUrl</strong>
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
</h3><div class="docstring">
|
308
|
+
<div class="discussion">
|
309
|
+
|
310
|
+
<p>Image url</p>
|
311
|
+
|
312
|
+
|
313
|
+
</div>
|
314
|
+
</div>
|
315
|
+
<div class="tags">
|
316
|
+
|
317
|
+
|
318
|
+
</div><table class="source_code">
|
319
|
+
<tr>
|
320
|
+
<td>
|
321
|
+
<pre class="lines">
|
322
|
+
|
323
|
+
|
324
|
+
15
|
325
|
+
16
|
326
|
+
17</pre>
|
327
|
+
</td>
|
328
|
+
<td>
|
329
|
+
<pre class="code"><span class="info file"># File 'lib/ApiObjects/Requests/product.rb', line 15</span>
|
330
|
+
|
331
|
+
<span class='kw'>def</span> <span class='const'>ProductImageUrl</span>
|
332
|
+
<span class='ivar'>@ProductImageUrl</span>
|
333
|
+
<span class='kw'>end</span></pre>
|
334
|
+
</td>
|
335
|
+
</tr>
|
336
|
+
</table>
|
337
|
+
</div>
|
338
|
+
|
339
|
+
|
340
|
+
<span id="ProductItemsNum=-instance_method"></span>
|
341
|
+
<div class="method_details ">
|
342
|
+
<h3 class="signature " id="ProductItemsNum-instance_method">
|
343
|
+
|
344
|
+
- (<tt>Object</tt>) <strong>ProductItemsNum</strong>
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
</h3><div class="docstring">
|
351
|
+
<div class="discussion">
|
352
|
+
|
353
|
+
<p>Quantity</p>
|
354
|
+
|
355
|
+
|
356
|
+
</div>
|
357
|
+
</div>
|
358
|
+
<div class="tags">
|
359
|
+
|
360
|
+
|
361
|
+
</div><table class="source_code">
|
362
|
+
<tr>
|
363
|
+
<td>
|
364
|
+
<pre class="lines">
|
365
|
+
|
366
|
+
|
367
|
+
3
|
368
|
+
4
|
369
|
+
5</pre>
|
370
|
+
</td>
|
371
|
+
<td>
|
372
|
+
<pre class="code"><span class="info file"># File 'lib/ApiObjects/Requests/product.rb', line 3</span>
|
373
|
+
|
374
|
+
<span class='kw'>def</span> <span class='const'>ProductItemsNum</span>
|
375
|
+
<span class='ivar'>@ProductItemsNum</span>
|
376
|
+
<span class='kw'>end</span></pre>
|
377
|
+
</td>
|
378
|
+
</tr>
|
379
|
+
</table>
|
380
|
+
</div>
|
381
|
+
|
382
|
+
|
383
|
+
<span id="ProductName=-instance_method"></span>
|
384
|
+
<div class="method_details ">
|
385
|
+
<h3 class="signature " id="ProductName-instance_method">
|
386
|
+
|
387
|
+
- (<tt>Object</tt>) <strong>ProductName</strong>
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
</h3><div class="docstring">
|
394
|
+
<div class="discussion">
|
395
|
+
|
396
|
+
<p>Name</p>
|
397
|
+
|
398
|
+
|
399
|
+
</div>
|
400
|
+
</div>
|
401
|
+
<div class="tags">
|
402
|
+
|
403
|
+
|
404
|
+
</div><table class="source_code">
|
405
|
+
<tr>
|
406
|
+
<td>
|
407
|
+
<pre class="lines">
|
408
|
+
|
409
|
+
|
410
|
+
6
|
411
|
+
7
|
412
|
+
8</pre>
|
413
|
+
</td>
|
414
|
+
<td>
|
415
|
+
<pre class="code"><span class="info file"># File 'lib/ApiObjects/Requests/product.rb', line 6</span>
|
416
|
+
|
417
|
+
<span class='kw'>def</span> <span class='const'>ProductName</span>
|
418
|
+
<span class='ivar'>@ProductName</span>
|
419
|
+
<span class='kw'>end</span></pre>
|
420
|
+
</td>
|
421
|
+
</tr>
|
422
|
+
</table>
|
423
|
+
</div>
|
424
|
+
|
425
|
+
|
426
|
+
<span id="ProductPrice=-instance_method"></span>
|
427
|
+
<div class="method_details ">
|
428
|
+
<h3 class="signature " id="ProductPrice-instance_method">
|
429
|
+
|
430
|
+
- (<tt>Object</tt>) <strong>ProductPrice</strong>
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
</h3><div class="docstring">
|
437
|
+
<div class="discussion">
|
438
|
+
|
439
|
+
<p>Price</p>
|
440
|
+
|
441
|
+
|
442
|
+
</div>
|
443
|
+
</div>
|
444
|
+
<div class="tags">
|
445
|
+
|
446
|
+
|
447
|
+
</div><table class="source_code">
|
448
|
+
<tr>
|
449
|
+
<td>
|
450
|
+
<pre class="lines">
|
451
|
+
|
452
|
+
|
453
|
+
9
|
454
|
+
10
|
455
|
+
11</pre>
|
456
|
+
</td>
|
457
|
+
<td>
|
458
|
+
<pre class="code"><span class="info file"># File 'lib/ApiObjects/Requests/product.rb', line 9</span>
|
459
|
+
|
460
|
+
<span class='kw'>def</span> <span class='const'>ProductPrice</span>
|
461
|
+
<span class='ivar'>@ProductPrice</span>
|
462
|
+
<span class='kw'>end</span></pre>
|
463
|
+
</td>
|
464
|
+
</tr>
|
465
|
+
</table>
|
466
|
+
</div>
|
467
|
+
|
468
|
+
</div>
|
469
|
+
|
470
|
+
|
471
|
+
</div>
|
472
|
+
|
473
|
+
<div id="footer">
|
474
|
+
Generated on Wed Dec 3 14:19:56 2014 by
|
475
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
476
|
+
0.8.7.6 (ruby-1.9.3).
|
477
|
+
</div>
|
478
|
+
|
479
|
+
</body>
|
480
|
+
</html>
|