improving error message on batch item processing
This commit is contained in:
@@ -57,6 +57,8 @@ class GroupBatchItem {
|
||||
final String? status;
|
||||
final String? transactionId;
|
||||
final String? errorMessage;
|
||||
final String? confirmError;
|
||||
final String? integrationError;
|
||||
final String? createdAt;
|
||||
final String? billName;
|
||||
final String? billProductName;
|
||||
@@ -80,6 +82,8 @@ class GroupBatchItem {
|
||||
this.providerLabel,
|
||||
this.providerImage,
|
||||
this.creditAddress,
|
||||
this.confirmError,
|
||||
this.integrationError,
|
||||
});
|
||||
|
||||
factory GroupBatchItem.fromJson(Map<String, dynamic> json) =>
|
||||
|
||||
@@ -62,6 +62,8 @@ GroupBatchItem _$GroupBatchItemFromJson(Map<String, dynamic> json) =>
|
||||
providerLabel: json['providerLabel'] as String?,
|
||||
providerImage: json['providerImage'] as String?,
|
||||
creditAddress: json['creditAddress'] as String?,
|
||||
confirmError: json['confirmError'] as String?,
|
||||
integrationError: json['integrationError'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$GroupBatchItemToJson(GroupBatchItem instance) =>
|
||||
@@ -75,6 +77,8 @@ Map<String, dynamic> _$GroupBatchItemToJson(GroupBatchItem instance) =>
|
||||
'status': instance.status,
|
||||
'transactionId': instance.transactionId,
|
||||
'errorMessage': instance.errorMessage,
|
||||
'confirmError': instance.confirmError,
|
||||
'integrationError': instance.integrationError,
|
||||
'createdAt': instance.createdAt,
|
||||
'billName': instance.billName,
|
||||
'billProductName': instance.billProductName,
|
||||
|
||||
@@ -2994,6 +2994,8 @@ class _BatchDetailScreenState extends State<BatchDetailScreen>
|
||||
],
|
||||
),
|
||||
Text(item.creditAddress ?? ''),
|
||||
Text(item.confirmError ?? ''),
|
||||
Text(item.integrationError ?? ''),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user