vnorder / com.venuenext.vnorder.orders.model.qrcoderesponses

Package com.venuenext.vnorder.orders.model.qrcoderesponses

Types

LineItem

data class LineItem

NutritionalAttributes

data class NutritionalAttributes

QrCodeResponses

data class QrCodeResponses

QRCodeTotalsPost

data class QRCodeTotalsPost

RichCheckOutOrderMenuItem

data class RichCheckOutOrderMenuItem

RichCheckOutOrderPayment

data class RichCheckOutOrderPayment

RichCheckOutOrderPost

data class RichCheckOutOrderPost

TotalsWithPaymentType

data class TotalsWithPaymentType

Functions

lineItemsWithDiscountsToDisplay

Used to get a list of line items that include discounts that can be displayed without changing the actual line items list. This keeps things safe for when the order is placed and sent to back end. E.g. The discounts should not be sent up as line items.

fun QrCodeResponses.lineItemsWithDiscountsToDisplay(): List<LineItem>