public function timeStamp($timestamp = null) 
     {
        $ts = $timestamp ?: $this->getAttribute("timeStamp");
        if (is_integer($ts) || $ts instanceof TimeWindow) {
            return new TimeWindow(["timeStamp" => $ts]);
        }

        return new TimeWindow();
    }
public function timeStamp($timestamp = null) 
     {
        $ts = $timestamp ?: $this->getAttribute("timeStamp");
        if (is_integer($ts) || $ts instanceof TimeWindow) {
            return new TimeWindow(["timeStamp" => $ts]);
        }

        return new TimeWindow();
    }
public function timeStamp ( $ timestamp = null ) { $ ts = $ timestamp ? : $ this -> getAttribute ( "timeStamp" ) ; if ( is_integer ( $ ts ) || $ ts instanceof TimeWindow ) { return new TimeWindow ( [ "timeStamp" => $ ts ] ) ; } return new TimeWindow ( ) ; }
Returns timestamp of the transaction.

@return int
Returns timestamp of the transaction .