<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetCurrencyRateRequest StructType
 * @subpackage Structs
 */
class GetCurrencyRateRequest extends AbstractStructBase
{
    /**
     * The currencyRateFilter
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \StructType\CurrencyRateFilter
     */
    public $currencyRateFilter;
    /**
     * Constructor method for GetCurrencyRateRequest
     * @uses GetCurrencyRateRequest::setCurrencyRateFilter()
     * @param \StructType\CurrencyRateFilter $currencyRateFilter
     */
    public function __construct(\StructType\CurrencyRateFilter $currencyRateFilter = null)
    {
        $this
            ->setCurrencyRateFilter($currencyRateFilter);
    }
    /**
     * Get currencyRateFilter value
     * @return \StructType\CurrencyRateFilter
     */
    public function getCurrencyRateFilter()
    {
        return $this->currencyRateFilter;
    }
    /**
     * Set currencyRateFilter value
     * @param \StructType\CurrencyRateFilter $currencyRateFilter
     * @return \StructType\GetCurrencyRateRequest
     */
    public function setCurrencyRateFilter(\StructType\CurrencyRateFilter $currencyRateFilter = null)
    {
        $this->currencyRateFilter = $currencyRateFilter;
        return $this;
    }
}
