updated document upload according to fresh api
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class PaymentExecutionOperation {
|
||||
final String? stepRef;
|
||||
final String? operationRef;
|
||||
final String? gateway;
|
||||
final String? code;
|
||||
final String? state;
|
||||
final String? label;
|
||||
@@ -12,6 +13,7 @@ class PaymentExecutionOperation {
|
||||
const PaymentExecutionOperation({
|
||||
required this.stepRef,
|
||||
required this.operationRef,
|
||||
required this.gateway,
|
||||
required this.code,
|
||||
required this.state,
|
||||
required this.label,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import 'package:pshared/models/payment/methods/type.dart';
|
||||
import 'package:pshared/models/payment/status.dart';
|
||||
|
||||
|
||||
class OperationItem {
|
||||
final OperationStatus status;
|
||||
final String? fileName;
|
||||
@@ -11,6 +10,8 @@ class OperationItem {
|
||||
final String toCurrency;
|
||||
final String payId;
|
||||
final String? paymentRef;
|
||||
final String? operationRef;
|
||||
final String? gatewayService;
|
||||
final String? cardNumber;
|
||||
final PaymentMethod? paymentMethod;
|
||||
final String name;
|
||||
@@ -26,6 +27,8 @@ class OperationItem {
|
||||
required this.toCurrency,
|
||||
required this.payId,
|
||||
this.paymentRef,
|
||||
this.operationRef,
|
||||
this.gatewayService,
|
||||
this.cardNumber,
|
||||
this.paymentMethod,
|
||||
required this.name,
|
||||
|
||||
Reference in New Issue
Block a user