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_PREVIEW_PARAMETERS
Script attribute: The
PerformPaymentDTO being previewed |
static java.lang.String |
ATTR_TRANSFER
Script attribute: parent transfer (transfer which triggered the fee)
|
| Modifier and Type | Method and Description |
|---|---|
TransferFeeTransfer |
buildTransfer(PerformTransactionDTO performTransaction,
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(PerformTransactionDTO performTransaction,
PaymentTransferType paymentType,
LocateAccountOwnerResult fromOwner,
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_PREVIEW_PARAMETERS
PerformPaymentDTO being previewedstatic final java.lang.String ATTR_FEE
static final java.lang.String ATTR_TRANSFER
TransferFeeTransfer buildTransfer(@Nullable PerformTransactionDTO performTransaction, TransferFee fee, Transfer parent)
java.util.List<TransferFee> listAll(TransferType transferType)
TransferFeesPreviewVO preview(PerformTransactionDTO performTransaction, PaymentTransferType paymentType, LocateAccountOwnerResult fromOwner, LocateAccountOwnerResult toOwner, java.math.BigDecimal originalAmount)