程序包 xyz.redtorch.pb
接口 CoreField.AccountFieldOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
CoreField
public static interface CoreField.AccountFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明ID,通常是 <账户代码@网关>com.google.protobuf.ByteStringID,通常是 <账户代码@网关>double可用资金double权益double平仓盈亏getCode()代码com.google.protobuf.ByteString代码double手续费币种int币种double入金网关IDcom.google.protobuf.ByteString网关ID持有人com.google.protobuf.ByteString持有人double保证金占用getName()名称com.google.protobuf.ByteString名称double持仓盈亏double昨日权益double出金从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getAccountId
String getAccountId()ID,通常是 <账户代码@网关>
string accountId = 1;- 返回:
- The accountId.
-
getAccountIdBytes
com.google.protobuf.ByteString getAccountIdBytes()ID,通常是 <账户代码@网关>
string accountId = 1;- 返回:
- The bytes for accountId.
-
getCode
String getCode()代码
string code = 2;- 返回:
- The code.
-
getCodeBytes
com.google.protobuf.ByteString getCodeBytes()代码
string code = 2;- 返回:
- The bytes for code.
-
getName
String getName()名称
string name = 3;- 返回:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()名称
string name = 3;- 返回:
- The bytes for name.
-
getHolder
String getHolder()持有人
string holder = 4;- 返回:
- The holder.
-
getHolderBytes
com.google.protobuf.ByteString getHolderBytes()持有人
string holder = 4;- 返回:
- The bytes for holder.
-
getCurrencyValue
int getCurrencyValue()币种
.xyz.redtorch.pb.CurrencyEnum currency = 5;- 返回:
- The enum numeric value on the wire for currency.
-
getCurrency
CoreEnum.CurrencyEnum getCurrency()币种
.xyz.redtorch.pb.CurrencyEnum currency = 5;- 返回:
- The currency.
-
getPreBalance
double getPreBalance()昨日权益
double preBalance = 6;- 返回:
- The preBalance.
-
getBalance
double getBalance()权益
double balance = 7;- 返回:
- The balance.
-
getAvailable
double getAvailable()可用资金
double available = 8;- 返回:
- The available.
-
getCommission
double getCommission()手续费
double commission = 9;- 返回:
- The commission.
-
getMargin
double getMargin()保证金占用
double margin = 10;- 返回:
- The margin.
-
getCloseProfit
double getCloseProfit()平仓盈亏
double closeProfit = 11;- 返回:
- The closeProfit.
-
getPositionProfit
double getPositionProfit()持仓盈亏
double positionProfit = 12;- 返回:
- The positionProfit.
-
getDeposit
double getDeposit()入金
double deposit = 13;- 返回:
- The deposit.
-
getWithdraw
double getWithdraw()出金
double withdraw = 14;- 返回:
- The withdraw.
-
getGatewayId
String getGatewayId()网关ID
string gatewayId = 15;- 返回:
- The gatewayId.
-
getGatewayIdBytes
com.google.protobuf.ByteString getGatewayIdBytes()网关ID
string gatewayId = 15;- 返回:
- The bytes for gatewayId.
-