openpayu 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/.gitignore +18 -0
- data/.rspec +3 -0
- data/.rubocop.yml +45 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +10 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +193 -0
- data/Rakefile +1 -0
- data/doc/EmptyResponseError.html +123 -0
- data/doc/HttpStatusException.html +123 -0
- data/doc/NotImplementedException.html +123 -0
- data/doc/OpenPayU.html +436 -0
- data/doc/OpenPayU/Configuration.html +1530 -0
- data/doc/OpenPayU/Connection.html +381 -0
- data/doc/OpenPayU/Document.html +705 -0
- data/doc/OpenPayU/Documents.html +117 -0
- data/doc/OpenPayU/Documents/Request.html +503 -0
- data/doc/OpenPayU/Documents/Response.html +783 -0
- data/doc/OpenPayU/Models.html +117 -0
- data/doc/OpenPayU/Models/Address.html +861 -0
- data/doc/OpenPayU/Models/Buyer.html +587 -0
- data/doc/OpenPayU/Models/Buyer/Delivery.html +312 -0
- data/doc/OpenPayU/Models/Card.html +507 -0
- data/doc/OpenPayU/Models/Fee.html +367 -0
- data/doc/OpenPayU/Models/Model.html +1208 -0
- data/doc/OpenPayU/Models/NotifyResponse.html +297 -0
- data/doc/OpenPayU/Models/Order.html +1155 -0
- data/doc/OpenPayU/Models/PayMethod.html +507 -0
- data/doc/OpenPayU/Models/Product.html +787 -0
- data/doc/OpenPayU/Models/Refund.html +1020 -0
- data/doc/OpenPayU/Models/ShippingMethod.html +367 -0
- data/doc/OpenPayU/Models/StatusUpdate.html +647 -0
- data/doc/OpenPayU/Models/Token.html +507 -0
- data/doc/OpenPayU/Order.html +924 -0
- data/doc/OpenPayU/Refund.html +269 -0
- data/doc/OpenPayU/Token.html +288 -0
- data/doc/OpenPayU/XmlBuilder.html +277 -0
- data/doc/WrongConfigurationError.html +123 -0
- data/doc/WrongNotifyRequest.html +123 -0
- data/doc/WrongOrderParameters.html +267 -0
- data/doc/WrongSignatureException.html +123 -0
- data/doc/_index.html +446 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.README.html +281 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +281 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +1007 -0
- data/doc/top-level-namespace.html +114 -0
- data/lib/openpayu.rb +66 -0
- data/lib/openpayu/configuration.rb +62 -0
- data/lib/openpayu/connection.rb +65 -0
- data/lib/openpayu/document.rb +105 -0
- data/lib/openpayu/documents/request.rb +34 -0
- data/lib/openpayu/documents/response.rb +48 -0
- data/lib/openpayu/exceptions.rb +19 -0
- data/lib/openpayu/models/address.rb +12 -0
- data/lib/openpayu/models/buyer.rb +11 -0
- data/lib/openpayu/models/buyer/delivery.rb +7 -0
- data/lib/openpayu/models/buyer/invoice.rb +8 -0
- data/lib/openpayu/models/card.rb +10 -0
- data/lib/openpayu/models/fee.rb +9 -0
- data/lib/openpayu/models/model.rb +151 -0
- data/lib/openpayu/models/notify_response.rb +9 -0
- data/lib/openpayu/models/order.rb +28 -0
- data/lib/openpayu/models/pay_method.rb +10 -0
- data/lib/openpayu/models/product.rb +10 -0
- data/lib/openpayu/models/refund.rb +41 -0
- data/lib/openpayu/models/shipping_method.rb +9 -0
- data/lib/openpayu/models/status_update.rb +14 -0
- data/lib/openpayu/models/token.rb +10 -0
- data/lib/openpayu/order.rb +119 -0
- data/lib/openpayu/refund.rb +26 -0
- data/lib/openpayu/token.rb +27 -0
- data/lib/openpayu/version.rb +4 -0
- data/lib/openpayu/xml_builder.rb +23 -0
- data/lib/openpayu_ruby.rb +2 -0
- data/openpayu_ruby.gemspec +40 -0
- data/spec/cassettes/cancel_order.yml +50 -0
- data/spec/cassettes/create_order.yml +51 -0
- data/spec/cassettes/refund_order.yml +100 -0
- data/spec/cassettes/retrieve_order.yml +51 -0
- data/spec/cassettes/update_order.yml +50 -0
- data/spec/integration/order_spec.rb +103 -0
- data/spec/openpayu.yml +11 -0
- data/spec/spec_helper.rb +27 -0
- data/spec/test_objects/order.rb +97 -0
- data/spec/unit/configuration_spec.rb +71 -0
- data/spec/unit/document_spec.rb +18 -0
- data/spec/unit/models/order_spec.rb +82 -0
- data/spec/unit/models/refund_spec.rb +24 -0
- data/spec/unit/openpayu_spec.rb +27 -0
- metadata +327 -0
@@ -0,0 +1,367 @@
|
|
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: OpenPayU::Models::ShippingMethod
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.2
|
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#!" + escape(window.location.href);
|
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 (S)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../OpenPayU.html" title="OpenPayU (module)">OpenPayU</a></span></span> » <span class='title'><span class='object_link'><a href="../Models.html" title="OpenPayU::Models (module)">Models</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">ShippingMethod</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: OpenPayU::Models::ShippingMethod
|
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"><span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></li>
|
82
|
+
|
83
|
+
<li class="next">OpenPayU::Models::ShippingMethod</li>
|
84
|
+
|
85
|
+
</ul>
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
87
|
+
|
88
|
+
</dd>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
99
|
+
<dd class="r2 last">lib/openpayu/models/shipping_method.rb</dd>
|
100
|
+
|
101
|
+
</dl>
|
102
|
+
<div class="clear"></div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
109
|
+
<ul class="summary">
|
110
|
+
|
111
|
+
<li class="public ">
|
112
|
+
<span class="summary_signature">
|
113
|
+
|
114
|
+
<a href="#country-instance_method" title="#country (instance method)">- (Object) <strong>country</strong> </a>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
</span>
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<span class="summary_desc"><div class='inline'>
|
132
|
+
<p>Returns the value of attribute country.</p>
|
133
|
+
</div></span>
|
134
|
+
|
135
|
+
</li>
|
136
|
+
|
137
|
+
|
138
|
+
<li class="public ">
|
139
|
+
<span class="summary_signature">
|
140
|
+
|
141
|
+
<a href="#nazwa-instance_method" title="#nazwa (instance method)">- (Object) <strong>nazwa</strong> </a>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
</span>
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<span class="summary_desc"><div class='inline'>
|
159
|
+
<p>Returns the value of attribute nazwa.</p>
|
160
|
+
</div></span>
|
161
|
+
|
162
|
+
</li>
|
163
|
+
|
164
|
+
|
165
|
+
<li class="public ">
|
166
|
+
<span class="summary_signature">
|
167
|
+
|
168
|
+
<a href="#price-instance_method" title="#price (instance method)">- (Object) <strong>price</strong> </a>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
</span>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<span class="summary_desc"><div class='inline'>
|
186
|
+
<p>Returns the value of attribute price.</p>
|
187
|
+
</div></span>
|
188
|
+
|
189
|
+
</li>
|
190
|
+
|
191
|
+
|
192
|
+
</ul>
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
|
199
|
+
<p class="inherited"><span class='object_link'><a href="Model.html#all_errors-instance_method" title="OpenPayU::Models::Model#all_errors (method)">#all_errors</a></span></p>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
<h2>Method Summary</h2>
|
210
|
+
|
211
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
|
212
|
+
<p class="inherited"><span class='object_link'><a href="Model.html#after_initialize-instance_method" title="OpenPayU::Models::Model#after_initialize (method)">#after_initialize</a></span>, <span class='object_link'><a href="Model.html#all_objects_valid%3F-instance_method" title="OpenPayU::Models::Model#all_objects_valid? (method)">#all_objects_valid?</a></span>, <span class='object_link'><a href="Model.html#attributes-instance_method" title="OpenPayU::Models::Model#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="Model.html#define_reader-class_method" title="OpenPayU::Models::Model.define_reader (method)">define_reader</a></span>, <span class='object_link'><a href="Model.html#define_writer-class_method" title="OpenPayU::Models::Model.define_writer (method)">define_writer</a></span>, <span class='object_link'><a href="Model.html#generate_xml-instance_method" title="OpenPayU::Models::Model#generate_xml (method)">#generate_xml</a></span>, <span class='object_link'><a href="Model.html#get_instance_values-instance_method" title="OpenPayU::Models::Model#get_instance_values (method)">#get_instance_values</a></span>, <span class='object_link'><a href="Model.html#has_many_objects-class_method" title="OpenPayU::Models::Model.has_many_objects (method)">has_many_objects</a></span>, <span class='object_link'><a href="Model.html#has_one_object-class_method" title="OpenPayU::Models::Model.has_one_object (method)">has_one_object</a></span>, <span class='object_link'><a href="Model.html#initialize-instance_method" title="OpenPayU::Models::Model#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Model.html#prepare_data-instance_method" title="OpenPayU::Models::Model#prepare_data (method)">#prepare_data</a></span>, <span class='object_link'><a href="Model.html#prepare_keys-instance_method" title="OpenPayU::Models::Model#prepare_keys (method)">#prepare_keys</a></span>, <span class='object_link'><a href="Model.html#to_flatten_hash-instance_method" title="OpenPayU::Models::Model#to_flatten_hash (method)">#to_flatten_hash</a></span>, <span class='object_link'><a href="Model.html#to_json-instance_method" title="OpenPayU::Models::Model#to_json (method)">#to_json</a></span>, <span class='object_link'><a href="Model.html#validate_all_objects-instance_method" title="OpenPayU::Models::Model#validate_all_objects (method)">#validate_all_objects</a></span></p>
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
<div id="constructor_details" class="method_details_list">
|
217
|
+
<h2>Constructor Details</h2>
|
218
|
+
|
219
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="Model.html#initialize-instance_method" title="OpenPayU::Models::Model#initialize (method)">OpenPayU::Models::Model</a></span></p>
|
220
|
+
|
221
|
+
</div>
|
222
|
+
|
223
|
+
<div id="instance_attr_details" class="attr_details">
|
224
|
+
<h2>Instance Attribute Details</h2>
|
225
|
+
|
226
|
+
|
227
|
+
<span id="country=-instance_method"></span>
|
228
|
+
<div class="method_details first">
|
229
|
+
<h3 class="signature first" id="country-instance_method">
|
230
|
+
|
231
|
+
- (<tt>Object</tt>) <strong>country</strong>
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
</h3><div class="docstring">
|
238
|
+
<div class="discussion">
|
239
|
+
|
240
|
+
<p>Returns the value of attribute country</p>
|
241
|
+
|
242
|
+
|
243
|
+
</div>
|
244
|
+
</div>
|
245
|
+
<div class="tags">
|
246
|
+
|
247
|
+
|
248
|
+
</div><table class="source_code">
|
249
|
+
<tr>
|
250
|
+
<td>
|
251
|
+
<pre class="lines">
|
252
|
+
|
253
|
+
|
254
|
+
5
|
255
|
+
6
|
256
|
+
7</pre>
|
257
|
+
</td>
|
258
|
+
<td>
|
259
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/shipping_method.rb', line 5</span>
|
260
|
+
|
261
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_country'>country</span>
|
262
|
+
<span class='ivar'>@country</span>
|
263
|
+
<span class='kw'>end</span></pre>
|
264
|
+
</td>
|
265
|
+
</tr>
|
266
|
+
</table>
|
267
|
+
</div>
|
268
|
+
|
269
|
+
|
270
|
+
<span id="nazwa=-instance_method"></span>
|
271
|
+
<div class="method_details ">
|
272
|
+
<h3 class="signature " id="nazwa-instance_method">
|
273
|
+
|
274
|
+
- (<tt>Object</tt>) <strong>nazwa</strong>
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
</h3><div class="docstring">
|
281
|
+
<div class="discussion">
|
282
|
+
|
283
|
+
<p>Returns the value of attribute nazwa</p>
|
284
|
+
|
285
|
+
|
286
|
+
</div>
|
287
|
+
</div>
|
288
|
+
<div class="tags">
|
289
|
+
|
290
|
+
|
291
|
+
</div><table class="source_code">
|
292
|
+
<tr>
|
293
|
+
<td>
|
294
|
+
<pre class="lines">
|
295
|
+
|
296
|
+
|
297
|
+
5
|
298
|
+
6
|
299
|
+
7</pre>
|
300
|
+
</td>
|
301
|
+
<td>
|
302
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/shipping_method.rb', line 5</span>
|
303
|
+
|
304
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_nazwa'>nazwa</span>
|
305
|
+
<span class='ivar'>@nazwa</span>
|
306
|
+
<span class='kw'>end</span></pre>
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
</table>
|
310
|
+
</div>
|
311
|
+
|
312
|
+
|
313
|
+
<span id="price=-instance_method"></span>
|
314
|
+
<div class="method_details ">
|
315
|
+
<h3 class="signature " id="price-instance_method">
|
316
|
+
|
317
|
+
- (<tt>Object</tt>) <strong>price</strong>
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
</h3><div class="docstring">
|
324
|
+
<div class="discussion">
|
325
|
+
|
326
|
+
<p>Returns the value of attribute price</p>
|
327
|
+
|
328
|
+
|
329
|
+
</div>
|
330
|
+
</div>
|
331
|
+
<div class="tags">
|
332
|
+
|
333
|
+
|
334
|
+
</div><table class="source_code">
|
335
|
+
<tr>
|
336
|
+
<td>
|
337
|
+
<pre class="lines">
|
338
|
+
|
339
|
+
|
340
|
+
5
|
341
|
+
6
|
342
|
+
7</pre>
|
343
|
+
</td>
|
344
|
+
<td>
|
345
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/shipping_method.rb', line 5</span>
|
346
|
+
|
347
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_price'>price</span>
|
348
|
+
<span class='ivar'>@price</span>
|
349
|
+
<span class='kw'>end</span></pre>
|
350
|
+
</td>
|
351
|
+
</tr>
|
352
|
+
</table>
|
353
|
+
</div>
|
354
|
+
|
355
|
+
</div>
|
356
|
+
|
357
|
+
|
358
|
+
</div>
|
359
|
+
|
360
|
+
<div id="footer">
|
361
|
+
Generated on Tue Dec 17 15:21:02 2013 by
|
362
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
363
|
+
0.8.7.2 (ruby-1.9.3).
|
364
|
+
</div>
|
365
|
+
|
366
|
+
</body>
|
367
|
+
</html>
|
@@ -0,0 +1,647 @@
|
|
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: OpenPayU::Models::StatusUpdate
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.2
|
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#!" + escape(window.location.href);
|
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 (S)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../OpenPayU.html" title="OpenPayU (module)">OpenPayU</a></span></span> » <span class='title'><span class='object_link'><a href="../Models.html" title="OpenPayU::Models (module)">Models</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">StatusUpdate</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: OpenPayU::Models::StatusUpdate
|
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"><span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></li>
|
82
|
+
|
83
|
+
<li class="next">OpenPayU::Models::StatusUpdate</li>
|
84
|
+
|
85
|
+
</ul>
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
87
|
+
|
88
|
+
</dd>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
99
|
+
<dd class="r2 last">lib/openpayu/models/status_update.rb</dd>
|
100
|
+
|
101
|
+
</dl>
|
102
|
+
<div class="clear"></div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
109
|
+
<ul class="summary">
|
110
|
+
|
111
|
+
<li class="public ">
|
112
|
+
<span class="summary_signature">
|
113
|
+
|
114
|
+
<a href="#custom_status-instance_method" title="#custom_status (instance method)">- (Object) <strong>custom_status</strong> </a>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
</span>
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<span class="summary_desc"><div class='inline'>
|
132
|
+
<p>Returns the value of attribute custom_status.</p>
|
133
|
+
</div></span>
|
134
|
+
|
135
|
+
</li>
|
136
|
+
|
137
|
+
|
138
|
+
<li class="public ">
|
139
|
+
<span class="summary_signature">
|
140
|
+
|
141
|
+
<a href="#customer_email-instance_method" title="#customer_email (instance method)">- (Object) <strong>customer_email</strong> </a>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
</span>
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<span class="summary_desc"><div class='inline'>
|
159
|
+
<p>Returns the value of attribute customer_email.</p>
|
160
|
+
</div></span>
|
161
|
+
|
162
|
+
</li>
|
163
|
+
|
164
|
+
|
165
|
+
<li class="public ">
|
166
|
+
<span class="summary_signature">
|
167
|
+
|
168
|
+
<a href="#customer_id-instance_method" title="#customer_id (instance method)">- (Object) <strong>customer_id</strong> </a>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
</span>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<span class="summary_desc"><div class='inline'>
|
186
|
+
<p>Returns the value of attribute customer_id.</p>
|
187
|
+
</div></span>
|
188
|
+
|
189
|
+
</li>
|
190
|
+
|
191
|
+
|
192
|
+
<li class="public ">
|
193
|
+
<span class="summary_signature">
|
194
|
+
|
195
|
+
<a href="#order_creation_date-instance_method" title="#order_creation_date (instance method)">- (Object) <strong>order_creation_date</strong> </a>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
</span>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
<span class="summary_desc"><div class='inline'>
|
213
|
+
<p>Returns the value of attribute order_creation_date.</p>
|
214
|
+
</div></span>
|
215
|
+
|
216
|
+
</li>
|
217
|
+
|
218
|
+
|
219
|
+
<li class="public ">
|
220
|
+
<span class="summary_signature">
|
221
|
+
|
222
|
+
<a href="#order_id-instance_method" title="#order_id (instance method)">- (Object) <strong>order_id</strong> </a>
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
</span>
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
240
|
+
<p>Returns the value of attribute order_id.</p>
|
241
|
+
</div></span>
|
242
|
+
|
243
|
+
</li>
|
244
|
+
|
245
|
+
|
246
|
+
<li class="public ">
|
247
|
+
<span class="summary_signature">
|
248
|
+
|
249
|
+
<a href="#order_status-instance_method" title="#order_status (instance method)">- (Object) <strong>order_status</strong> </a>
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
</span>
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
<span class="summary_desc"><div class='inline'>
|
267
|
+
<p>Returns the value of attribute order_status.</p>
|
268
|
+
</div></span>
|
269
|
+
|
270
|
+
</li>
|
271
|
+
|
272
|
+
|
273
|
+
<li class="public ">
|
274
|
+
<span class="summary_signature">
|
275
|
+
|
276
|
+
<a href="#reason-instance_method" title="#reason (instance method)">- (Object) <strong>reason</strong> </a>
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
</span>
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
<span class="summary_desc"><div class='inline'>
|
294
|
+
<p>Returns the value of attribute reason.</p>
|
295
|
+
</div></span>
|
296
|
+
|
297
|
+
</li>
|
298
|
+
|
299
|
+
|
300
|
+
</ul>
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
|
307
|
+
<p class="inherited"><span class='object_link'><a href="Model.html#all_errors-instance_method" title="OpenPayU::Models::Model#all_errors (method)">#all_errors</a></span></p>
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
<h2>Method Summary</h2>
|
318
|
+
|
319
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
|
320
|
+
<p class="inherited"><span class='object_link'><a href="Model.html#after_initialize-instance_method" title="OpenPayU::Models::Model#after_initialize (method)">#after_initialize</a></span>, <span class='object_link'><a href="Model.html#all_objects_valid%3F-instance_method" title="OpenPayU::Models::Model#all_objects_valid? (method)">#all_objects_valid?</a></span>, <span class='object_link'><a href="Model.html#attributes-instance_method" title="OpenPayU::Models::Model#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="Model.html#define_reader-class_method" title="OpenPayU::Models::Model.define_reader (method)">define_reader</a></span>, <span class='object_link'><a href="Model.html#define_writer-class_method" title="OpenPayU::Models::Model.define_writer (method)">define_writer</a></span>, <span class='object_link'><a href="Model.html#generate_xml-instance_method" title="OpenPayU::Models::Model#generate_xml (method)">#generate_xml</a></span>, <span class='object_link'><a href="Model.html#get_instance_values-instance_method" title="OpenPayU::Models::Model#get_instance_values (method)">#get_instance_values</a></span>, <span class='object_link'><a href="Model.html#has_many_objects-class_method" title="OpenPayU::Models::Model.has_many_objects (method)">has_many_objects</a></span>, <span class='object_link'><a href="Model.html#has_one_object-class_method" title="OpenPayU::Models::Model.has_one_object (method)">has_one_object</a></span>, <span class='object_link'><a href="Model.html#initialize-instance_method" title="OpenPayU::Models::Model#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Model.html#prepare_data-instance_method" title="OpenPayU::Models::Model#prepare_data (method)">#prepare_data</a></span>, <span class='object_link'><a href="Model.html#prepare_keys-instance_method" title="OpenPayU::Models::Model#prepare_keys (method)">#prepare_keys</a></span>, <span class='object_link'><a href="Model.html#to_flatten_hash-instance_method" title="OpenPayU::Models::Model#to_flatten_hash (method)">#to_flatten_hash</a></span>, <span class='object_link'><a href="Model.html#to_json-instance_method" title="OpenPayU::Models::Model#to_json (method)">#to_json</a></span>, <span class='object_link'><a href="Model.html#validate_all_objects-instance_method" title="OpenPayU::Models::Model#validate_all_objects (method)">#validate_all_objects</a></span></p>
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
<div id="constructor_details" class="method_details_list">
|
325
|
+
<h2>Constructor Details</h2>
|
326
|
+
|
327
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="Model.html#initialize-instance_method" title="OpenPayU::Models::Model#initialize (method)">OpenPayU::Models::Model</a></span></p>
|
328
|
+
|
329
|
+
</div>
|
330
|
+
|
331
|
+
<div id="instance_attr_details" class="attr_details">
|
332
|
+
<h2>Instance Attribute Details</h2>
|
333
|
+
|
334
|
+
|
335
|
+
<span id="custom_status=-instance_method"></span>
|
336
|
+
<div class="method_details first">
|
337
|
+
<h3 class="signature first" id="custom_status-instance_method">
|
338
|
+
|
339
|
+
- (<tt>Object</tt>) <strong>custom_status</strong>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
</h3><div class="docstring">
|
346
|
+
<div class="discussion">
|
347
|
+
|
348
|
+
<p>Returns the value of attribute custom_status</p>
|
349
|
+
|
350
|
+
|
351
|
+
</div>
|
352
|
+
</div>
|
353
|
+
<div class="tags">
|
354
|
+
|
355
|
+
|
356
|
+
</div><table class="source_code">
|
357
|
+
<tr>
|
358
|
+
<td>
|
359
|
+
<pre class="lines">
|
360
|
+
|
361
|
+
|
362
|
+
5
|
363
|
+
6
|
364
|
+
7</pre>
|
365
|
+
</td>
|
366
|
+
<td>
|
367
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/status_update.rb', line 5</span>
|
368
|
+
|
369
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_custom_status'>custom_status</span>
|
370
|
+
<span class='ivar'>@custom_status</span>
|
371
|
+
<span class='kw'>end</span></pre>
|
372
|
+
</td>
|
373
|
+
</tr>
|
374
|
+
</table>
|
375
|
+
</div>
|
376
|
+
|
377
|
+
|
378
|
+
<span id="customer_email=-instance_method"></span>
|
379
|
+
<div class="method_details ">
|
380
|
+
<h3 class="signature " id="customer_email-instance_method">
|
381
|
+
|
382
|
+
- (<tt>Object</tt>) <strong>customer_email</strong>
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
</h3><div class="docstring">
|
389
|
+
<div class="discussion">
|
390
|
+
|
391
|
+
<p>Returns the value of attribute customer_email</p>
|
392
|
+
|
393
|
+
|
394
|
+
</div>
|
395
|
+
</div>
|
396
|
+
<div class="tags">
|
397
|
+
|
398
|
+
|
399
|
+
</div><table class="source_code">
|
400
|
+
<tr>
|
401
|
+
<td>
|
402
|
+
<pre class="lines">
|
403
|
+
|
404
|
+
|
405
|
+
5
|
406
|
+
6
|
407
|
+
7</pre>
|
408
|
+
</td>
|
409
|
+
<td>
|
410
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/status_update.rb', line 5</span>
|
411
|
+
|
412
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_customer_email'>customer_email</span>
|
413
|
+
<span class='ivar'>@customer_email</span>
|
414
|
+
<span class='kw'>end</span></pre>
|
415
|
+
</td>
|
416
|
+
</tr>
|
417
|
+
</table>
|
418
|
+
</div>
|
419
|
+
|
420
|
+
|
421
|
+
<span id="customer_id=-instance_method"></span>
|
422
|
+
<div class="method_details ">
|
423
|
+
<h3 class="signature " id="customer_id-instance_method">
|
424
|
+
|
425
|
+
- (<tt>Object</tt>) <strong>customer_id</strong>
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
</h3><div class="docstring">
|
432
|
+
<div class="discussion">
|
433
|
+
|
434
|
+
<p>Returns the value of attribute customer_id</p>
|
435
|
+
|
436
|
+
|
437
|
+
</div>
|
438
|
+
</div>
|
439
|
+
<div class="tags">
|
440
|
+
|
441
|
+
|
442
|
+
</div><table class="source_code">
|
443
|
+
<tr>
|
444
|
+
<td>
|
445
|
+
<pre class="lines">
|
446
|
+
|
447
|
+
|
448
|
+
5
|
449
|
+
6
|
450
|
+
7</pre>
|
451
|
+
</td>
|
452
|
+
<td>
|
453
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/status_update.rb', line 5</span>
|
454
|
+
|
455
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_customer_id'>customer_id</span>
|
456
|
+
<span class='ivar'>@customer_id</span>
|
457
|
+
<span class='kw'>end</span></pre>
|
458
|
+
</td>
|
459
|
+
</tr>
|
460
|
+
</table>
|
461
|
+
</div>
|
462
|
+
|
463
|
+
|
464
|
+
<span id="order_creation_date=-instance_method"></span>
|
465
|
+
<div class="method_details ">
|
466
|
+
<h3 class="signature " id="order_creation_date-instance_method">
|
467
|
+
|
468
|
+
- (<tt>Object</tt>) <strong>order_creation_date</strong>
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
</h3><div class="docstring">
|
475
|
+
<div class="discussion">
|
476
|
+
|
477
|
+
<p>Returns the value of attribute order_creation_date</p>
|
478
|
+
|
479
|
+
|
480
|
+
</div>
|
481
|
+
</div>
|
482
|
+
<div class="tags">
|
483
|
+
|
484
|
+
|
485
|
+
</div><table class="source_code">
|
486
|
+
<tr>
|
487
|
+
<td>
|
488
|
+
<pre class="lines">
|
489
|
+
|
490
|
+
|
491
|
+
5
|
492
|
+
6
|
493
|
+
7</pre>
|
494
|
+
</td>
|
495
|
+
<td>
|
496
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/status_update.rb', line 5</span>
|
497
|
+
|
498
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_order_creation_date'>order_creation_date</span>
|
499
|
+
<span class='ivar'>@order_creation_date</span>
|
500
|
+
<span class='kw'>end</span></pre>
|
501
|
+
</td>
|
502
|
+
</tr>
|
503
|
+
</table>
|
504
|
+
</div>
|
505
|
+
|
506
|
+
|
507
|
+
<span id="order_id=-instance_method"></span>
|
508
|
+
<div class="method_details ">
|
509
|
+
<h3 class="signature " id="order_id-instance_method">
|
510
|
+
|
511
|
+
- (<tt>Object</tt>) <strong>order_id</strong>
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
</h3><div class="docstring">
|
518
|
+
<div class="discussion">
|
519
|
+
|
520
|
+
<p>Returns the value of attribute order_id</p>
|
521
|
+
|
522
|
+
|
523
|
+
</div>
|
524
|
+
</div>
|
525
|
+
<div class="tags">
|
526
|
+
|
527
|
+
|
528
|
+
</div><table class="source_code">
|
529
|
+
<tr>
|
530
|
+
<td>
|
531
|
+
<pre class="lines">
|
532
|
+
|
533
|
+
|
534
|
+
5
|
535
|
+
6
|
536
|
+
7</pre>
|
537
|
+
</td>
|
538
|
+
<td>
|
539
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/status_update.rb', line 5</span>
|
540
|
+
|
541
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_order_id'>order_id</span>
|
542
|
+
<span class='ivar'>@order_id</span>
|
543
|
+
<span class='kw'>end</span></pre>
|
544
|
+
</td>
|
545
|
+
</tr>
|
546
|
+
</table>
|
547
|
+
</div>
|
548
|
+
|
549
|
+
|
550
|
+
<span id="order_status=-instance_method"></span>
|
551
|
+
<div class="method_details ">
|
552
|
+
<h3 class="signature " id="order_status-instance_method">
|
553
|
+
|
554
|
+
- (<tt>Object</tt>) <strong>order_status</strong>
|
555
|
+
|
556
|
+
|
557
|
+
|
558
|
+
|
559
|
+
|
560
|
+
</h3><div class="docstring">
|
561
|
+
<div class="discussion">
|
562
|
+
|
563
|
+
<p>Returns the value of attribute order_status</p>
|
564
|
+
|
565
|
+
|
566
|
+
</div>
|
567
|
+
</div>
|
568
|
+
<div class="tags">
|
569
|
+
|
570
|
+
|
571
|
+
</div><table class="source_code">
|
572
|
+
<tr>
|
573
|
+
<td>
|
574
|
+
<pre class="lines">
|
575
|
+
|
576
|
+
|
577
|
+
5
|
578
|
+
6
|
579
|
+
7</pre>
|
580
|
+
</td>
|
581
|
+
<td>
|
582
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/status_update.rb', line 5</span>
|
583
|
+
|
584
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_order_status'>order_status</span>
|
585
|
+
<span class='ivar'>@order_status</span>
|
586
|
+
<span class='kw'>end</span></pre>
|
587
|
+
</td>
|
588
|
+
</tr>
|
589
|
+
</table>
|
590
|
+
</div>
|
591
|
+
|
592
|
+
|
593
|
+
<span id="reason=-instance_method"></span>
|
594
|
+
<div class="method_details ">
|
595
|
+
<h3 class="signature " id="reason-instance_method">
|
596
|
+
|
597
|
+
- (<tt>Object</tt>) <strong>reason</strong>
|
598
|
+
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
|
603
|
+
</h3><div class="docstring">
|
604
|
+
<div class="discussion">
|
605
|
+
|
606
|
+
<p>Returns the value of attribute reason</p>
|
607
|
+
|
608
|
+
|
609
|
+
</div>
|
610
|
+
</div>
|
611
|
+
<div class="tags">
|
612
|
+
|
613
|
+
|
614
|
+
</div><table class="source_code">
|
615
|
+
<tr>
|
616
|
+
<td>
|
617
|
+
<pre class="lines">
|
618
|
+
|
619
|
+
|
620
|
+
5
|
621
|
+
6
|
622
|
+
7</pre>
|
623
|
+
</td>
|
624
|
+
<td>
|
625
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/status_update.rb', line 5</span>
|
626
|
+
|
627
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_reason'>reason</span>
|
628
|
+
<span class='ivar'>@reason</span>
|
629
|
+
<span class='kw'>end</span></pre>
|
630
|
+
</td>
|
631
|
+
</tr>
|
632
|
+
</table>
|
633
|
+
</div>
|
634
|
+
|
635
|
+
</div>
|
636
|
+
|
637
|
+
|
638
|
+
</div>
|
639
|
+
|
640
|
+
<div id="footer">
|
641
|
+
Generated on Tue Dec 17 15:21:02 2013 by
|
642
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
643
|
+
0.8.7.2 (ruby-1.9.3).
|
644
|
+
</div>
|
645
|
+
|
646
|
+
</body>
|
647
|
+
</html>
|