<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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