<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for
 * KeyValueOfEntityIdentityProductMaxTransactionCommissiono0TUsTQ2 StructType
 * @subpackage Structs
 */
class KeyValueOfEntityIdentityProductMaxTransactionCommissiono0TUsTQ2 extends AbstractStructBase
{
    /**
     * The Key
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var \patest\StructType\EntityIdentity
     */
    public $Key;
    /**
     * The Value
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var \patest\StructType\ProductMaxTransactionCommission
     */
    public $Value;
    /**
     * Constructor method for
     * KeyValueOfEntityIdentityProductMaxTransactionCommissiono0TUsTQ2
     * @uses KeyValueOfEntityIdentityProductMaxTransactionCommissiono0TUsTQ2::setKey()
     * @uses KeyValueOfEntityIdentityProductMaxTransactionCommissiono0TUsTQ2::setValue()
     * @param \patest\StructType\EntityIdentity $key
     * @param \patest\StructType\ProductMaxTransactionCommission $value
     */
    public function __construct(\patest\StructType\EntityIdentity $key = null, \patest\StructType\ProductMaxTransactionCommission $value = null)
    {
        $this
            ->setKey($key)
            ->setValue($value);
    }
    /**
     * Get Key value
     * @return \patest\StructType\EntityIdentity|null
     */
    public function getKey()
    {
        return $this->Key;
    }
    /**
     * Set Key value
     * @param \patest\StructType\EntityIdentity $key
     * @return \patest\StructType\KeyValueOfEntityIdentityProductMaxTransactionCommissiono0TUsTQ2
     */
    public function setKey(\patest\StructType\EntityIdentity $key = null)
    {
        $this->Key = $key;
        return $this;
    }
    /**
     * Get Value value
     * @return \patest\StructType\ProductMaxTransactionCommission|null
     */
    public function getValue()
    {
        return $this->Value;
    }
    /**
     * Set Value value
     * @param \patest\StructType\ProductMaxTransactionCommission $value
     * @return \patest\StructType\KeyValueOfEntityIdentityProductMaxTransactionCommissiono0TUsTQ2
     */
    public function setValue(\patest\StructType\ProductMaxTransactionCommission $value = null)
    {
        $this->Value = $value;
        return $this;
    }
}
