/*
 * au_standin_settle_batch.h - copybook for au_standin_settle_batch (XA client).
 * 대행승인(stand-in) 정산반영 컨텍스트. Kept in dbio/ for -I resolution.
 */
#ifndef AU_STANDIN_SETTLE_BATCH_H
#define AU_STANDIN_SETTLE_BATCH_H

typedef struct {
    char biz_date[16];
    long settled;        /* A -> S 전환 건수 */
    long settled_gross;  /* 전환 금액 합계 */
    long skipped;        /* 금액 0 이하로 건너뛴 건수 */
} au_standin_settle_ctx_t;

/* 정산반영이 하나라도 있었는지 (1/0). */
int aub_standin_any(const au_standin_settle_ctx_t *ctx);

#endif /* AU_STANDIN_SETTLE_BATCH_H */
