<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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