<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_RentacarBookLocationDetails StructType
 * @subpackage Structs
 */
class JP_RentacarBookLocationDetails extends AbstractStructBase
{
    /**
     * The RentacarLocationDetailPickUp
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_RentacarLocationDetail
     */
    public $RentacarLocationDetailPickUp;
    /**
     * The RentacarLocationDetailDropOff
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_RentacarLocationDetail
     */
    public $RentacarLocationDetailDropOff;
    /**
     * Constructor method for JP_RentacarBookLocationDetails
     * @uses JP_RentacarBookLocationDetails::setRentacarLocationDetailPickUp()
     * @uses JP_RentacarBookLocationDetails::setRentacarLocationDetailDropOff()
     * @param \StructType\JP_RentacarLocationDetail $rentacarLocationDetailPickUp
     * @param \StructType\JP_RentacarLocationDetail $rentacarLocationDetailDropOff
     */
    public function __construct(\StructType\JP_RentacarLocationDetail $rentacarLocationDetailPickUp = null, \StructType\JP_RentacarLocationDetail $rentacarLocationDetailDropOff = null)
    {
        $this
            ->setRentacarLocationDetailPickUp($rentacarLocationDetailPickUp)
            ->setRentacarLocationDetailDropOff($rentacarLocationDetailDropOff);
    }
    /**
     * Get RentacarLocationDetailPickUp value
     * @return \StructType\JP_RentacarLocationDetail|null
     */
    public function getRentacarLocationDetailPickUp()
    {
        return $this->RentacarLocationDetailPickUp;
    }
    /**
     * Set RentacarLocationDetailPickUp value
     * @param \StructType\JP_RentacarLocationDetail $rentacarLocationDetailPickUp
     * @return \StructType\JP_RentacarBookLocationDetails
     */
    public function setRentacarLocationDetailPickUp(\StructType\JP_RentacarLocationDetail $rentacarLocationDetailPickUp = null)
    {
        $this->RentacarLocationDetailPickUp = $rentacarLocationDetailPickUp;
        return $this;
    }
    /**
     * Get RentacarLocationDetailDropOff value
     * @return \StructType\JP_RentacarLocationDetail|null
     */
    public function getRentacarLocationDetailDropOff()
    {
        return $this->RentacarLocationDetailDropOff;
    }
    /**
     * Set RentacarLocationDetailDropOff value
     * @param \StructType\JP_RentacarLocationDetail $rentacarLocationDetailDropOff
     * @return \StructType\JP_RentacarBookLocationDetails
     */
    public function setRentacarLocationDetailDropOff(\StructType\JP_RentacarLocationDetail $rentacarLocationDetailDropOff = null)
    {
        $this->RentacarLocationDetailDropOff = $rentacarLocationDetailDropOff;
        return $this;
    }
}
