/*
 * ACQ_PARTRFND.h - ac 서비스 ACQ_PARTRFND 카피북 (copybook / record header).
 * 부분환불 레코드.
 * Request fields:  T_PURCHASE_ID, T_AMOUNT(환불 요청액), T_BIZDATE
 * Response fields: T_CANCEL_ID, T_AMT2(환불 누계), T_RC(6=한도초과)
 */
#ifndef ACQ_PARTRFND_H
#define ACQ_PARTRFND_H

#include "ac_svc.h"

typedef struct {
    long purchase_id;
    long refund_amount;  /* 이번 환불 요청액 */
    char biz_date[16];
    long cancel_id;
    long refund_accum;   /* 환불 누계 */
} ac_partrfnd_rec_t;

void ACQ_PARTRFND(TPSVCINFO *p);

#endif /* ACQ_PARTRFND_H */
