reject() public method

public reject ( ) : Dumplie\CustomerService\Domain\PaymentState
return Dumplie\CustomerService\Domain\PaymentState
Beispiel #1
0
 /**
  * @throws InvalidTransitionException
  */
 public function reject()
 {
     $this->state = $this->state->reject();
     $this->wasRejectedAt = new \DateTimeImmutable();
 }