/*
 * MERCH_AUTH_RANK.h - au 서비스 MERCH_AUTH_RANK 카피북 (copybook / record header).
 * Request fields:  T_MERCHANT(가맹점), T_BIZDATE(영업일)
 * Response fields: T_ARG1(승인금액 순위), T_GROSS(가맹점 승인금액), T_COUNT(전체 가맹점수),
 *                  T_RC(1=당일 승인실적 없음)
 */
#ifndef MERCH_AUTH_RANK_H
#define MERCH_AUTH_RANK_H

#include "au_svc.h"

typedef struct {
    char merchant_id[64];
    char biz_date[16];
    long rank;
    long gross;
    long merchant_total;
} au_merch_auth_rank_rec_t;

void MERCH_AUTH_RANK(TPSVCINFO *p);

#endif /* MERCH_AUTH_RANK_H */
