src/Transaction/Transaction.php
public function restoreState()
    {
        if ($data = $this->stateService->getByKey(self::IDENTIFIER)) {
            list($this->total, $this->status, $this->updateRequested) = $data;
        }
    }
public function restoreState()
    {
        if ($data = $this->stateService->getByKey(self::IDENTIFIER)) {
            list($this->total, $this->status, $this->updateRequested) = $data;
        }
    }
public function restoreState ( ) { if ( $ data = $ this -> stateService -> getByKey ( self :: IDENTIFIER ) ) { list ( $ this -> total , $ this -> status , $ this -> updateRequested ) = $ data ; } }
Restores the state of the Transaction object
@return void
Restores the state of the Transaction object