improved logging in callbacks
This commit is contained in:
@@ -3,18 +3,20 @@ import 'package:pshared/api/requests/payment/base.dart';
|
||||
|
||||
part 'initiate_payments.g.dart';
|
||||
|
||||
|
||||
@JsonSerializable()
|
||||
class InitiatePaymentsRequest extends PaymentBaseRequest {
|
||||
final String quoteRef;
|
||||
final String? clientPaymentRef;
|
||||
|
||||
const InitiatePaymentsRequest({
|
||||
required super.idempotencyKey,
|
||||
super.metadata,
|
||||
required this.quoteRef,
|
||||
this.clientPaymentRef,
|
||||
});
|
||||
|
||||
factory InitiatePaymentsRequest.fromJson(Map<String, dynamic> json) => _$InitiatePaymentsRequestFromJson(json);
|
||||
factory InitiatePaymentsRequest.fromJson(Map<String, dynamic> json) =>
|
||||
_$InitiatePaymentsRequestFromJson(json);
|
||||
@override
|
||||
Map<String, dynamic> toJson() => _$InitiatePaymentsRequestToJson(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user