<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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