public interface TransferFeeServiceLocal extends TransferFeeService, CRUDServiceLocal<TransferFee,TransferFeeDTO,TransferFeeData,TransferTypeVO>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_FEE
Script attribute: fee being charged
|
static java.lang.String |
ATTR_TRANSFER
Script attribute: parent transfer (transfer which triggered the fee)
|
| Modifier and Type | Method and Description |
|---|---|
TransferFeeTransfer |
buildTransfer(TransferFee fee,
Transfer parent)
Builds the transfer which would pay the given fee when the given original transfer is performed
|
java.util.List<TransferFee> |
listAll(TransferType transferType)
Returns all fees for the given transfer type
|
TransferFeesPreviewVO |
preview(PaymentTransferType paymentType,
org.cyclos.impl.banking.LocateAccountOwnerResult fromOwner,
org.cyclos.impl.banking.LocateAccountOwnerResult toOwner,
java.math.BigDecimal originalAmount)
Preview the fees which would be generated by the given payment
|
list, listPossibleGeneratedTransferTypesfind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetData, getDataForNew, load, remove, removeAll, savestatic final java.lang.String ATTR_FEE
static final java.lang.String ATTR_TRANSFER
TransferFeeTransfer buildTransfer(TransferFee fee, Transfer parent)
java.util.List<TransferFee> listAll(TransferType transferType)
TransferFeesPreviewVO preview(PaymentTransferType paymentType, org.cyclos.impl.banking.LocateAccountOwnerResult fromOwner, org.cyclos.impl.banking.LocateAccountOwnerResult toOwner, java.math.BigDecimal originalAmount)