public function setWithAmount($withAmount = true)
    {
        $this->isBool($withAmount, 'withAmount');
        $this->withAmount = $withAmount;

        if ($withAmount === false) {
            $this->amount = 0.0;
        }

        return $this;
    }