Gs1ElementInfo
public record Gs1ElementInfoOne GS1 element string of a barcode.
Constructors
| Signature | Description |
|---|---|
# Gs1ElementInfo(string Ai, string Title, string Value, bool Valid, string? Error = default, string? Interpreted = default) | One GS1 element string of a barcode. Ai: Application identifier, e.g. "00". · Title: GS1 data title, e.g. "SSCC" (null for AIs without a known title). · Value: Value as encoded. · Valid: The value passes the GS1 syntax, length and check digit rules. · Error: Why it is invalid (null when valid). · Interpreted: Decoded value where the AI defines one: ISO date for YYMMDD, decimal value for n-decimal AIs. |
Properties
| Property | Type | Description |
|---|---|---|
Ai { get; init; } | string | Application identifier, e.g. "00". |
Error { get; init; } | string | Why it is invalid (null when valid). |
Interpreted { get; init; } | string | Decoded value where the AI defines one: ISO date for YYMMDD, decimal value for n-decimal AIs. |
Title { get; init; } | string | GS1 data title, e.g. "SSCC" (null for AIs without a known title). |
Valid { get; init; } | bool | The value passes the GS1 syntax, length and check digit rules. |
Value { get; init; } | string | Value as encoded. |
Methods
| Method Signature | Returns | Description |
|---|---|---|
# Deconstruct(out string Ai, out string Title, out string Value, out bool Valid, out string Error, out string Interpreted) | void |

