<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SubcontractedVehicleResult StructType
 * @subpackage Structs
 */
class SubcontractedVehicleResult extends AbstractStructBase
{
    /**
     * The CompanySubscription
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfSubcontractedResultStrategy
     */
    public $CompanySubscription;
    /**
     * The VehicleSubscription
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfSubcontractedResultStrategy
     */
    public $VehicleSubscription;
    /**
     * Constructor method for SubcontractedVehicleResult
     * @uses SubcontractedVehicleResult::setCompanySubscription()
     * @uses SubcontractedVehicleResult::setVehicleSubscription()
     * @param \ArrayType\ArrayOfSubcontractedResultStrategy $companySubscription
     * @param \ArrayType\ArrayOfSubcontractedResultStrategy $vehicleSubscription
     */
    public function __construct(\ArrayType\ArrayOfSubcontractedResultStrategy $companySubscription = null, \ArrayType\ArrayOfSubcontractedResultStrategy $vehicleSubscription = null)
    {
        $this
            ->setCompanySubscription($companySubscription)
            ->setVehicleSubscription($vehicleSubscription);
    }
    /**
     * Get CompanySubscription value
     * @return \ArrayType\ArrayOfSubcontractedResultStrategy|null
     */
    public function getCompanySubscription()
    {
        return $this->CompanySubscription;
    }
    /**
     * Set CompanySubscription value
     * @param \ArrayType\ArrayOfSubcontractedResultStrategy $companySubscription
     * @return \StructType\SubcontractedVehicleResult
     */
    public function setCompanySubscription(\ArrayType\ArrayOfSubcontractedResultStrategy $companySubscription = null)
    {
        $this->CompanySubscription = $companySubscription;
        return $this;
    }
    /**
     * Get VehicleSubscription value
     * @return \ArrayType\ArrayOfSubcontractedResultStrategy|null
     */
    public function getVehicleSubscription()
    {
        return $this->VehicleSubscription;
    }
    /**
     * Set VehicleSubscription value
     * @param \ArrayType\ArrayOfSubcontractedResultStrategy $vehicleSubscription
     * @return \StructType\SubcontractedVehicleResult
     */
    public function setVehicleSubscription(\ArrayType\ArrayOfSubcontractedResultStrategy $vehicleSubscription = null)
    {
        $this->VehicleSubscription = $vehicleSubscription;
        return $this;
    }
}
