/*
 * DECLINE_ANALYZE.h - au 서비스 DECLINE_ANALYZE 카피북 (copybook / record header).
 * Request fields:  T_BIZDATE(영업일)
 * Response fields: T_STR1(상위 거절사유 "사유:건수;" 최대 3개), T_REASON(1위 사유),
 *                  T_COUNT(총 거절건수), T_ARG1(거절률 bps)
 */
#ifndef DECLINE_ANALYZE_H
#define DECLINE_ANALYZE_H

#include "au_svc.h"

typedef struct {
    char biz_date[16];
    char top3[256];
    char top_reason[64];
    long decline_total;
    long decline_bps;
} au_decline_analyze_rec_t;

void DECLINE_ANALYZE(TPSVCINFO *p);

#endif /* DECLINE_ANALYZE_H */
