Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IClientAppCFDOrderUpdatePayload

The order update payload for the CFD to display

export
interface

IClientAppCFDOrderUpdatePayload

Hierarchy

Index

Properties

Properties

Action

Action: "cfd:orderUpdate"

Data

Data: { AdditionalContent?: undefined | { QrCode?: undefined | string; QrSubTitle?: undefined | string; QrTitle?: undefined | string }; Amounts: OpenOrderAmounts; CheckoutStatus: "started" | "stopped" | "completed"; DiscountProducts?: GetProductsResponse; Order: OrderDto; Payment?: undefined | { ChangeAmount?: undefined | number; Method: string; Status?: "started" | "stopped" | "completed"; Success?: undefined | false | true }; PickProductDiscountsForOrder?: GetPickProductDiscountOptionsForOrderResponse; PrefigureDiscounts?: PrefigureDiscountsResponse }

Type declaration

  • Optional AdditionalContent?: undefined | { QrCode?: undefined | string; QrSubTitle?: undefined | string; QrTitle?: undefined | string }

    Optional additional content

  • Amounts: OpenOrderAmounts

    The current order amounts data: (sub)totals, discounts, taxes, etc

  • CheckoutStatus: "started" | "stopped" | "completed"

    The status of the checkout in the POS. Defaults to 'stopped'

  • Optional DiscountProducts?: GetProductsResponse

    Potential discount products for display purposes. Always sent if available

  • Order: OrderDto

    The current order details

  • Optional Payment?: undefined | { ChangeAmount?: undefined | number; Method: string; Status?: "started" | "stopped" | "completed"; Success?: undefined | false | true }

    The details of the payment that was started or finished

  • Optional PickProductDiscountsForOrder?: GetPickProductDiscountOptionsForOrderResponse

    Potential gift product choices for display purposes. Always sent if available

  • Optional PrefigureDiscounts?: PrefigureDiscountsResponse

    Potential discount details for display purposes. Always sent if available