<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AbsenceCodeSelection StructType
 * @subpackage Structs
 */
class AbsenceCodeSelection extends AbstractStructBase
{
    /**
     * The Code
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfString
     */
    public $Code;
    /**
     * Constructor method for AbsenceCodeSelection
     * @uses AbsenceCodeSelection::setCode()
     * @param \ArrayType\ArrayOfString $code
     */
    public function __construct(\ArrayType\ArrayOfString $code = null)
    {
        $this
            ->setCode($code);
    }
    /**
     * Get Code value
     * @return \ArrayType\ArrayOfString|null
     */
    public function getCode()
    {
        return $this->Code;
    }
    /**
     * Set Code value
     * @param \ArrayType\ArrayOfString $code
     * @return \StructType\AbsenceCodeSelection
     */
    public function setCode(\ArrayType\ArrayOfString $code = null)
    {
        $this->Code = $code;
        return $this;
    }
}
