Presenting Receipts
Navigating to a Receipt
Currently only modal presentation to a receipt is supported. Both VenueNextCore
and VenueNextOrderUI
must be imported for this functionality.
Presenting Receipts Modally
import VenueNextCore
import VenueNextOrderUI
let receiptNavigationController = VNOrderNavigation.receiptNavigationController(orderSummaryUUID: myOrderSummaryUUID, productType: .food, dismissDelegate: self)
navigationController?.present(receiptNavigationController, animated: true, completion: nil)
Presenting ExperienceItem Receipt
import VenueNextOrderUI
let receiptNavigationController = VNOrderNavigation.receiptNavigationController(experienceItemUUID: myExperienceItemUUID, dismissDelegate: self)
navigationController?.present(receiptNavigationController, animated: true, completion: nil)