<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CreateCommitmentInput StructType
 * @subpackage Structs
 */
class CreateCommitmentInput extends AbstractStructBase
{
    /**
     * The CustomerInput
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\StructType\CreateCustomerInput
     */
    public $CustomerInput;
    /**
     * The CommitmentExpectedInfo
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\StructType\CommitmentRelatedInfo
     */
    public $CommitmentExpectedInfo;
    /**
     * Constructor method for CreateCommitmentInput
     * @uses CreateCommitmentInput::setCustomerInput()
     * @uses CreateCommitmentInput::setCommitmentExpectedInfo()
     * @param \CustomerManagement\StructType\CreateCustomerInput $customerInput
     * @param \CustomerManagement\StructType\CommitmentRelatedInfo $commitmentExpectedInfo
     */
    public function __construct(\CustomerManagement\StructType\CreateCustomerInput $customerInput = null, \CustomerManagement\StructType\CommitmentRelatedInfo $commitmentExpectedInfo = null)
    {
        $this
            ->setCustomerInput($customerInput)
            ->setCommitmentExpectedInfo($commitmentExpectedInfo);
    }
    /**
     * Get CustomerInput value
     * @return \CustomerManagement\StructType\CreateCustomerInput|null
     */
    public function getCustomerInput()
    {
        return $this->CustomerInput;
    }
    /**
     * Set CustomerInput value
     * @param \CustomerManagement\StructType\CreateCustomerInput $customerInput
     * @return \CustomerManagement\StructType\CreateCommitmentInput
     */
    public function setCustomerInput(\CustomerManagement\StructType\CreateCustomerInput $customerInput = null)
    {
        $this->CustomerInput = $customerInput;
        return $this;
    }
    /**
     * Get CommitmentExpectedInfo value
     * @return \CustomerManagement\StructType\CommitmentRelatedInfo|null
     */
    public function getCommitmentExpectedInfo()
    {
        return $this->CommitmentExpectedInfo;
    }
    /**
     * Set CommitmentExpectedInfo value
     * @param \CustomerManagement\StructType\CommitmentRelatedInfo $commitmentExpectedInfo
     * @return \CustomerManagement\StructType\CreateCommitmentInput
     */
    public function setCommitmentExpectedInfo(\CustomerManagement\StructType\CommitmentRelatedInfo $commitmentExpectedInfo = null)
    {
        $this->CommitmentExpectedInfo = $commitmentExpectedInfo;
        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\CreateCommitmentInput
     */
    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__;
    }
}
