Rev 37409 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.whatsapp;/*** The business event behind a WhatsApp send.** <p>Every send goes out as a Meta-approved template, and each flow names exactly one template via* {@code BotPenguinWhatsappService.FLOW_TEMPLATES}. The indirection is kept rather than having call* sites name a template directly so that swapping the template behind a business event — a new* approved version, a language variant — is a one-line change in the map instead of an edit at every* call site.</p>** <p>{@link #GENERIC} is the ad-hoc single-variable fallback. Nothing routine should use it: a message* worth sending regularly is worth its own template, because a template's variable layout is what* makes the parameter count checkable before dispatch.</p>*/public enum WhatsappFlow {INVOICE,PAYMENT_LINK,ADLD,OFFER,BIDDING_LIVE,LOAN_ALERT,ORDER_DELIVERED,/*** Digest of newly-added / revised offers and schemes, published by ops from* the finance dashboards. Sent to every HO (internal) user so RBMs and sales* are alerted at once. See NotificationService#sendOfferRadar.*/OFFER_RADAR,GENERIC}