namespace NTP.Application.Refinery.Integrations;
///
/// Companion of (whose signatures are fixed): REFINERY_TRIPS.DINARAK_REFERENCE_ID is a decimal (352.1, 352.11 ...)
/// because ACTIVATE_WALLET_EXCHANGE adds 0.01 to it, so the status lookup by message id needs a decimal parameter.
/// The same class implements both interfaces.
///
public interface IDinarakReferenceGateway
{
///
/// Legacy getTransferByMessageID. StatusName is the Dinarak status ("Success", "Processing", "New", ...), "DISABLED" when the
/// integration is switched off (nothing is called) and "ERROR" when the answer could not be obtained or read.
///
Task GetTransferByReferenceAsync(decimal reference, CancellationToken ct = default);
}