UPC-A barcode.

Consists of 12 numeric (0-9) digits, divided into four parts.

  • Product type (1 digit)
  • Manufacturer code (5 digits)
  • Product code (5 digits)
  • Check digit (1 digit)
Available since

feathersui-barcodes-pack 1.0.0

.

See also:

Static methods

staticfromParts(productType:String, manufacturerCode:String, productCode:String):UPCABarcode

Creates a UPC-A barcode by combining and validating its separate parts, while automatically generating the check digit.

Available since

feathersui-barcodes-pack 1.0.0

.

Constructor

new(?code:String)

Creates a new UPCABarcode object.

Available since

feathersui-barcodes-pack 1.0.0

.

Variables

code:String

Gets or sets the barcode data.

Consists of 12 numeric (0-9) digits, divided into four parts.

  • Product type (1 digit)
  • Manufacturer code (5 digits)
  • Product code (5 digits)
  • Check digit (1 digit)
Available since

feathersui-barcodes-pack 1.0.0

.

@:value(true)validateChecksum:Bool = true

When setting the code property, the check digit may be verified, if present.

Available since

feathersui-barcodes-pack 1.0.0

.

See also:

Inherited Variables

Inherited Methods