Class ActionRuleSettings
- Namespace
- SEBT.Portal.Core.AppSettings
- Assembly
- SEBT.Portal.Core.dll
Rules for a single self-service action (e.g., address update or card replacement).
public class ActionRuleSettings
- Inheritance
-
objectActionRuleSettings
Properties
ByIssuanceType
Per-issuance-type rules. Keys are IssuanceType enum names (e.g., "SummerEbt", "TanfEbtCard", "SnapEbtCard", "Unknown"). Issuance types not present in this dictionary are denied by default.
public Dictionary<IssuanceType, IssuanceTypeRuleSettings> ByIssuanceType { get; set; }
Property Value
- Dictionary<IssuanceType, IssuanceTypeRuleSettings>
DisableDaysBeforeExpiration
Optional. When set, card replacement is denied for a case once today (the
state's OutageSchedule:TimeZoneId calendar date) is within this many
days of BenefitExpirationDate, inclusive: remaining days ≤ this value.
Null or omitted leaves replacement available until other rules deny it.
Independent of Enabled: a statewide off still denies every card,
and this cutoff still applies when statewide is on. Applied only to card
replacement, not address update. A missing expiration date does not trigger
this cutoff.
public int? DisableDaysBeforeExpiration { get; set; }
Property Value
- int?
DisabledMessageKey
Optional i18n key for the message shown when this action is denied. The frontend maps this key to a localized string via the translation system.
public string? DisabledMessageKey { get; set; }
Property Value
- string
Enabled
Top-level toggle for this action at the state level. When false, the action is disabled regardless of issuance type or card status.
public bool Enabled { get; set; }
Property Value
- bool