<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of AuthTransaction
 *
 * @author Kunal Mestri <kunal@laurus-it.com>
 */
class AuthTransaction {
    private $transId;
    private $transType;
    private $transUpdatedDate;
    private $transIPAdd;
    private $transUserId;
    private $transText;
    public function getTransId() {
        return $this->transId;
    }

    public function setTransId($transId) {
        $this->transId = $transId;
    }

    public function getTransType() {
        return $this->transType;
    }

    public function setTransType($transType) {
        $this->transType = $transType;
    }

    public function getTransUpdatedDate() {
        return $this->transUpdatedDate;
    }

    public function setTransUpdatedDate($transUpdatedDate) {
        $this->transUpdatedDate = $transUpdatedDate;
    }

    public function getTransIPAdd() {
        return $this->transIPAdd;
    }

    public function setTransIPAdd($transIPAdd) {
        $this->transIPAdd = $transIPAdd;
    }

    public function getTransUserId() {
        return $this->transUserId;
    }

    public function setTransUserId($transUserId) {
        $this->transUserId = $transUserId;
    }

    public function getTransText() {
        return $this->transText;
    }

    public function setTransText($transText) {
        $this->transText = $transText;
    }

     public function toJson(){
        $jsonMap=new Map();
        $jsonMap->put("transId", $this->getTransId());
        $jsonMap->put("transUserId", $this->getTransUserId());
        $jsonMap->put("transIPAdd", $this->getTransIPAdd());
        $jsonMap->put("transType", $this->getTransType());
        $jsonMap->put("transUpdatedDate", $this->getTransUpdatedDate());
        return $jsonMap->toJson();
    }
    
    
    
}

?>
