/*
 * ACQ_SPLITQRY.h - ac 서비스 ACQ_SPLITQRY 카피북 (copybook / record header).
 * 분할납부 회차 조회 레코드.
 * Request fields:  T_PURCHASE_ID
 * Response fields: T_COUNT, T_GROSS, T_AMT1(최소), T_AMT2(최대), T_RC(일치=0)
 */
#ifndef ACQ_SPLITQRY_H
#define ACQ_SPLITQRY_H

#include "ac_svc.h"

typedef struct {
    long purchase_id;
    long sched_count;   /* 회차수 */
    long sched_sum;     /* 스케줄 합계 */
    long min_amount;
    long max_amount;
} ac_splitqry_rec_t;

void ACQ_SPLITQRY(TPSVCINFO *p);

#endif /* ACQ_SPLITQRY_H */
