<?php

namespace Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for KeyValueOfCustomerArrayOfWalletFJlD39bd Struct
 * @subpackage Structs
 * @date 2019-10-21
 */
class KeyValueOfCustomerArrayOfWalletFJlD39bd extends AbstractStructBase
{
    /**
     * The Key
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var \Struct\Customer
     */
    public $Key;
    /**
     * The Value
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var \Array\ArrayOfWallet
     */
    public $Value;
    /**
     * Constructor method for KeyValueOfCustomerArrayOfWalletFJlD39bd
     * @uses KeyValueOfCustomerArrayOfWalletFJlD39bd::setKey()
     * @uses KeyValueOfCustomerArrayOfWalletFJlD39bd::setValue()
     * @param \Struct\Customer $key
     * @param \Array\ArrayOfWallet $value
     */
    public function __construct(\Struct\Customer $key = null, \Array\ArrayOfWallet $value = null)
    {
        $this
            ->setKey($key)
            ->setValue($value);
    }
    /**
     * Get Key value
     * @return \Struct\Customer|null
     */
    public function getKey()
    {
        return $this->Key;
    }
    /**
     * Set Key value
     * @param \Struct\Customer $key
     * @return \Struct\KeyValueOfCustomerArrayOfWalletFJlD39bd
     */
    public function setKey(\Struct\Customer $key = null)
    {
        $this->Key = $key;
        return $this;
    }
    /**
     * Get Value value
     * @return \Array\ArrayOfWallet|null
     */
    public function getValue()
    {
        return $this->Value;
    }
    /**
     * Set Value value
     * @param \Array\ArrayOfWallet $value
     * @return \Struct\KeyValueOfCustomerArrayOfWalletFJlD39bd
     */
    public function setValue(\Array\ArrayOfWallet $value = null)
    {
        $this->Value = $value;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \Struct\KeyValueOfCustomerArrayOfWalletFJlD39bd
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
