<?php

namespace App\Integration\Providers\Alliance3\DTO;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CurrencyExch DTO
 * @subpackage Structs
 */
class CurrencyExch extends AbstractStructBase
{
    /**
     * The currCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $currCode;
    /**
     * The currExchValue
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $currExchValue;
    /**
     * Constructor method for CurrencyExch
     * @uses CurrencyExch::setCurrCode()
     * @uses CurrencyExch::setCurrExchValue()
     * @param string $currCode
     * @param float $currExchValue
     */
    public function __construct($currCode = null, $currExchValue = null)
    {
        $this
            ->setCurrCode($currCode)
            ->setCurrExchValue($currExchValue);
    }
    /**
     * Get currCode value
     * @return string|null
     */
    public function getCurrCode()
    {
        return $this->currCode;
    }
    /**
     * Set currCode value
     * @param string $currCode
     * @return \App\Integration\Providers\Alliance3\DTO\CurrencyExch
     */
    public function setCurrCode($currCode = null)
    {
        $this->currCode = $currCode;
        return $this;
    }
    /**
     * Get currExchValue value
     * @return float|null
     */
    public function getCurrExchValue()
    {
        return $this->currExchValue;
    }
    /**
     * Set currExchValue value
     * @param float $currExchValue
     * @return \App\Integration\Providers\Alliance3\DTO\CurrencyExch
     */
    public function setCurrExchValue($currExchValue = null)
    {
        $this->currExchValue = $currExchValue;
        return $this;
    }
}
