Added currency and bookingDate to AccountTransactionResponseDto
This commit is contained in:
parent
beb2702257
commit
ab35c7f49f
|
@ -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,
|
||||
|
|
|
@ -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?,
|
||||
|
|
Loading…
Reference in New Issue