public function setDate($date)
    {
        $date = (string) $date;

        if ($this->exists() && $this->date !== $date) {
            $this->updated['date'] = true;
        }

        $this->date = $date;

        return $this;
    }
public function setDate($date)
    {
        $date = (string) $date;

        if ($this->exists() && $this->date !== $date) {
            $this->updated['date'] = true;
        }

        $this->date = $date;

        return $this;
    }
public function setDate ( $ date ) { $ date = ( string ) $ date ; if ( $ this -> exists ( ) && $ this -> date !== $ date ) { $ this -> updated [ 'date' ] = true ; } $ this -> date = $ date ; return $ this ; }
Set value for field "transaction_date"

@param  string $date
@return $this
Set value for field transaction_date