Skip to content

Commit

Permalink
Merge branch 'fix_saveTableOrderV2' into 'master'
Browse files Browse the repository at this point in the history
fix saveTableOrderV2 request

See merge request mpluskassa/mplus-api-client!36
  • Loading branch information
dennismpluskassa committed May 5, 2020
2 parents 01e9a1b + 48eae1d commit 9a11a23
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Mplusqapiclient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class MplusQAPIclient
{
const CLIENT_VERSION = '1.30.3';
const CLIENT_VERSION = '1.30.4';
const WSDL_TTL = 300;

var $MIN_API_VERSION_MAJOR = 0;
Expand Down Expand Up @@ -9550,10 +9550,11 @@ public function convertSaveTableOrderV2($terminal, $order, $releaseTable)
{
$order = $this->convertOrder($order, $terminal);
$terminal = $this->convertTerminal($terminal);
$object = arrayToObject(array("request" => array(
'terminal'=>$terminal->terminal,
'order'=>$order->order,
'releaseTable'=>$releaseTable,
$object = arrayToObject(array(
'terminal'=>$terminal->terminal,
"request" => array(
'order'=>$order->order,
'releaseTable'=>$releaseTable,
)));
return $object;
} // END convertSaveTableOrderV2()
Expand Down

0 comments on commit 9a11a23

Please sign in to comment.