<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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