/*
 * FRAUD_RULE_DUP.h - au 서비스 FRAUD_RULE_DUP 카피북 (copybook / record header).
 * Request fields:  T_KEY1(카드번호), T_BIZDATE(영업일)
 * Response fields: T_RC(0=정상, 1=동일금액 반복 탐지), T_COUNT(반복 금액 그룹수),
 *                  T_AMT1(최다 반복 금액), T_ID1(적발 로그 ID)
 */
#ifndef FRAUD_RULE_DUP_H
#define FRAUD_RULE_DUP_H

#include "au_svc.h"

typedef struct {
    char card_no[24];
    long dup_groups;
    long worst_amount;
    long fraud_id;
} au_fraud_rule_dup_rec_t;

void FRAUD_RULE_DUP(TPSVCINFO *p);

#endif /* FRAUD_RULE_DUP_H */
