File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 22
33class MplusQAPIclient
44{
5- const CLIENT_VERSION = '1.34.3 ' ;
5+ const CLIENT_VERSION = '1.34.4 ' ;
66 const WSDL_TTL = 300 ;
77
88 var $ MIN_API_VERSION_MAJOR = 0 ;
@@ -4464,6 +4464,23 @@ public function getPreparationMethodGroups() {
44644464
44654465 //----------------------------------------------------------------------------
44664466
4467+ public function getArticlesPreparationMethodGroups ($ articleNumbers ) {
4468+ try {
4469+ $ result = $ this ->client ->getArticlesPreparationMethodGroups ($ this ->parser ->convertGetArticlesPreparationMethodGroupsRequest (
4470+ $ articleNumbers
4471+ ));
4472+ return $ result ;
4473+ }
4474+ catch (SoapFault $ e ) {
4475+ throw new MplusQAPIException ('SoapFault occurred: ' . $ e ->getMessage (), 0 , $ e );
4476+ }
4477+ catch (Exception $ e ) {
4478+ throw new MplusQAPIException ('Exception occurred: ' . $ e ->getMessage (), 0 , $ e );
4479+ }
4480+ }
4481+
4482+ //----------------------------------------------------------------------------
4483+
44674484}
44684485
44694486//==============================================================================
@@ -10279,6 +10296,17 @@ public function convertGetArticlesNutritionalCharacteristicsRequest($articleNumb
1027910296
1028010297 //----------------------------------------------------------------------------
1028110298
10299+ public function convertGetArticlesPreparationMethodGroupsRequest ($ articleNumbers ) {
10300+ $ request = [];
10301+ if (!is_array ($ articleNumbers )) {
10302+ $ articleNumbers = [$ articleNumbers ];
10303+ }
10304+ $ request ['articleNumbers ' ] = $ articleNumbers ;
10305+ return arrayToObject (['request ' =>$ request ]);
10306+ }
10307+
10308+ //----------------------------------------------------------------------------
10309+
1028210310}
1028310311
1028410312//------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments