POBarcode

@JsonClass(generateAdapter = true)
data class POBarcode(@Json(name = "type") val rawType: String, @Json(name = "value") val rawValue: String)

Defines the data for barcode generation.

Parameters

rawType

Raw barcode type.

rawValue

Base64 encoded value.

Constructors

Link copied to clipboard
constructor(@Json(name = "type") rawType: String, @Json(name = "value") rawValue: String)

Types

Link copied to clipboard
@JsonClass(generateAdapter = false)
enum BarcodeType : Enum<POBarcode.BarcodeType>

Defines supported barcode types.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns supported BarcodeType or BarcodeType.UNSUPPORTED otherwise.

Link copied to clipboard
fun value(): String

Returns Base64 decoded value.