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

refund() public method

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