<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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