Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Commit d58c4c9

Browse files
author
Victor Ndambakuwa
committed
Release 1.0.37
1 parent 06f2be5 commit d58c4c9

File tree

10 files changed

+704
-17
lines changed

10 files changed

+704
-17
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ This repository contains the OpenCart wallee payment module that enables the sh
1111

1212
## Documentation
1313

14-
* [English](https://plugin-documentation.wallee.com/wallee-payment/opencart-2.0/1.0.36/docs/en/documentation.html)
14+
* [English](https://plugin-documentation.wallee.com/wallee-payment/opencart-2.0/1.0.37/docs/en/documentation.html)
1515

1616
## License
1717

18-
Please see the [license file](https://github.com/wallee-payment/opencart-2.0/blob/1.0.36/LICENSE) for more information.
18+
Please see the [license file](https://github.com/wallee-payment/opencart-2.0/blob/1.0.37/LICENSE) for more information.

docs/en/documentation.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2>Documentation</h2> </div>
2121
</a>
2222
</li>
2323
<li>
24-
<a href="https://github.com/wallee-payment/opencart-2.0/releases/tag/1.0.36/">
24+
<a href="https://github.com/wallee-payment/opencart-2.0/releases/tag/1.0.37/">
2525
Source
2626
</a>
2727
</li>
@@ -48,7 +48,7 @@ <h1>
4848
<div class="olist arabic">
4949
<ol class="arabic">
5050
<li>
51-
<p><a href="https://github.com/wallee-payment/opencart-2.0/releases/tag/1.0.36/">Download</a> the extension.</p>
51+
<p><a href="https://github.com/wallee-payment/opencart-2.0/releases/tag/1.0.37/">Download</a> the extension.</p>
5252
</li>
5353
<li>
5454
<p>Extract the files and upload the content of the <code>Upload</code> directory into the root directory of your store using FTP/SSH.</p>

upload/system/library/wallee/wallee-sdk/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wallee/sdk",
3-
"version": "2.0.5",
3+
"version": "2.0.9",
44
"description": "wallee SDK for PHP",
55
"keywords": [
66
"wallee",

upload/system/library/wallee/wallee-sdk/lib/ApiClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ final class ApiClient {
5454
*
5555
* @var string
5656
*/
57-
private $userAgent = 'PHP-Client/2.0.5/php';
57+
private $userAgent = 'PHP-Client/2.0.9/php';
5858

5959
/**
6060
* The path to the certificate authority file.
@@ -352,7 +352,7 @@ public function getDebugFile() {
352352
*/
353353
public function setDebugFile($debugFile) {
354354
$this->debugFile = $debugFile;
355-
//$this->serializer->setDebugFile($debugFile);
355+
$this->serializer->setDebugFile($debugFile);
356356
return $this;
357357
}
358358

upload/system/library/wallee/wallee-sdk/lib/Configuration.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Configuration
8080
*
8181
* @var string
8282
*/
83-
protected $userAgent = 'Wallee\Sdk/2.0.5/php';
83+
protected $userAgent = 'Wallee\Sdk/2.0.9/php';
8484

8585
/**
8686
* Debug switch (default set to false)
@@ -388,8 +388,8 @@ public static function toDebugReport()
388388
$report = 'PHP SDK (Wallee\Sdk) Debug Report:' . PHP_EOL;
389389
$report .= ' OS: ' . php_uname() . PHP_EOL;
390390
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
391-
$report .= ' OpenAPI Spec Version: 2.0.5' . PHP_EOL;
392-
$report .= ' SDK Package Version: 2.0.5' . PHP_EOL;
391+
$report .= ' OpenAPI Spec Version: 2.0.9' . PHP_EOL;
392+
$report .= ' SDK Package Version: 2.0.9' . PHP_EOL;
393393
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
394394

395395
return $report;

upload/system/library/wallee/wallee-sdk/lib/Model/PaymentTerminalDeviceModel.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class PaymentTerminalDeviceModel implements ModelInterface, ArrayAccess
5151
protected static $swaggerTypes = [
5252
'description' => '\Wallee\Sdk\Model\DatabaseTranslatedString',
5353
'id' => 'int',
54-
'image' => 'string[]',
54+
'image' => 'string',
5555
'image_type' => 'string',
5656
'manufacturer' => '\Wallee\Sdk\Model\PaymentTerminalDeviceManufacturer',
5757
'model_id' => 'string',
@@ -330,7 +330,7 @@ public function setId($id)
330330
/**
331331
* Gets image
332332
*
333-
* @return string[]
333+
* @return string
334334
*/
335335
public function getImage()
336336
{
@@ -340,12 +340,14 @@ public function getImage()
340340
/**
341341
* Sets image
342342
*
343-
* @param string[] $image
343+
* @param string $image image
344344
*
345345
* @return $this
346346
*/
347347
public function setImage($image)
348348
{
349+
350+
349351
$this->container['image'] = $image;
350352

351353
return $this;

upload/system/library/wallee/wallee-sdk/lib/Model/RenderedDocument.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class RenderedDocument implements ModelInterface, ArrayAccess
4949
* @var string[]
5050
*/
5151
protected static $swaggerTypes = [
52-
'data' => 'string[]',
52+
'data' => 'string',
5353
'document_template_type' => 'int',
5454
'mime_type' => 'string',
5555
'title' => 'string'
@@ -224,7 +224,7 @@ public function valid()
224224
/**
225225
* Gets data
226226
*
227-
* @return string[]
227+
* @return string
228228
*/
229229
public function getData()
230230
{
@@ -234,12 +234,14 @@ public function getData()
234234
/**
235235
* Sets data
236236
*
237-
* @param string[] $data
237+
* @param string $data data
238238
*
239239
* @return $this
240240
*/
241241
public function setData($data)
242242
{
243+
244+
243245
$this->container['data'] = $data;
244246

245247
return $this;

0 commit comments

Comments
 (0)