<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Sales.Printing.PriceType StructType
 * @subpackage Structs
 */
class Sales_Printing_PriceType extends Printing_Item_ComplexProperty_Base
{
    /**
     * The Description
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $Description;
    /**
     * The PrintDescription
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $PrintDescription;
    /**
     * The ShortDescription
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $ShortDescription;
    /**
     * Constructor method for Sales.Printing.PriceType
     * @uses Sales_Printing_PriceType::setDescription()
     * @uses Sales_Printing_PriceType::setPrintDescription()
     * @uses Sales_Printing_PriceType::setShortDescription()
     * @param \patest\StructType\GlobalString $description
     * @param \patest\StructType\GlobalString $printDescription
     * @param \patest\StructType\GlobalString $shortDescription
     */
    public function __construct(\patest\StructType\GlobalString $description = null, \patest\StructType\GlobalString $printDescription = null, \patest\StructType\GlobalString $shortDescription = null)
    {
        $this
            ->setDescription($description)
            ->setPrintDescription($printDescription)
            ->setShortDescription($shortDescription);
    }
    /**
     * Get Description value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getDescription()
    {
        return isset($this->Description) ? $this->Description : null;
    }
    /**
     * Set Description value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $description
     * @return \patest\StructType\Sales_Printing_PriceType
     */
    public function setDescription(\patest\StructType\GlobalString $description = null)
    {
        if (is_null($description) || (is_array($description) && empty($description))) {
            unset($this->Description);
        } else {
            $this->Description = $description;
        }
        return $this;
    }
    /**
     * Get PrintDescription value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getPrintDescription()
    {
        return isset($this->PrintDescription) ? $this->PrintDescription : null;
    }
    /**
     * Set PrintDescription value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $printDescription
     * @return \patest\StructType\Sales_Printing_PriceType
     */
    public function setPrintDescription(\patest\StructType\GlobalString $printDescription = null)
    {
        if (is_null($printDescription) || (is_array($printDescription) && empty($printDescription))) {
            unset($this->PrintDescription);
        } else {
            $this->PrintDescription = $printDescription;
        }
        return $this;
    }
    /**
     * Get ShortDescription value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getShortDescription()
    {
        return isset($this->ShortDescription) ? $this->ShortDescription : null;
    }
    /**
     * Set ShortDescription value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $shortDescription
     * @return \patest\StructType\Sales_Printing_PriceType
     */
    public function setShortDescription(\patest\StructType\GlobalString $shortDescription = null)
    {
        if (is_null($shortDescription) || (is_array($shortDescription) && empty($shortDescription))) {
            unset($this->ShortDescription);
        } else {
            $this->ShortDescription = $shortDescription;
        }
        return $this;
    }
}
