Class PostSettlementActionEvent
Raised after the settlement engine attempted a settlement, whether it succeeded or failed. Register an IEventHandler<TEvent> for it to record transfers, notify a user, or drive a retry of your own.
public record PostSettlementActionEvent : IEquatable<PostSettlementActionEvent>
- Inheritance
-
PostSettlementActionEvent
- Implements
- Inherited Members
Constructors
PostSettlementActionEvent(SettlementRequest, SettlementResult?, ActionState, string?)
Raised after the settlement engine attempted a settlement, whether it succeeded or failed. Register an IEventHandler<TEvent> for it to record transfers, notify a user, or drive a retry of your own.
public PostSettlementActionEvent(SettlementRequest Request, SettlementResult? Result, ActionState State, string? FailReason)
Parameters
RequestSettlementRequestThe settlement that was attempted.
ResultSettlementResultThe outcome when
Stateis successful; otherwise null.StateActionStateWhether the settlement succeeded.
FailReasonstringFailure message when the settlement failed; otherwise null.
Properties
FailReason
Failure message when the settlement failed; otherwise null.
public string? FailReason { get; init; }
Property Value
Request
The settlement that was attempted.
public SettlementRequest Request { get; init; }
Property Value
Result
The outcome when State is successful; otherwise null.
public SettlementResult? Result { get; init; }
Property Value
State
Whether the settlement succeeded.
public ActionState State { get; init; }