updated document upload according to fresh api
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import 'package:pshared/data/dto/payment/operation.dart';
|
||||
import 'package:pshared/models/payment/execution_operation.dart';
|
||||
|
||||
|
||||
extension PaymentOperationDTOMapper on PaymentOperationDTO {
|
||||
PaymentExecutionOperation toDomain() => PaymentExecutionOperation(
|
||||
stepRef: stepRef,
|
||||
operationRef: operationRef,
|
||||
gateway: gateway,
|
||||
code: code,
|
||||
state: state,
|
||||
label: label,
|
||||
@@ -20,6 +20,7 @@ extension PaymentExecutionOperationMapper on PaymentExecutionOperation {
|
||||
PaymentOperationDTO toDTO() => PaymentOperationDTO(
|
||||
stepRef: stepRef,
|
||||
operationRef: operationRef,
|
||||
gateway: gateway,
|
||||
code: code,
|
||||
state: state,
|
||||
label: label,
|
||||
|
||||
Reference in New Issue
Block a user