Subversion Repositories SmartDukaan

Rev

Rev 37794 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37794 Rev 37799
Line 63... Line 63...
63
	/** Post-purchase protection upsell. The approved template attaches the invoice PDF and names it. */
63
	/** Post-purchase protection upsell. The approved template attaches the invoice PDF and names it. */
64
	boolean sendADLDWhatsappMessage(String mobile, String invoiceNumber, String mediaUrl, String fileName)
64
	boolean sendADLDWhatsappMessage(String mobile, String invoiceNumber, String mediaUrl, String fileName)
65
			throws Exception;
65
			throws Exception;
66
 
66
 
67
	/**
67
	/**
68
	 * Offers & Schemes Radar digest — one WhatsApp per HO user summarising a
68
	 * Admin catalog update digest — one WhatsApp per HO user summarising a
69
	 * finance operator's selection of offers and schemes.
69
	 * finance operator's selection of offers and schemes. Offers and schemes are
-
 
70
	 * combined into a single {@code programsAdded} count because the approved
-
 
71
	 * Utility-category template on Meta uses neutral operational wording
-
 
72
	 * ("Programs added") rather than the "Offers / Schemes" split — the "offer"
-
 
73
	 * and "scheme" keywords trigger Meta's Marketing reclassifier.
70
	 *
74
	 *
71
	 * @param mobile        recipient's mobile (E.164 or bare 10-digit — the gateway normalises)
75
	 * @param mobile         recipient's mobile (E.164 or bare 10-digit — the gateway normalises)
72
	 * @param regionSummary human-readable region field for {{1}} — either "All India" or "N region(s)"
76
	 * @param regionSummary  human-readable region field for {{1}} — either "All India" or "N region(s)"
73
	 * @param offersAdded   count of newly-published offers in the selection ({{2}})
77
	 * @param programsAdded  combined count of newly-published offers + schemes ({{2}})
74
	 * @param schemesAdded  count of newly-published schemes in the selection ({{3}})
-
 
75
	 * @param revisions     count of items that revise an already-running offer or scheme ({{4}})
78
	 * @param revisions      count of items that revise an already-running offer or scheme ({{3}})
76
	 * @param endingSoon    count of selected items whose endDate is within 7 days of today ({{5}})
79
	 * @param endingSoon     count of selected items whose endDate is within 7 days of today ({{4}})
77
	 */
80
	 */
78
	boolean sendOfferRadar(String mobile, String regionSummary, int offersAdded, int schemesAdded,
81
	boolean sendOfferRadar(String mobile, String regionSummary, int programsAdded,
79
						   int revisions, int endingSoon) throws Exception;
82
						   int revisions, int endingSoon) throws Exception;
80
 
83
 
81
}
84
}