private function validateBalance($quote, $balanceBase, $partialBase, $partial)
    {
        if ($partialBase > $balanceBase) {
            if ($balanceBase > 0) {
                $partialBase = $balanceBase;
                $currTo = $quote->getQuoteCurrencyCode();
                $partial = $this->priceCurrency->convertAndRound($partialBase, null, $currTo);
            } else {
                /* wallet is empty or negative */
                $partial = $partialBase = 0;
            }
        }
        return [$partialBase, $partial];
    }