backend phase 9
This commit is contained in:
@@ -14,6 +14,21 @@ public sealed class SeamOptions
|
||||
public GeocodingOptions Geocoding { get; set; } = new();
|
||||
public ShahkarOptions Shahkar { get; set; } = new();
|
||||
public IdentityKycOptions IdentityKyc { get; set; } = new();
|
||||
public PaymentCaptureOptions PaymentCapture { get; set; } = new();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tunes the mock <c>IPaymentCaptureSimulator</c> (backend-phase-9). By default every capture succeeds with
|
||||
/// a fake gateway reference and <see cref="PspFeeAmount"/>. Set <see cref="ForceFailure"/> to exercise the
|
||||
/// "capture failed → no booking" path. The real b10 card capture ignores these.
|
||||
/// </summary>
|
||||
public sealed class PaymentCaptureOptions
|
||||
{
|
||||
/// <summary>When true, every capture returns a failed result so conversion refuses to create a booking.</summary>
|
||||
public bool ForceFailure { get; set; }
|
||||
|
||||
/// <summary>The PSP/gateway fee (IRR) the mock reports on a successful capture.</summary>
|
||||
public long? PspFeeAmount { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user