SBSDKGS1DocumentField

@interface SBSDKGS1DocumentField : NSObject

A class describing a data field of a GS1 code.

  • The GS1 application identifier. Also contains variable part, e.g. decimal point place.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull applicationIdentifier;

    Swift

    var applicationIdentifier: String { get set }
  • The description defined in a GS1 specification, if standard.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull fieldDescription;

    Swift

    var fieldDescription: String { get set }
  • The data title defined in GS1 specification, if standard.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull dataTitle;

    Swift

    var dataTitle: String { get set }
  • The unprocessed raw field value.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull rawValue;

    Swift

    var rawValue: String { get set }
  • Indicates whether the application identifier of the field is defined by the GS1 standard.

    Declaration

    Objective-C

    @property (nonatomic) BOOL standard;

    Swift

    var standard: Bool { get set }
  • Contains the parse error, if any was found during the parsing.

    Declaration

    Objective-C

    @property (nonatomic) SBSDKGS1SystemElementValidationStatus validationStatus;

    Swift

    var validationStatus: SBSDKGS1SystemElementValidationStatus { get set }