public function __construct($ServerIP, $ServerPort, $SoftVersion, $BodyType = 'xml')
{
$this->Batch = date('YmdHis');
$this->ServerIP = $ServerIP;
$this->ServerPort = $ServerPort;
$this->SoftVersion = $SoftVersion;
if (in_array($BodyType, ['xml', 'json'])) {
$this->BodyType = $BodyType;
}
}