/*
 * ACQ_CB_OPEN.h - ac 서비스 ACQ_CB_OPEN 카피북 (copybook / record header).
 * 지불거절 접수 레코드.
 * Request fields:  T_PURCHASE_ID, T_AMOUNT, T_REASON, T_BIZDATE
 * Response fields: T_CANCEL_ID, T_RC
 */
#ifndef ACQ_CB_OPEN_H
#define ACQ_CB_OPEN_H

#include "ac_svc.h"

typedef struct {
    long purchase_id;
    long cb_amount;     /* 지불거절 금액 */
    char reason[128];   /* 접수 사유 */
    char biz_date[16];
    long cancel_id;     /* 생성된 CB 접수 ID */
} ac_cb_open_rec_t;

void ACQ_CB_OPEN(TPSVCINFO *p);

#endif /* ACQ_CB_OPEN_H */
