public reject ( ) : Dumplie\CustomerService\Domain\PaymentState | ||
리턴 | Dumplie\CustomerService\Domain\PaymentState |
/** * @throws InvalidTransitionException */ public function reject() { $this->state = $this->state->reject(); $this->wasRejectedAt = new \DateTimeImmutable(); }