Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IHubPushDisplayOrderToDeviceID

Hierarchy

Index

Properties

AdditionalData

AdditionalData: { Action: TCheckoutOrderAction; ConfirmUserDetails?: IConfirmUserDetails; DiscountProducts?: GetProductsResponse; OrderLineID?: undefined | number; Payment?: undefined | { ChangeAmount?: undefined | number; Method: string; Success?: undefined | false | true }; PickProductDiscountsForOrder?: GetPickProductDiscountOptionsForOrderResponse; PrefigureDiscounts?: PrefigureDiscountsResponse }

Custom pay load data which differ per Action type

Type declaration

  • [name: string]: any

    Placeholder typings for future custom data

  • Action: TCheckoutOrderAction

    The action type. See TCheckoutOrderAction above

  • Optional ConfirmUserDetails?: IConfirmUserDetails

    The details for a confirm-user-details message

  • Optional DiscountProducts?: GetProductsResponse

    Potential discount products for display purposes. Always sent if available

  • Optional OrderLineID?: undefined | number

    The target order line for add, remove or modify quantity messages

  • Optional Payment?: undefined | { ChangeAmount?: undefined | number; Method: string; Success?: undefined | false | true }

    The details of the payment that was started or finished Used for: start-payment and finish-payment

  • 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

Amounts

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

DeviceID

DeviceID: number

ShoppingCart

ShoppingCart: OrderDto

The current order details