<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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