<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for QueryPricingVariationsCatalogResponse StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:QueryPricingVariationsCatalogResponse
 * @subpackage Structs
 */
class QueryPricingVariationsCatalogResponse extends ExtensibleDataContract
{
    /**
     * The PricingVariationsInformation
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\ArrayType\ArrayOfKeyValueOfintPricingTreevEzo7Bse
     */
    public $PricingVariationsInformation;
    /**
     * Constructor method for QueryPricingVariationsCatalogResponse
     * @uses QueryPricingVariationsCatalogResponse::setPricingVariationsInformation()
     * @param \patest\ArrayType\ArrayOfKeyValueOfintPricingTreevEzo7Bse $pricingVariationsInformation
     */
    public function __construct(\patest\ArrayType\ArrayOfKeyValueOfintPricingTreevEzo7Bse $pricingVariationsInformation = null)
    {
        $this
            ->setPricingVariationsInformation($pricingVariationsInformation);
    }
    /**
     * Get PricingVariationsInformation value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\ArrayType\ArrayOfKeyValueOfintPricingTreevEzo7Bse|null
     */
    public function getPricingVariationsInformation()
    {
        return isset($this->PricingVariationsInformation) ? $this->PricingVariationsInformation : null;
    }
    /**
     * Set PricingVariationsInformation value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\ArrayType\ArrayOfKeyValueOfintPricingTreevEzo7Bse $pricingVariationsInformation
     * @return \patest\StructType\QueryPricingVariationsCatalogResponse
     */
    public function setPricingVariationsInformation(\patest\ArrayType\ArrayOfKeyValueOfintPricingTreevEzo7Bse $pricingVariationsInformation = null)
    {
        if (is_null($pricingVariationsInformation) || (is_array($pricingVariationsInformation) && empty($pricingVariationsInformation))) {
            unset($this->PricingVariationsInformation);
        } else {
            $this->PricingVariationsInformation = $pricingVariationsInformation;
        }
        return $this;
    }
}
