diff --git a/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/mapper/DtoMapper.kt b/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/mapper/DtoMapper.kt index 1b91366d..a9a7184f 100644 --- a/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/mapper/DtoMapper.kt +++ b/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/mapper/DtoMapper.kt @@ -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, diff --git a/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/model/dto/response/AccountTransactionResponseDto.kt b/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/model/dto/response/AccountTransactionResponseDto.kt index 6440df66..867b923b 100644 --- a/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/model/dto/response/AccountTransactionResponseDto.kt +++ b/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/model/dto/response/AccountTransactionResponseDto.kt @@ -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?,