<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Referral_DataType StructType
 * Meta information extracted from the WSDL
 * - documentation: Information about the referral details of a candidate.
 * @subpackage Structs
 */
class Referral_DataType extends AbstractStructBase
{
    /**
     * The Referral_Ownership_Details_Data
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\Referral_Ownership_Details_DataType
     */
    public $Referral_Ownership_Details_Data;
    /**
     * Constructor method for Referral_DataType
     * @uses Referral_DataType::setReferral_Ownership_Details_Data()
     * @param \StructType\Referral_Ownership_Details_DataType $referral_Ownership_Details_Data
     */
    public function __construct(\StructType\Referral_Ownership_Details_DataType $referral_Ownership_Details_Data = null)
    {
        $this
            ->setReferral_Ownership_Details_Data($referral_Ownership_Details_Data);
    }
    /**
     * Get Referral_Ownership_Details_Data value
     * @return \StructType\Referral_Ownership_Details_DataType|null
     */
    public function getReferral_Ownership_Details_Data()
    {
        return $this->Referral_Ownership_Details_Data;
    }
    /**
     * Set Referral_Ownership_Details_Data value
     * @param \StructType\Referral_Ownership_Details_DataType $referral_Ownership_Details_Data
     * @return \StructType\Referral_DataType
     */
    public function setReferral_Ownership_Details_Data(\StructType\Referral_Ownership_Details_DataType $referral_Ownership_Details_Data = null)
    {
        $this->Referral_Ownership_Details_Data = $referral_Ownership_Details_Data;
        return $this;
    }
}
