dist1.acb.common.transport.concretePackets
Class RequestMoneyFromAccount

java.lang.Object
  extended bydist1.acb.common.transport.Packet
      extended bydist1.acb.common.transport.Request
          extended bydist1.acb.common.transport.RequestUpdate
              extended bydist1.acb.common.transport.concretePackets.RequestMoneyFromAccount
All Implemented Interfaces:
java.io.Serializable

public class RequestMoneyFromAccount
extends RequestUpdate

The peer wants to transfer money from the ACB system to his/her bank

Author:
Lazar Adzigogov
See Also:
Serialized Form

Constructor Summary
RequestMoneyFromAccount(java.lang.String bankAccountNumber, java.math.BigDecimal money)
          Creates a new instance of RequestMoneyFromAccount
 
Method Summary
 java.lang.String getBankAccountNumber()
          Getter for property bankAccountNumber.
 java.math.BigDecimal getMoney()
          Getter for property money.
 void setBankAccountNumber(java.lang.String bankAccountNumber)
          Setter for property bankAccountNumber.
 void setMoney(java.math.BigDecimal money)
          Setter for property money.
 
Methods inherited from class dist1.acb.common.transport.Packet
equals, getId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestMoneyFromAccount

public RequestMoneyFromAccount(java.lang.String bankAccountNumber,
                               java.math.BigDecimal money)
Creates a new instance of RequestMoneyFromAccount

Parameters:
bankAccountNumber - bankAccount
money - Amount of maney
Method Detail

setBankAccountNumber

public void setBankAccountNumber(java.lang.String bankAccountNumber)
Setter for property bankAccountNumber.

Parameters:
bankAccountNumber - New value of property bankAccountNumber.

getBankAccountNumber

public java.lang.String getBankAccountNumber()
Getter for property bankAccountNumber.

Returns:
Value of property bankAccountNumber.

setMoney

public void setMoney(java.math.BigDecimal money)
Setter for property money.

Parameters:
money - New value of property money.

getMoney

public java.math.BigDecimal getMoney()
Getter for property money.

Returns:
Value of property money.


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.