|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dist1.acb.common.transport.Packet dist1.acb.common.transport.Request dist1.acb.common.transport.RequestUpdate dist1.acb.common.transport.concretePackets.RequestMoneyToAccount
Request to add credit to the user's account
Constructor Summary | |
RequestMoneyToAccount(java.lang.String creditCardNumber,
java.math.BigDecimal money)
Creates a new instance of RequestMoneyToAccount |
Method Summary | |
java.lang.String |
getCreditCardNumber()
Getter for property creditCardNumber. |
java.math.BigDecimal |
getMoney()
Getter for property money. |
void |
setCreditCardNumber(java.lang.String creditCardNumber)
Setter for property creditCardNumber. |
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 |
public RequestMoneyToAccount(java.lang.String creditCardNumber, java.math.BigDecimal money)
creditCardNumber
- Card's numbermoney
- Amount of moneyMethod Detail |
public void setCreditCardNumber(java.lang.String creditCardNumber)
creditCardNumber
- New value of property creditCardNumber.public java.lang.String getCreditCardNumber()
public void setMoney(java.math.BigDecimal money)
money
- New value of property money.public java.math.BigDecimal getMoney()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |