<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetAvailablePrintOptionsForBasketSalesBatch-Request
 * StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetAvailablePrintOptionsForBasketSalesBatch-Request
 * @subpackage Structs
 */
class GetAvailablePrintOptionsForBasketSalesBatch_Request extends GetAvailablePrintOptionsBaseRequest
{
    /**
     * The Reprint
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $Reprint;
    /**
     * Constructor method for GetAvailablePrintOptionsForBasketSalesBatch-Request
     * @uses GetAvailablePrintOptionsForBasketSalesBatch_Request::setReprint()
     * @param bool $reprint
     */
    public function __construct($reprint = null)
    {
        $this
            ->setReprint($reprint);
    }
    /**
     * Get Reprint value
     * @return bool|null
     */
    public function getReprint()
    {
        return $this->Reprint;
    }
    /**
     * Set Reprint value
     * @param bool $reprint
     * @return \patest\StructType\GetAvailablePrintOptionsForBasketSalesBatch_Request
     */
    public function setReprint($reprint = null)
    {
        // validation for constraint: boolean
        if (!is_null($reprint) && !is_bool($reprint)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($reprint, true), gettype($reprint)), __LINE__);
        }
        $this->Reprint = $reprint;
        return $this;
    }
}
