<?php

namespace \NineDotMedia\viapost-php;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetSystemID StructType
 * @subpackage Structs
 */
class GetSystemID extends AbstractStructBase
{
    /**
     * The systemID
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $systemID;
    /**
     * The returnMessage
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $returnMessage;
    /**
     * Constructor method for GetSystemID
     * @uses GetSystemID::setSystemID()
     * @uses GetSystemID::setReturnMessage()
     * @param string $systemID
     * @param string $returnMessage
     */
    public function __construct($systemID = null, $returnMessage = null)
    {
        $this
            ->setSystemID($systemID)
            ->setReturnMessage($returnMessage);
    }
    /**
     * Get systemID value
     * @return string|null
     */
    public function getSystemID()
    {
        return $this->systemID;
    }
    /**
     * Set systemID value
     * @param string $systemID
     * @return \\NineDotMedia\viapost-php\GetSystemID
     */
    public function setSystemID($systemID = null)
    {
        // validation for constraint: string
        if (!is_null($systemID) && !is_string($systemID)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($systemID, true), gettype($systemID)), __LINE__);
        }
        $this->systemID = $systemID;
        return $this;
    }
    /**
     * Get returnMessage value
     * @return string|null
     */
    public function getReturnMessage()
    {
        return $this->returnMessage;
    }
    /**
     * Set returnMessage value
     * @param string $returnMessage
     * @return \\NineDotMedia\viapost-php\GetSystemID
     */
    public function setReturnMessage($returnMessage = null)
    {
        // validation for constraint: string
        if (!is_null($returnMessage) && !is_string($returnMessage)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($returnMessage, true), gettype($returnMessage)), __LINE__);
        }
        $this->returnMessage = $returnMessage;
        return $this;
    }
}
