Skip to content

Commit e8707e1

Browse files
author
thyrium
committed
Prepared getStockCorrections
1 parent c16be08 commit e8707e1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Mplusqapiclient.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class MplusQAPIclient
44
{
5-
const CLIENT_VERSION = '1.33.0';
5+
const CLIENT_VERSION = '1.33.1';
66
const WSDL_TTL = 300;
77

88
var $MIN_API_VERSION_MAJOR = 0;
@@ -7178,6 +7178,13 @@ public function parseSavePurchaseBookResult($soapSavePurchaseBookResult) {
71787178
}
71797179

71807180
// END parseSavePurchaseBookResult()
7181+
7182+
//----------------------------------------------------------------------------
7183+
public function parseGetStockCorrectionsResult($soapGetStockCorrectionsResult) {
7184+
return $soapGetStockCorrectionsResult;
7185+
}
7186+
7187+
// END parseGetStockCorrectionsResult()
71817188

71827189
//----------------------------------------------------------------------------
71837190

@@ -10207,7 +10214,9 @@ public function convertGetStockCorrectionsRequest(
1020710214
if(!is_null($correctionType)) {
1020810215
$array['request']['correctionType'] = $correctionType;
1020910216
}
10210-
//@TODO Continue here with correctionNumber !!! Also add parseGetStockCorrectionsResponse
10217+
if (!is_null($correctionNumber) && !empty($correctionNumber)) {
10218+
$array['request']['correctionNumber'] = $this->convertYearNumber($correctionNumber);
10219+
}
1021110220
return arrayToObject($array);
1021210221
}
1021310222

0 commit comments

Comments
 (0)