<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetCustomerListWithTroubleConditionsCsvResponse StructType
 * @subpackage Structs
 */
class GetCustomerListWithTroubleConditionsCsvResponse extends AbstractStructBase
{
    /**
     * The GetCustomerListWithTroubleConditionsCsvResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $GetCustomerListWithTroubleConditionsCsvResult;
    /**
     * Constructor method for GetCustomerListWithTroubleConditionsCsvResponse
     * @uses GetCustomerListWithTroubleConditionsCsvResponse::setGetCustomerListWithTroubleConditionsCsvResult()
     * @param string $getCustomerListWithTroubleConditionsCsvResult
     */
    public function __construct($getCustomerListWithTroubleConditionsCsvResult = null)
    {
        $this
            ->setGetCustomerListWithTroubleConditionsCsvResult($getCustomerListWithTroubleConditionsCsvResult);
    }
    /**
     * Get GetCustomerListWithTroubleConditionsCsvResult value
     * @return string|null
     */
    public function getGetCustomerListWithTroubleConditionsCsvResult()
    {
        return $this->GetCustomerListWithTroubleConditionsCsvResult;
    }
    /**
     * Set GetCustomerListWithTroubleConditionsCsvResult value
     * @param string $getCustomerListWithTroubleConditionsCsvResult
     * @return \CustomerManagement\StructType\GetCustomerListWithTroubleConditionsCsvResponse
     */
    public function setGetCustomerListWithTroubleConditionsCsvResult($getCustomerListWithTroubleConditionsCsvResult = null)
    {
        // validation for constraint: string
        if (!is_null($getCustomerListWithTroubleConditionsCsvResult) && !is_string($getCustomerListWithTroubleConditionsCsvResult)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($getCustomerListWithTroubleConditionsCsvResult, true), gettype($getCustomerListWithTroubleConditionsCsvResult)), __LINE__);
        }
        $this->GetCustomerListWithTroubleConditionsCsvResult = $getCustomerListWithTroubleConditionsCsvResult;
        return $this;
    }
}
