Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsumeOrderResponseForWalletService ¶
func ConsumeOrderResponseForWalletService()
ConsumeOrderResponseForWalletService consumes messages from the processed orders topic to save them to the merchant wallet
func ProcessWalletData ¶
func ProcessWalletData(txn *models.Transaction)
update the merchant wallet with the data from the successful tranactions
func PublishWalletUpdates ¶
PublishWalletUpdates publishes the wallet updates for a merchant to the wallet-update-topic then the notification service picks up the message and notifies the merchant about the order
func SaveWalletData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.