<?php

namespace UpsFreeVendor\Ups\Entity;

class RateRequest
{
    /** @deprecated */
    public $PickupType;
    /** @deprecated */
    public $Shipment;
    /**
     * @var PickupType|null
     */
    private $pickupType;
    /**
     * @var CustomerClassification
     */
    private $customerClassification;
    /**
     * @var Shipment
     */
    private $shipment;
    public function __construct()
    {
        $this->setShipment(new Shipment());
        $this->setPickupType(new PickupType());
    }
    /**
     * @return PickupType|null
     */
    public function getPickupType()
    {
        return $this->pickupType;
    }
    /**
     * @param PickupType|null $pickupType
     *
     * @return $this
     */
    public function setPickupType($pickupType)
    {
        $this->PickupType = $pickupType;
        $this->pickupType = $pickupType;
        return $this;
    }
    /**
     * @return CustomerClassification
     */
    public function getCustomerClassification()
    {
        return $this->customerClassification;
    }
    /**
     * @param CustomerClassification $customerClassification
     *
     * @return $this
     */
    public function setCustomerClassification(CustomerClassification $customerClassification)
    {
        $this->customerClassification = $customerClassification;
        return $this;
    }
    /**
     * @return Shipment
     */
    public function getShipment()
    {
        return $this->shipment;
    }
    /**
     * @param Shipment $shipment
     *
     * @return $this
     */
    public function setShipment(Shipment $shipment)
    {
        $this->Shipment = $shipment;
        $this->shipment = $shipment;
        return $this;
    }
}
