Common/Calculator/Adjustment.php
public function isSameAs(Adjustment $adjustment): bool
    {
        return $this->name === $adjustment->getName() && $this->rate === $adjustment->getRate();
    }
public function isSameAs(Adjustment $adjustment): bool
    {
        return $this->name === $adjustment->getName() && $this->rate === $adjustment->getRate();
    }
Returns whether or not this adjustment is the same as the given one.

@param Adjustment $adjustment

@return bool