<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdatePrimaryPhoneResponse StructType
 * @subpackage Structs
 */
class UpdatePrimaryPhoneResponse extends AbstractStructBase
{
    /**
     * The UpdatePrimaryPhoneResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\StructType\UpdatePrimaryPhoneOutput
     */
    public $UpdatePrimaryPhoneResult;
    /**
     * Constructor method for UpdatePrimaryPhoneResponse
     * @uses UpdatePrimaryPhoneResponse::setUpdatePrimaryPhoneResult()
     * @param \CustomerManagement\StructType\UpdatePrimaryPhoneOutput $updatePrimaryPhoneResult
     */
    public function __construct(\CustomerManagement\StructType\UpdatePrimaryPhoneOutput $updatePrimaryPhoneResult = null)
    {
        $this
            ->setUpdatePrimaryPhoneResult($updatePrimaryPhoneResult);
    }
    /**
     * Get UpdatePrimaryPhoneResult value
     * @return \CustomerManagement\StructType\UpdatePrimaryPhoneOutput|null
     */
    public function getUpdatePrimaryPhoneResult()
    {
        return $this->UpdatePrimaryPhoneResult;
    }
    /**
     * Set UpdatePrimaryPhoneResult value
     * @param \CustomerManagement\StructType\UpdatePrimaryPhoneOutput $updatePrimaryPhoneResult
     * @return \CustomerManagement\StructType\UpdatePrimaryPhoneResponse
     */
    public function setUpdatePrimaryPhoneResult(\CustomerManagement\StructType\UpdatePrimaryPhoneOutput $updatePrimaryPhoneResult = null)
    {
        $this->UpdatePrimaryPhoneResult = $updatePrimaryPhoneResult;
        return $this;
    }
}
