<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for PlanningResultInsertNewProductOnTrip StructType
 * @subpackage Structs
 */
class PlanningResultInsertNewProductOnTrip extends ExecutionResult
{
    /**
     * The Products
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfProductResultInsert
     */
    public $Products;
    /**
     * Constructor method for PlanningResultInsertNewProductOnTrip
     * @uses PlanningResultInsertNewProductOnTrip::setProducts()
     * @param \ArrayType\ArrayOfProductResultInsert $products
     */
    public function __construct(\ArrayType\ArrayOfProductResultInsert $products = null)
    {
        $this
            ->setProducts($products);
    }
    /**
     * Get Products value
     * @return \ArrayType\ArrayOfProductResultInsert|null
     */
    public function getProducts()
    {
        return $this->Products;
    }
    /**
     * Set Products value
     * @param \ArrayType\ArrayOfProductResultInsert $products
     * @return \StructType\PlanningResultInsertNewProductOnTrip
     */
    public function setProducts(\ArrayType\ArrayOfProductResultInsert $products = null)
    {
        $this->Products = $products;
        return $this;
    }
}
