1 27 28 29 package com.sun.ebank.util; 30 31 import java.math.BigDecimal ; 32 import java.util.Date ; 33 import java.util.ArrayList ; 34 35 36 39 public class TxDetails implements java.io.Serializable { 40 private String txId; 41 private String accountId; 42 private Date timeStamp; 43 private BigDecimal amount; 44 private BigDecimal balance; 45 private String description; 46 47 public TxDetails(String txId, String accountId, Date timeStamp, 48 BigDecimal amount, BigDecimal balance, String description) { 49 this.txId = txId; 50 this.accountId = accountId; 51 this.timeStamp = timeStamp; 52 this.amount = amount; 53 this.balance = balance; 54 this.description = description; 55 } 56 57 public String getTxId() { 59 return txId; 60 } 61 62 public String getAccountId() { 63 return accountId; 64 } 65 66 public Date getTimeStamp() { 67 return timeStamp; 68 } 69 70 public BigDecimal getAmount() { 71 return amount; 72 } 73 74 public BigDecimal getBalance() { 75 return balance; 76 } 77 78 public String getDescription() { 79 return description; 80 } 81 } 82 | Popular Tags |