Home > @infiniteobjects/models > QrCodeModel
Qr Code
Signature:
export declare class QrCodeModel extends BaseFirebaseEntity implements IQrCodeSchema, IQrCode
Extends: BaseFirebaseEntity
Implements: IQrCodeSchema, IQrCode
| Property | Modifiers | Type | Description |
|---|---|---|---|
| id | string | Unique identifier of the document on the collection | |
| printId? | string | (Optional) Video Print Associated with this Code | |
| redirectUrl | string | Redirect URL | |
| schemaVersion | QrCodeSchemaVersion | Schema Version | |
| url | readonly |
string | Full URL of the code ${QR_CODE_DOMAIN}/${this.id} |
| Method | Modifiers | Description |
|---|---|---|
| toCsv() | Serializes this class as a csv row | |
| toEmbedded() | Serializes this class as an simplified object | |
| toModel() | Serializes this class back to the model | |
| toSchema() | Serializes this class to the Schema type |