EncodedCodesGenerator

Class for encoding scanned codes into one or multiple combined codes (e.g. a QR-Code)

Constructors

Link copied to clipboard
constructor(encodedCodesOptions: EncodedCodesOptions)

Types

Link copied to clipboard

Functions

Link copied to clipboard
open fun add(shoppingCart: ShoppingCart)
Add a shopping cart and all its products to the encoded code
open fun add(code: String)
Add a arbitrary code to the encoded code generator
Link copied to clipboard
open fun clear()
Clears the encoded codes generator
Link copied to clipboard
Generate a list of encoded codes Supported placeholders: {qrCodeCount}: Number of encoded codes {qrCodeIndex}: Current index
open fun generate(checkoutId: String): ArrayList<String>
Generate a list of encoded codes, including adding the checkout id if supported.