Dumplie\CustomerService\Domain\OrderState\Refunded::refund PHP Method

refund() public method

public refund ( ) : Dumplie\CustomerService\Domain\OrderState
return Dumplie\CustomerService\Domain\OrderState
    public function refund() : OrderState
    {
        throw InvalidTransitionException::finalState('refunded');
    }