Added currency and bookingDate to AccountTransactionResponseDto

This commit is contained in:
dankito 2021-04-17 17:16:08 +02:00
parent beb2702257
commit ab35c7f49f
2 changed files with 4 additions and 0 deletions

View File

@ -94,7 +94,9 @@ open class DtoMapper {
protected open fun map(transaction: AccountTransaction): AccountTransactionResponseDto {
return AccountTransactionResponseDto(
map(transaction.amount),
transaction.amount.currency.code,
transaction.reference,
transaction.bookingDate,
transaction.otherPartyName,
transaction.otherPartyBankCode,
transaction.otherPartyAccountId,

View File

@ -6,7 +6,9 @@ import java.math.BigDecimal
open class AccountTransactionResponseDto(
open val amount: BigDecimal,
open val currency: String,
open val reference: String,
open val bookingDate: Date,
open val otherPartyName: String?,
open val otherPartyBankCode: String?,
open val otherPartyAccountId: String?,