<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Expense_Rate_Table_Request_CriteriaType StructType
 * Meta information extracted from the WSDL
 * - documentation: Element containing Expense Rate Table request criteria
 * @subpackage Structs
 */
class Expense_Rate_Table_Request_CriteriaType extends AbstractStructBase
{
    /**
     * The Expense_Rate_Table_Effective_Date
     * Meta information extracted from the WSDL
     * - documentation: Effective Date
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Expense_Rate_Table_Effective_Date;
    /**
     * Constructor method for Expense_Rate_Table_Request_CriteriaType
     * @uses Expense_Rate_Table_Request_CriteriaType::setExpense_Rate_Table_Effective_Date()
     * @param string $expense_Rate_Table_Effective_Date
     */
    public function __construct($expense_Rate_Table_Effective_Date = null)
    {
        $this
            ->setExpense_Rate_Table_Effective_Date($expense_Rate_Table_Effective_Date);
    }
    /**
     * Get Expense_Rate_Table_Effective_Date value
     * @return string|null
     */
    public function getExpense_Rate_Table_Effective_Date()
    {
        return $this->Expense_Rate_Table_Effective_Date;
    }
    /**
     * Set Expense_Rate_Table_Effective_Date value
     * @param string $expense_Rate_Table_Effective_Date
     * @return \StructType\Expense_Rate_Table_Request_CriteriaType
     */
    public function setExpense_Rate_Table_Effective_Date($expense_Rate_Table_Effective_Date = null)
    {
        // validation for constraint: string
        if (!is_null($expense_Rate_Table_Effective_Date) && !is_string($expense_Rate_Table_Effective_Date)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($expense_Rate_Table_Effective_Date, true), gettype($expense_Rate_Table_Effective_Date)), __LINE__);
        }
        $this->Expense_Rate_Table_Effective_Date = $expense_Rate_Table_Effective_Date;
        return $this;
    }
}
