Separated request idempotency from intent identity
This commit is contained in:
@@ -9,6 +9,7 @@ part 'quote.g.dart';
|
||||
@JsonSerializable()
|
||||
class QuotePaymentRequest extends PaymentBaseRequest {
|
||||
final PaymentIntentDTO intent;
|
||||
final String? intentKey;
|
||||
|
||||
@JsonKey(defaultValue: false)
|
||||
final bool previewOnly;
|
||||
@@ -17,6 +18,7 @@ class QuotePaymentRequest extends PaymentBaseRequest {
|
||||
required super.idempotencyKey,
|
||||
super.metadata,
|
||||
required this.intent,
|
||||
this.intentKey,
|
||||
this.previewOnly = false,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user