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.
Files changed (102) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +18 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +45 -0
  5. data/.ruby-gemset +1 -0
  6. data/.ruby-version +1 -0
  7. data/.travis.yml +10 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.txt +22 -0
  10. data/README.md +193 -0
  11. data/Rakefile +1 -0
  12. data/doc/EmptyResponseError.html +123 -0
  13. data/doc/HttpStatusException.html +123 -0
  14. data/doc/NotImplementedException.html +123 -0
  15. data/doc/OpenPayU.html +436 -0
  16. data/doc/OpenPayU/Configuration.html +1530 -0
  17. data/doc/OpenPayU/Connection.html +381 -0
  18. data/doc/OpenPayU/Document.html +705 -0
  19. data/doc/OpenPayU/Documents.html +117 -0
  20. data/doc/OpenPayU/Documents/Request.html +503 -0
  21. data/doc/OpenPayU/Documents/Response.html +783 -0
  22. data/doc/OpenPayU/Models.html +117 -0
  23. data/doc/OpenPayU/Models/Address.html +861 -0
  24. data/doc/OpenPayU/Models/Buyer.html +587 -0
  25. data/doc/OpenPayU/Models/Buyer/Delivery.html +312 -0
  26. data/doc/OpenPayU/Models/Card.html +507 -0
  27. data/doc/OpenPayU/Models/Fee.html +367 -0
  28. data/doc/OpenPayU/Models/Model.html +1208 -0
  29. data/doc/OpenPayU/Models/NotifyResponse.html +297 -0
  30. data/doc/OpenPayU/Models/Order.html +1155 -0
  31. data/doc/OpenPayU/Models/PayMethod.html +507 -0
  32. data/doc/OpenPayU/Models/Product.html +787 -0
  33. data/doc/OpenPayU/Models/Refund.html +1020 -0
  34. data/doc/OpenPayU/Models/ShippingMethod.html +367 -0
  35. data/doc/OpenPayU/Models/StatusUpdate.html +647 -0
  36. data/doc/OpenPayU/Models/Token.html +507 -0
  37. data/doc/OpenPayU/Order.html +924 -0
  38. data/doc/OpenPayU/Refund.html +269 -0
  39. data/doc/OpenPayU/Token.html +288 -0
  40. data/doc/OpenPayU/XmlBuilder.html +277 -0
  41. data/doc/WrongConfigurationError.html +123 -0
  42. data/doc/WrongNotifyRequest.html +123 -0
  43. data/doc/WrongOrderParameters.html +267 -0
  44. data/doc/WrongSignatureException.html +123 -0
  45. data/doc/_index.html +446 -0
  46. data/doc/class_list.html +54 -0
  47. data/doc/css/common.css +1 -0
  48. data/doc/css/full_list.css +57 -0
  49. data/doc/css/style.css +338 -0
  50. data/doc/file.README.html +281 -0
  51. data/doc/file_list.html +56 -0
  52. data/doc/frames.html +26 -0
  53. data/doc/index.html +281 -0
  54. data/doc/js/app.js +214 -0
  55. data/doc/js/full_list.js +178 -0
  56. data/doc/js/jquery.js +4 -0
  57. data/doc/method_list.html +1007 -0
  58. data/doc/top-level-namespace.html +114 -0
  59. data/lib/openpayu.rb +66 -0
  60. data/lib/openpayu/configuration.rb +62 -0
  61. data/lib/openpayu/connection.rb +65 -0
  62. data/lib/openpayu/document.rb +105 -0
  63. data/lib/openpayu/documents/request.rb +34 -0
  64. data/lib/openpayu/documents/response.rb +48 -0
  65. data/lib/openpayu/exceptions.rb +19 -0
  66. data/lib/openpayu/models/address.rb +12 -0
  67. data/lib/openpayu/models/buyer.rb +11 -0
  68. data/lib/openpayu/models/buyer/delivery.rb +7 -0
  69. data/lib/openpayu/models/buyer/invoice.rb +8 -0
  70. data/lib/openpayu/models/card.rb +10 -0
  71. data/lib/openpayu/models/fee.rb +9 -0
  72. data/lib/openpayu/models/model.rb +151 -0
  73. data/lib/openpayu/models/notify_response.rb +9 -0
  74. data/lib/openpayu/models/order.rb +28 -0
  75. data/lib/openpayu/models/pay_method.rb +10 -0
  76. data/lib/openpayu/models/product.rb +10 -0
  77. data/lib/openpayu/models/refund.rb +41 -0
  78. data/lib/openpayu/models/shipping_method.rb +9 -0
  79. data/lib/openpayu/models/status_update.rb +14 -0
  80. data/lib/openpayu/models/token.rb +10 -0
  81. data/lib/openpayu/order.rb +119 -0
  82. data/lib/openpayu/refund.rb +26 -0
  83. data/lib/openpayu/token.rb +27 -0
  84. data/lib/openpayu/version.rb +4 -0
  85. data/lib/openpayu/xml_builder.rb +23 -0
  86. data/lib/openpayu_ruby.rb +2 -0
  87. data/openpayu_ruby.gemspec +40 -0
  88. data/spec/cassettes/cancel_order.yml +50 -0
  89. data/spec/cassettes/create_order.yml +51 -0
  90. data/spec/cassettes/refund_order.yml +100 -0
  91. data/spec/cassettes/retrieve_order.yml +51 -0
  92. data/spec/cassettes/update_order.yml +50 -0
  93. data/spec/integration/order_spec.rb +103 -0
  94. data/spec/openpayu.yml +11 -0
  95. data/spec/spec_helper.rb +27 -0
  96. data/spec/test_objects/order.rb +97 -0
  97. data/spec/unit/configuration_spec.rb +71 -0
  98. data/spec/unit/document_spec.rb +18 -0
  99. data/spec/unit/models/order_spec.rb +82 -0
  100. data/spec/unit/models/refund_spec.rb +24 -0
  101. data/spec/unit/openpayu_spec.rb +27 -0
  102. metadata +327 -0
