Dumplie\CustomerService\Domain\OrderState\Created::refund PHP Méthode

refund() public méthode

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