BuyerNotifications

fun interface BuyerNotifications

How buyers are told about their orders: a mail or push service outside Wow. A port of the ShipmentNotifier, which the server binds to that service and a test fakes.

Functions

Link copied to clipboard
abstract suspend fun orderShipped(buyerId: String, orderId: String, key: String)

Tells buyerId that the order orderId is on its way. key identifies the notification: the service sends it once per key, so a notification asked for again after a failure, a replay or a lease handover is not repeated.