forked from jasonweiyi/XAPI2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxoms_api_fund_struct.h
More file actions
42 lines (34 loc) · 1.27 KB
/
xoms_api_fund_struct.h
File metadata and controls
42 lines (34 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/////////////////////////////////////////////////////////////////////////
///@author 中泰证券股份有限公司
///@file xoms_api_fund_struct.h
///@brief 定义资金划拨相关结构体类型
/////////////////////////////////////////////////////////////////////////
#ifndef XOMS_API_FUND_STRUCT_H_
#define XOMS_API_FUND_STRUCT_H_
#include "xtp_api_data_type.h"
#include "xoms_api_struct.h"
#include "xtp_api_struct_common.h"
#pragma pack(8)
#define XTP_ACCOUNT_PASSWORD_LEN 64
/////////////////////////////////////////////////////////////////////////
///用户资金请求
/////////////////////////////////////////////////////////////////////////
struct XTPFundTransferReq
{
///资金内转编号,无需用户填写,类似于xtp_id
uint64_t serial_id;
///资金账户代码
char fund_account[XTP_ACCOUNT_NAME_LEN];
///资金账户密码
char password[XTP_ACCOUNT_PASSWORD_LEN];
///金额
double amount;
///内转类型
XTP_FUND_TRANSFER_TYPE transfer_type;
};
/////////////////////////////////////////////////////////////////////////
///用户资金划转请求的响应-复用资金通知结构体
/////////////////////////////////////////////////////////////////////////
typedef struct XTPFundTransferNotice XTPFundTransferAck ;
#pragma pack()
#endif