<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ConsolidatedExchangeRateSearchRow StructType
 * @subpackage Structs
 */
class ConsolidatedExchangeRateSearchRow extends SearchRow
{
    /**
     * The basic
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ConsolidatedExchangeRateSearchRowBasic
     */
    public $basic;
    /**
     * The fromSubsidiaryJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SubsidiarySearchRowBasic
     */
    public $fromSubsidiaryJoin;
    /**
     * The periodJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\AccountingPeriodSearchRowBasic
     */
    public $periodJoin;
    /**
     * The toSubsidiaryJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SubsidiarySearchRowBasic
     */
    public $toSubsidiaryJoin;
    /**
     * The userJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\EmployeeSearchRowBasic
     */
    public $userJoin;
    /**
     * Constructor method for ConsolidatedExchangeRateSearchRow
     * @uses ConsolidatedExchangeRateSearchRow::setBasic()
     * @uses ConsolidatedExchangeRateSearchRow::setFromSubsidiaryJoin()
     * @uses ConsolidatedExchangeRateSearchRow::setPeriodJoin()
     * @uses ConsolidatedExchangeRateSearchRow::setToSubsidiaryJoin()
     * @uses ConsolidatedExchangeRateSearchRow::setUserJoin()
     * @param \StructType\ConsolidatedExchangeRateSearchRowBasic $basic
     * @param \StructType\SubsidiarySearchRowBasic $fromSubsidiaryJoin
     * @param \StructType\AccountingPeriodSearchRowBasic $periodJoin
     * @param \StructType\SubsidiarySearchRowBasic $toSubsidiaryJoin
     * @param \StructType\EmployeeSearchRowBasic $userJoin
     */
    public function __construct(\StructType\ConsolidatedExchangeRateSearchRowBasic $basic = null, \StructType\SubsidiarySearchRowBasic $fromSubsidiaryJoin = null, \StructType\AccountingPeriodSearchRowBasic $periodJoin = null, \StructType\SubsidiarySearchRowBasic $toSubsidiaryJoin = null, \StructType\EmployeeSearchRowBasic $userJoin = null)
    {
        $this
            ->setBasic($basic)
            ->setFromSubsidiaryJoin($fromSubsidiaryJoin)
            ->setPeriodJoin($periodJoin)
            ->setToSubsidiaryJoin($toSubsidiaryJoin)
            ->setUserJoin($userJoin);
    }
    /**
     * Get basic value
     * @return \StructType\ConsolidatedExchangeRateSearchRowBasic|null
     */
    public function getBasic()
    {
        return $this->basic;
    }
    /**
     * Set basic value
     * @param \StructType\ConsolidatedExchangeRateSearchRowBasic $basic
     * @return \StructType\ConsolidatedExchangeRateSearchRow
     */
    public function setBasic(\StructType\ConsolidatedExchangeRateSearchRowBasic $basic = null)
    {
        $this->basic = $basic;
        return $this;
    }
    /**
     * Get fromSubsidiaryJoin value
     * @return \StructType\SubsidiarySearchRowBasic|null
     */
    public function getFromSubsidiaryJoin()
    {
        return $this->fromSubsidiaryJoin;
    }
    /**
     * Set fromSubsidiaryJoin value
     * @param \StructType\SubsidiarySearchRowBasic $fromSubsidiaryJoin
     * @return \StructType\ConsolidatedExchangeRateSearchRow
     */
    public function setFromSubsidiaryJoin(\StructType\SubsidiarySearchRowBasic $fromSubsidiaryJoin = null)
    {
        $this->fromSubsidiaryJoin = $fromSubsidiaryJoin;
        return $this;
    }
    /**
     * Get periodJoin value
     * @return \StructType\AccountingPeriodSearchRowBasic|null
     */
    public function getPeriodJoin()
    {
        return $this->periodJoin;
    }
    /**
     * Set periodJoin value
     * @param \StructType\AccountingPeriodSearchRowBasic $periodJoin
     * @return \StructType\ConsolidatedExchangeRateSearchRow
     */
    public function setPeriodJoin(\StructType\AccountingPeriodSearchRowBasic $periodJoin = null)
    {
        $this->periodJoin = $periodJoin;
        return $this;
    }
    /**
     * Get toSubsidiaryJoin value
     * @return \StructType\SubsidiarySearchRowBasic|null
     */
    public function getToSubsidiaryJoin()
    {
        return $this->toSubsidiaryJoin;
    }
    /**
     * Set toSubsidiaryJoin value
     * @param \StructType\SubsidiarySearchRowBasic $toSubsidiaryJoin
     * @return \StructType\ConsolidatedExchangeRateSearchRow
     */
    public function setToSubsidiaryJoin(\StructType\SubsidiarySearchRowBasic $toSubsidiaryJoin = null)
    {
        $this->toSubsidiaryJoin = $toSubsidiaryJoin;
        return $this;
    }
    /**
     * Get userJoin value
     * @return \StructType\EmployeeSearchRowBasic|null
     */
    public function getUserJoin()
    {
        return $this->userJoin;
    }
    /**
     * Set userJoin value
     * @param \StructType\EmployeeSearchRowBasic $userJoin
     * @return \StructType\ConsolidatedExchangeRateSearchRow
     */
    public function setUserJoin(\StructType\EmployeeSearchRowBasic $userJoin = null)
    {
        $this->userJoin = $userJoin;
        return $this;
    }
}
