public function setType($type)
    {
        $type = (string) $type;

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

        $this->type = $type;

        return $this;
    }
public function setType($type)
    {
        $type = (string) $type;

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

        $this->type = $type;

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

@param  string $type
@return $this
Set value for field transaction_type