<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Candidate_Legal_Name_DataType StructType
 * Meta information extracted from the WSDL
 * - documentation: Contains the legal name for a candidate.
 * @subpackage Structs
 */
class Candidate_Legal_Name_DataType extends AbstractStructBase
{
    /**
     * The Name_Detail_Data
     * Meta information extracted from the WSDL
     * - documentation: Contains the components of a name, such as the First Name and Last Name.
     * @var \StructType\Candidate_Name_Detail_DataType
     */
    public $Name_Detail_Data;
    /**
     * Constructor method for Candidate_Legal_Name_DataType
     * @uses Candidate_Legal_Name_DataType::setName_Detail_Data()
     * @param \StructType\Candidate_Name_Detail_DataType $name_Detail_Data
     */
    public function __construct(\StructType\Candidate_Name_Detail_DataType $name_Detail_Data = null)
    {
        $this
            ->setName_Detail_Data($name_Detail_Data);
    }
    /**
     * Get Name_Detail_Data value
     * @return \StructType\Candidate_Name_Detail_DataType|null
     */
    public function getName_Detail_Data()
    {
        return $this->Name_Detail_Data;
    }
    /**
     * Set Name_Detail_Data value
     * @param \StructType\Candidate_Name_Detail_DataType $name_Detail_Data
     * @return \StructType\Candidate_Legal_Name_DataType
     */
    public function setName_Detail_Data(\StructType\Candidate_Name_Detail_DataType $name_Detail_Data = null)
    {
        $this->Name_Detail_Data = $name_Detail_Data;
        return $this;
    }
}
