public function getPaymentStateLabel($stateOrPayment)
    {
        $state = $stateOrPayment instanceof PaymentInterface ? $stateOrPayment->getState() : $stateOrPayment;

        return $this->translator->trans(PaymentStates::getLabel($state));
    }