src/Entity/RateRequest.php
public function setPickupType(PickupType $pickupType)
    {
        $this->PickupType = $pickupType;
        $this->pickupType = $pickupType;

        return $this;
    }
public function setPickupType(PickupType $pickupType)
    {
        $this->PickupType = $pickupType;
        $this->pickupType = $pickupType;

        return $this;
    }
public function setPickupType ( PickupType $ pickupType ) { $ this -> PickupType = $ pickupType ; $ this -> pickupType = $ pickupType ; return $ this ; }
@param PickupType $pickupType

@return $this
@param PickupType $pickupType