@@ -0,0 +1,312 @@
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::Buyer::Delivery
8
+
9
+ &mdash; 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 (D)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../../OpenPayU.html" title="OpenPayU (module)">OpenPayU</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Models.html" title="OpenPayU::Models (module)">Models</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Buyer.html" title="OpenPayU::Models::Buyer (class)">Buyer</a></span></span>
36
+ &raquo;
37
+ <span class="title">Delivery</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::Buyer::Delivery
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="../Address.html" title="OpenPayU::Models::Address (class)">Address</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"><span class='object_link'><a href="../Address.html" title="OpenPayU::Models::Address (class)">Address</a></span></li>
84
+
85
+ <li class="next">OpenPayU::Models::Buyer::Delivery</li>
86
+
87
+ </ul>
88
+ <a href="#" class="inheritanceTree">show all</a>
89
+
90
+ </dd>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dt class="r2 last">Defined in:</dt>
101
+ <dd class="r2 last">lib/openpayu/models/buyer/invoice.rb<span class="defines">,<br />
102
+ lib/openpayu/models/buyer/delivery.rb</span>
103
+ </dd>
104
+
105
+ </dl>
106
+ <div class="clear"></div>
107
+
108
+
109
+
110
+
111
+
112
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
113
+ <ul class="summary">
114
+
115
+ <li class="public ">
116
+ <span class="summary_signature">
117
+
118
+ <a href="#e_invoice_requested-instance_method" title="#e_invoice_requested (instance method)">- (Object) <strong>e_invoice_requested</strong> </a>
119
+
120
+
121
+
122
+ </span>
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+ <span class="summary_desc"><div class='inline'>
136
+ <p>Returns the value of attribute e_invoice_requested.</p>
137
+ </div></span>
138
+
139
+ </li>
140
+
141
+
142
+ <li class="public ">
143
+ <span class="summary_signature">
144
+
145
+ <a href="#TIN-instance_method" title="#TIN (instance method)">- (Object) <strong>TIN</strong> </a>
146
+
147
+
148
+
149
+ </span>
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+ <span class="summary_desc"><div class='inline'>
163
+ <p>Returns the value of attribute TIN.</p>
164
+ </div></span>
165
+
166
+ </li>
167
+
168
+
169
+ </ul>
170
+
171
+
172
+
173
+
174
+
175
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Address.html" title="OpenPayU::Models::Address (class)">Address</a></span></h3>
176
+ <p class="inherited"><span class='object_link'><a href="../Address.html#city-instance_method" title="OpenPayU::Models::Address#city (method)">#city</a></span>, <span class='object_link'><a href="../Address.html#country_code-instance_method" title="OpenPayU::Models::Address#country_code (method)">#country_code</a></span>, <span class='object_link'><a href="../Address.html#name-instance_method" title="OpenPayU::Models::Address#name (method)">#name</a></span>, <span class='object_link'><a href="../Address.html#postal_box-instance_method" title="OpenPayU::Models::Address#postal_box (method)">#postal_box</a></span>, <span class='object_link'><a href="../Address.html#postal_code-instance_method" title="OpenPayU::Models::Address#postal_code (method)">#postal_code</a></span>, <span class='object_link'><a href="../Address.html#recipient_email-instance_method" title="OpenPayU::Models::Address#recipient_email (method)">#recipient_email</a></span>, <span class='object_link'><a href="../Address.html#recipient_name-instance_method" title="OpenPayU::Models::Address#recipient_name (method)">#recipient_name</a></span>, <span class='object_link'><a href="../Address.html#recipient_phone-instance_method" title="OpenPayU::Models::Address#recipient_phone (method)">#recipient_phone</a></span>, <span class='object_link'><a href="../Address.html#state-instance_method" title="OpenPayU::Models::Address#state (method)">#state</a></span>, <span class='object_link'><a href="../Address.html#street-instance_method" title="OpenPayU::Models::Address#street (method)">#street</a></span></p>
177
+
178
+
179
+
180
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
181
+ <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>
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+ <h2>Method Summary</h2>
198
+
199
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
200
+ <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>
201
+
202
+
203
+
204
+ <div id="constructor_details" class="method_details_list">
205
+ <h2>Constructor Details</h2>
206
+
207
+ <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>
208
+
209
+ </div>
210
+
211
+ <div id="instance_attr_details" class="attr_details">
212
+ <h2>Instance Attribute Details</h2>
213
+
214
+
215
+ <span id="e_invoice_requested=-instance_method"></span>
216
+ <div class="method_details first">
217
+ <h3 class="signature first" id="e_invoice_requested-instance_method">
218
+
219
+ - (<tt>Object</tt>) <strong>e_invoice_requested</strong>
220
+
221
+
222
+
223
+
224
+
225
+ </h3><div class="docstring">
226
+ <div class="discussion">
227
+
228
+ <p>Returns the value of attribute e_invoice_requested</p>
229
+
230
+
231
+ </div>
232
+ </div>
233
+ <div class="tags">
234
+
235
+
236
+ </div><table class="source_code">
237
+ <tr>
238
+ <td>
239
+ <pre class="lines">
240
+
241
+
242
+ 5
243
+ 6
244
+ 7</pre>
245
+ </td>
246
+ <td>
247
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/buyer/invoice.rb', line 5</span>
248
+
249
+ <span class='kw'>def</span> <span class='id identifier rubyid_e_invoice_requested'>e_invoice_requested</span>
250
+ <span class='ivar'>@e_invoice_requested</span>
251
+ <span class='kw'>end</span></pre>
252
+ </td>
253
+ </tr>
254
+ </table>
255
+ </div>
256
+
257
+
258
+ <span id="TIN=-instance_method"></span>
259
+ <div class="method_details ">
260
+ <h3 class="signature " id="TIN-instance_method">
261
+
262
+ - (<tt>Object</tt>) <strong>TIN</strong>
263
+
264
+
265
+
266
+
267
+
268
+ </h3><div class="docstring">
269
+ <div class="discussion">
270
+
271
+ <p>Returns the value of attribute TIN</p>
272
+
273
+
274
+ </div>
275
+ </div>
276
+ <div class="tags">
277
+
278
+
279
+ </div><table class="source_code">
280
+ <tr>
281
+ <td>
282
+ <pre class="lines">
283
+
284
+
285
+ 5
286
+ 6
287
+ 7</pre>
288
+ </td>
289
+ <td>
290
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/buyer/invoice.rb', line 5</span>
291
+
292
+ <span class='kw'>def</span> <span class='const'>TIN</span>
293
+ <span class='ivar'>@TIN</span>
294
+ <span class='kw'>end</span></pre>
295
+ </td>
296
+ </tr>
297
+ </table>
298
+ </div>
299
+
300
+ </div>
301
+
302
+
303
+ </div>
304
+
305
+ <div id="footer">
306
+ Generated on Tue Dec 17 15:21:02 2013 by
307
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
308
+ 0.8.7.2 (ruby-1.9.3).
309
+ </div>
310
+
311
+ </body>
312
+ </html>
@@ -0,0 +1,507 @@
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::Card
8
+
9
+ &mdash; 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 (C)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../OpenPayU.html" title="OpenPayU (module)">OpenPayU</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Models.html" title="OpenPayU::Models (module)">Models</a></span></span>
36
+ &raquo;
37
+ <span class="title">Card</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::Card
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::Card</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/card.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="#cardholder-instance_method" title="#cardholder (instance method)">- (Object) <strong>cardholder</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 cardholder.</p>
133
+ </div></span>
134
+
135
+ </li>
136
+
137
+
138
+ <li class="public ">
139
+ <span class="summary_signature">
140
+
141
+ <a href="#CVV-instance_method" title="#CVV (instance method)">- (Object) <strong>CVV</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 CVV.</p>
160
+ </div></span>
161
+
162
+ </li>
163
+
164
+
165
+ <li class="public ">
166
+ <span class="summary_signature">
167
+
168
+ <a href="#expiration_month-instance_method" title="#expiration_month (instance method)">- (Object) <strong>expiration_month</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 expiration_month.</p>
187
+ </div></span>
188
+
189
+ </li>
190
+
191
+
192
+ <li class="public ">
193
+ <span class="summary_signature">
194
+
195
+ <a href="#expiration_year-instance_method" title="#expiration_year (instance method)">- (Object) <strong>expiration_year</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 expiration_year.</p>
214
+ </div></span>
215
+
216
+ </li>
217
+
218
+
219
+ <li class="public ">
220
+ <span class="summary_signature">
221
+
222
+ <a href="#number-instance_method" title="#number (instance method)">- (Object) <strong>number</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 number.</p>
241
+ </div></span>
242
+
243
+ </li>
244
+
245
+
246
+ </ul>
247
+
248
+
249
+
250
+
251
+
252
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
253
+ <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>
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+ <h2>Method Summary</h2>
264
+
265
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
266
+ <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>
267
+
268
+
269
+
270
+ <div id="constructor_details" class="method_details_list">
271
+ <h2>Constructor Details</h2>
272
+
273
+ <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>
274
+
275
+ </div>
276
+
277
+ <div id="instance_attr_details" class="attr_details">
278
+ <h2>Instance Attribute Details</h2>
279
+
280
+
281
+ <span id="cardholder=-instance_method"></span>
282
+ <div class="method_details first">
283
+ <h3 class="signature first" id="cardholder-instance_method">
284
+
285
+ - (<tt>Object</tt>) <strong>cardholder</strong>
286
+
287
+
288
+
289
+
290
+
291
+ </h3><div class="docstring">
292
+ <div class="discussion">
293
+
294
+ <p>Returns the value of attribute cardholder</p>
295
+
296
+
297
+ </div>
298
+ </div>
299
+ <div class="tags">
300
+
301
+
302
+ </div><table class="source_code">
303
+ <tr>
304
+ <td>
305
+ <pre class="lines">
306
+
307
+
308
+ 5
309
+ 6
310
+ 7</pre>
311
+ </td>
312
+ <td>
313
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/card.rb', line 5</span>
314
+
315
+ <span class='kw'>def</span> <span class='id identifier rubyid_cardholder'>cardholder</span>
316
+ <span class='ivar'>@cardholder</span>
317
+ <span class='kw'>end</span></pre>
318
+ </td>
319
+ </tr>
320
+ </table>
321
+ </div>
322
+
323
+
324
+ <span id="CVV=-instance_method"></span>
325
+ <div class="method_details ">
326
+ <h3 class="signature " id="CVV-instance_method">
327
+
328
+ - (<tt>Object</tt>) <strong>CVV</strong>
329
+
330
+
331
+
332
+
333
+
334
+ </h3><div class="docstring">
335
+ <div class="discussion">
336
+
337
+ <p>Returns the value of attribute CVV</p>
338
+
339
+
340
+ </div>
341
+ </div>
342
+ <div class="tags">
343
+
344
+
345
+ </div><table class="source_code">
346
+ <tr>
347
+ <td>
348
+ <pre class="lines">
349
+
350
+
351
+ 5
352
+ 6
353
+ 7</pre>
354
+ </td>
355
+ <td>
356
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/card.rb', line 5</span>
357
+
358
+ <span class='kw'>def</span> <span class='const'>CVV</span>
359
+ <span class='ivar'>@CVV</span>
360
+ <span class='kw'>end</span></pre>
361
+ </td>
362
+ </tr>
363
+ </table>
364
+ </div>
365
+
366
+
367
+ <span id="expiration_month=-instance_method"></span>
368
+ <div class="method_details ">
369
+ <h3 class="signature " id="expiration_month-instance_method">
370
+
371
+ - (<tt>Object</tt>) <strong>expiration_month</strong>
372
+
373
+
374
+
375
+
376
+
377
+ </h3><div class="docstring">
378
+ <div class="discussion">
379
+
380
+ <p>Returns the value of attribute expiration_month</p>
381
+
382
+
383
+ </div>
384
+ </div>
385
+ <div class="tags">
386
+
387
+
388
+ </div><table class="source_code">
389
+ <tr>
390
+ <td>
391
+ <pre class="lines">
392
+
393
+
394
+ 5
395
+ 6
396
+ 7</pre>
397
+ </td>
398
+ <td>
399
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/card.rb', line 5</span>
400
+
401
+ <span class='kw'>def</span> <span class='id identifier rubyid_expiration_month'>expiration_month</span>
402
+ <span class='ivar'>@expiration_month</span>
403
+ <span class='kw'>end</span></pre>
404
+ </td>
405
+ </tr>
406
+ </table>
407
+ </div>
408
+
409
+
410
+ <span id="expiration_year=-instance_method"></span>
411
+ <div class="method_details ">
412
+ <h3 class="signature " id="expiration_year-instance_method">
413
+
414
+ - (<tt>Object</tt>) <strong>expiration_year</strong>
415
+
416
+
417
+
418
+
419
+
420
+ </h3><div class="docstring">
421
+ <div class="discussion">
422
+
423
+ <p>Returns the value of attribute expiration_year</p>
424
+
425
+
426
+ </div>
427
+ </div>
428
+ <div class="tags">
429
+
430
+
431
+ </div><table class="source_code">
432
+ <tr>
433
+ <td>
434
+ <pre class="lines">
435
+
436
+
437
+ 5
438
+ 6
439
+ 7</pre>
440
+ </td>
441
+ <td>
442
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/card.rb', line 5</span>
443
+
444
+ <span class='kw'>def</span> <span class='id identifier rubyid_expiration_year'>expiration_year</span>
445
+ <span class='ivar'>@expiration_year</span>
446
+ <span class='kw'>end</span></pre>
447
+ </td>
448
+ </tr>
449
+ </table>
450
+ </div>
451
+
452
+
453
+ <span id="number=-instance_method"></span>
454
+ <div class="method_details ">
455
+ <h3 class="signature " id="number-instance_method">
456
+
457
+ - (<tt>Object</tt>) <strong>number</strong>
458
+
459
+
460
+
461
+
462
+
463
+ </h3><div class="docstring">
464
+ <div class="discussion">
465
+
466
+ <p>Returns the value of attribute number</p>
467
+
468
+
469
+ </div>
470
+ </div>
471
+ <div class="tags">
472
+
473
+
474
+ </div><table class="source_code">
475
+ <tr>
476
+ <td>
477
+ <pre class="lines">
478
+
479
+
480
+ 5
481
+ 6
482
+ 7</pre>
483
+ </td>
484
+ <td>
485
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/card.rb', line 5</span>
486
+
487
+ <span class='kw'>def</span> <span class='id identifier rubyid_number'>number</span>
488
+ <span class='ivar'>@number</span>
489
+ <span class='kw'>end</span></pre>
490
+ </td>
491
+ </tr>
492
+ </table>
493
+ </div>
494
+
495
+ </div>
496
+
497
+
498
+ </div>
499
+
500
+ <div id="footer">
501
+ Generated on Tue Dec 17 15:20:59 2013 by
502
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
503
+ 0.8.7.2 (ruby-1.9.3).
504
+ </div>
505
+
506
+ </body>
507
+ </html>