added comment for payment, changed intent and added amount ui in operations
This commit is contained in:
@@ -10,6 +10,7 @@ extension PaymentDTOMapper on PaymentDTO {
|
||||
Payment toDomain() => Payment(
|
||||
paymentRef: paymentRef,
|
||||
state: state,
|
||||
comment: comment,
|
||||
source: source?.toDomain(),
|
||||
destination: destination?.toDomain(),
|
||||
orchestrationState: paymentOrchestrationStateFromValue(state),
|
||||
@@ -26,6 +27,7 @@ extension PaymentMapper on Payment {
|
||||
PaymentDTO toDTO() => PaymentDTO(
|
||||
paymentRef: paymentRef,
|
||||
state: state ?? paymentOrchestrationStateToValue(orchestrationState),
|
||||
comment: comment,
|
||||
source: source?.toDTO(),
|
||||
destination: destination?.toDTO(),
|
||||
failureCode: failureCode,
|
||||
|
||||
Reference in New Issue
Block a user