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

pay() public method

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