Lookup Options
The main configuration class for the lookup services. Contains resolver delegates for resolving images, names, and prices; feature flags; warranty settings; and storage options.
| Property | Summary |
|---|---|
ServiceItemImageUrlResolver Func<LookupOptionResolverModel<Dictionary<string,string>>, ValueTask<string?>>? |
Resolver delegate that converts a multilingual image dictionary to a resolved image URL for service items. |
BrandStandardWarrantyPeriodsInYears Dictionary<long?, int> |
A dictionary mapping brand IDs to their standard warranty period in years. |
PaintThickneesImageUrlResolver Func<LookupOptionResolverModel<string>,ValueTask<string?>>? |
Resolver delegate that converts a paint thickness image path to a full URL. |
AccessoryImageUrlResolver Func<LookupOptionResolverModel<string>, ValueTask<string?>>? |
Resolver delegate that converts an accessory image path to a full URL. |
CompanyLogoImageResolver Func<LookupOptionResolverModel<List<ShiftFileDTO>?>, ValueTask<List<ShiftFileDTO>?>>? |
Resolver delegate that resolves company logo images. |
PartLocationNameResolver Func<LookupOptionResolverModel<PartLocationNameResolverModel>, ValueTask<string?>>? |
Resolver delegate that resolves a part location identifier to a human-readable name. |
CountryFromBranchIDResolver Func<LookupOptionResolverModel<long?>, ValueTask<(long? countryID, string countryName)?>>? |
Resolver delegate that resolves a branch ID to its country ID and name. |
CountryNameResolver Func<LookupOptionResolverModel<long?>, ValueTask<string?>>? |
Resolver delegate that resolves a country ID to its name. |
RegionNameResolver Func<LookupOptionResolverModel<long?>, ValueTask<string?>>? |
Resolver delegate that resolves a region ID to its name. |
CompanyNameResolver Func<LookupOptionResolverModel<long?>, ValueTask<string?>>? |
Resolver delegate that resolves a company ID to its name. |
CompanyBranchNameResolver Func<LookupOptionResolverModel<long?>, ValueTask<string?>>? |
Resolver delegate that resolves a company branch ID to its name. |
CompanyLogoResolver Func<LookupOptionResolverModel<long?>, ValueTask<string?>>? |
Resolver delegate that resolves a company ID to its logo URL. |
PartLookupPriceResolver Func<LookupOptionResolverModel<PartLookupPriceResoulverModel>, ValueTask<(decimal? distributorPurchasePrice, IEnumerable<PartPriceDTO> prices)>>? |
Resolver delegate that processes and returns part pricing (distributor purchase price and per-region prices). |
PartLookupStocksResolver Func<LookupOptionResolverModel<IEnumerable<StockPartDTO>>, ValueTask<IEnumerable<StockPartDTO>>>? |
Resolver delegate that processes and returns part stock availability data. |
IncludeInactivatedFreeServiceItems bool |
Whether to include free service items that have not yet been activated (e.g., awaiting warranty activation). |
PerVehicleEligibilitySupport bool |
Whether per-vehicle eligibility filtering is supported for service items. |
WarrantyStartDateDefaultsToInvoiceDate bool |
Whether the warranty start date should default to the invoice date when no explicit activation date is set. Defaults to true. |
SigningSecreteKey string |
The HMAC secret key used for signing service item claim requests. |
SignatureValidityDuration TimeSpan |
How long a generated claim signature remains valid. |
VehicleInspectionPreClaimVoucherPrintingURLResolver Func<LookupOptionResolverModel<(string VehicleInspectionID, string ServiceItemID)>, ValueTask<string?>>? |
Resolver delegate that generates a pre-claim voucher printing URL for vehicle inspection-based claims. |
ServiceActivationPreClaimVoucherPrintingURLResolver Func<LookupOptionResolverModel<(string ServiceActivationID, string ServiceItemID)>, ValueTask<string?>>? |
Resolver delegate that generates a pre-claim voucher printing URL for service activation-based claims. |
StandardItemClaimWarnings List<VehicleItemWarning> |
Standard warning messages displayed to users before claiming any service item. |
DistributorStockPartLookupQuantityThreshold int? |
The minimum stock quantity threshold for distributor stock lookup. Quantities below this are reported as QuantityNotWithinLookupThreshold. |
ShowPartLookupStockQauntity bool |
Whether to show the actual stock quantity in part lookup results (vs. just availability status). Defaults to false. |
EnableManufacturerLookup bool |
Whether the manufacturer part lookup feature is enabled. |
CatalogPartShouldComeFromStock bool |
Whether catalog part data should only come from stock records (vs. the dedicated catalog). |
LookupBrokerStock bool |
Whether to look up broker stock data for vehicles. |
VehicleLookupStorageSource StorageSources |
The storage backend to use for vehicle lookups (CosmosDB or DuckDB). |