<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdateCustomerPasswordResponse StructType
 * @subpackage Structs
 */
class UpdateCustomerPasswordResponse extends AbstractStructBase
{
    /**
     * The UpdateCustomerPasswordResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\StructType\UpdateCustomerPasswordOutput
     */
    public $UpdateCustomerPasswordResult;
    /**
     * Constructor method for UpdateCustomerPasswordResponse
     * @uses UpdateCustomerPasswordResponse::setUpdateCustomerPasswordResult()
     * @param \CustomerManagement\StructType\UpdateCustomerPasswordOutput $updateCustomerPasswordResult
     */
    public function __construct(\CustomerManagement\StructType\UpdateCustomerPasswordOutput $updateCustomerPasswordResult = null)
    {
        $this
            ->setUpdateCustomerPasswordResult($updateCustomerPasswordResult);
    }
    /**
     * Get UpdateCustomerPasswordResult value
     * @return \CustomerManagement\StructType\UpdateCustomerPasswordOutput|null
     */
    public function getUpdateCustomerPasswordResult()
    {
        return $this->UpdateCustomerPasswordResult;
    }
    /**
     * Set UpdateCustomerPasswordResult value
     * @param \CustomerManagement\StructType\UpdateCustomerPasswordOutput $updateCustomerPasswordResult
     * @return \CustomerManagement\StructType\UpdateCustomerPasswordResponse
     */
    public function setUpdateCustomerPasswordResult(\CustomerManagement\StructType\UpdateCustomerPasswordOutput $updateCustomerPasswordResult = null)
    {
        $this->UpdateCustomerPasswordResult = $updateCustomerPasswordResult;
        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 \CustomerManagement\StructType\UpdateCustomerPasswordResponse
     */
    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__;
    }
}
