src/Entity/RateRequest.php
public function setShipment(Shipment $shipment)
    {
        $this->Shipment = $shipment;
        $this->shipment = $shipment;

        return $this;
    }
public function setShipment(Shipment $shipment)
    {
        $this->Shipment = $shipment;
        $this->shipment = $shipment;

        return $this;
    }
@param Shipment $shipment

@return $this