PHP code example of baywa-re-lusy / tms-wms-messages

1. Go to this page and download the library: Download baywa-re-lusy/tms-wms-messages library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

baywa-re-lusy / tms-wms-messages example snippets


use \BayWaReLusy\TmsWmsMessages\TmsToWmsUpdate;

$tmsToWmsUpdate = new TmsToWmsUpdate();
$tmsToWmsUpdate->setPickingOrderId($pickingOrder->getId());

$jsonMessage = $tmsToWmsUpdate->serializeToJson();

use \BayWaReLusy\TmsWmsMessages\TmsToWmsUpdate;

$jsonMessage = '{...}';

$tmsToWmsUpdate = TmsToWmsUpdate::createFromJsonString($jsonMessage);
$pickingOrderId = $tmsToWmsUpdate->getPickingOrderId();