package com.accenture.multibank.entities;

import java.math.BigDecimal;

/**
 * @author manuel
 * @version 12/20/16
 */
public class Transaction {

	private String fromAccount;
	private String toAccount;
	private BigDecimal amount;
    private Status status;

    public Transaction() {
    }

	public Transaction(String from, String to, BigDecimal amount) {
		this.fromAccount = from;
		this.toAccount = to;
        this.amount = amount;
        this.status = Status.IN_PROCESS;
    }

	public String getFromAccountNumber() {
		return fromAccount;
    }

	public String getToAccountNumber() {
		return toAccount;
    }

    public int getAmount() {
        return amount;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }
}


@@ -618,22 +618,26 @@
  %7D%0A%0A
-    
+%09
 public 
-int
+BigDecimal
  get

fix Transaction