Package org.cyclos.impl.banking
Class TransferFeeRecipe
- java.lang.Object
-
- org.cyclos.impl.banking.TransferFeeRecipe
-
public class TransferFeeRecipe extends Object
Defines how a transfer fee will be charged
-
-
Constructor Summary
Constructors Constructor Description TransferFeeRecipe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAmount()InternalAccountOwnergetFrom()AccountgetFromAccount()InternalAccountOwnergetTo()AccountgetToAccount()GeneratedTransferTypegetType()voidsetAmount(BigDecimal amount)voidsetFrom(InternalAccountOwner from)voidsetFromAccount(Account fromAccount)voidsetTo(InternalAccountOwner to)voidsetToAccount(Account toAccount)voidsetType(GeneratedTransferType type)
-
-
-
Method Detail
-
getAmount
public BigDecimal getAmount()
-
getFrom
public InternalAccountOwner getFrom()
-
getFromAccount
public Account getFromAccount()
-
getTo
public InternalAccountOwner getTo()
-
getToAccount
public Account getToAccount()
-
getType
public GeneratedTransferType getType()
-
setAmount
public void setAmount(BigDecimal amount)
-
setFrom
public void setFrom(InternalAccountOwner from)
-
setFromAccount
public void setFromAccount(Account fromAccount)
-
setTo
public void setTo(InternalAccountOwner to)
-
setToAccount
public void setToAccount(Account toAccount)
-
setType
public void setType(GeneratedTransferType type)
-
-