/*
 * ACQ_FOREIGN.h - ac 서비스 ACQ_FOREIGN 카피북 (copybook / record header).
 * Request fields:  T_MERCHANT, T_AMOUNT, T_BIZDATE, T_CCY
 * Response fields: T_PURCHASE_ID, T_FEE
 */
#ifndef ACQ_FOREIGN_H
#define ACQ_FOREIGN_H

#include "ac_svc.h"

typedef struct {
    long purchase_id;
    char merchant_id[64];
    long amount;
    long fee;
    long net;
    char ccy[8];
    long fx_id;
    char biz_date[16];
} ac_foreign_rec_t;

void ACQ_FOREIGN(TPSVCINFO *p);

#endif /* ACQ_FOREIGN_H */
