The BarCode object contains the configuration for the barcodes on the Apple and Android Wallet layout of the template.

interface BarCode {
    altText: {
        defaultValue: string;
        mappedValue: string;
    };
    format: "PKBarcodeFormatQR" | "PKBarcodeFormatPDF417" | "PKBarcodeFormatAztec" | "PKBarcodeFormatCode128";
    message: {
        defaultValue: string;
        mappedValue: string;
    };
    messageEncoding?: string;
}

Properties

altText: {
    defaultValue: string;
    mappedValue: string;
}

Type declaration

  • defaultValue: string
  • mappedValue: string
format: "PKBarcodeFormatQR" | "PKBarcodeFormatPDF417" | "PKBarcodeFormatAztec" | "PKBarcodeFormatCode128"
message: {
    defaultValue: string;
    mappedValue: string;
}

Type declaration

  • defaultValue: string
  • mappedValue: string
messageEncoding?: string