Dumplie\CustomerService\Domain\PaymentState\Rejected::reject PHP Method

reject() public method

public reject ( ) : Dumplie\CustomerService\Domain\PaymentState
return Dumplie\CustomerService\Domain\PaymentState
    public function reject() : PaymentState
    {
        throw InvalidTransitionException::finalState('rejected');
    }