ProtoOADepositWithdraw
* Account deposit/withdrawal operation entity.
Implements: IMessage<ProtoOADepositWithdraw>, IMessage, IEquatable<ProtoOADepositWithdraw>, IDeepCloneable<ProtoOADepositWithdraw>, IBufferMessage
Properties
public long Balance { get; set; }
value = protoOADepositWithdraw.Balance
protoOADepositWithdraw.Balance = value
Account balance after the operation was executed.
public long BalanceHistoryId { get; set; }
value = protoOADepositWithdraw.BalanceHistoryId
protoOADepositWithdraw.BalanceHistoryId = value
The unique ID of the deposit/withdrawal operation.
public long BalanceVersion { get; set; }
value = protoOADepositWithdraw.BalanceVersion
protoOADepositWithdraw.BalanceVersion = value
Balance version used to identify the final balance. Increments each time when the trader's account balance is changed.
public long ChangeBalanceTimestamp { get; set; }
value = protoOADepositWithdraw.ChangeBalanceTimestamp
protoOADepositWithdraw.ChangeBalanceTimestamp = value
The Unix time in milliseconds when deposit/withdrawal operation was executed.
public long Delta { get; set; }
value = protoOADepositWithdraw.Delta
protoOADepositWithdraw.Delta = value
Amount of deposit/withdrawal operation.
public long Equity { get; set; }
value = protoOADepositWithdraw.Equity
protoOADepositWithdraw.Equity = value
Total account's equity after balance operation was executed.
public string ExternalNote { get; set; }
value = protoOADepositWithdraw.ExternalNote
protoOADepositWithdraw.ExternalNote = value
Note added to operation. Visible to the trader.
public bool HasBalance { get; }
value = protoOADepositWithdraw.HasBalance
Gets whether the "balance" field is set
public bool HasBalanceHistoryId { get; }
value = protoOADepositWithdraw.HasBalanceHistoryId
Gets whether the "balanceHistoryId" field is set
public bool HasBalanceVersion { get; }
value = protoOADepositWithdraw.HasBalanceVersion
Gets whether the "balanceVersion" field is set
public bool HasChangeBalanceTimestamp { get; }
value = protoOADepositWithdraw.HasChangeBalanceTimestamp
Gets whether the "changeBalanceTimestamp" field is set
public bool HasDelta { get; }
value = protoOADepositWithdraw.HasDelta
Gets whether the "delta" field is set
public bool HasEquity { get; }
value = protoOADepositWithdraw.HasEquity
Gets whether the "equity" field is set
public bool HasExternalNote { get; }
value = protoOADepositWithdraw.HasExternalNote
Gets whether the "externalNote" field is set
public bool HasMoneyDigits { get; }
value = protoOADepositWithdraw.HasMoneyDigits
Gets whether the "moneyDigits" field is set
public bool HasOperationType { get; }
value = protoOADepositWithdraw.HasOperationType
Gets whether the "operationType" field is set
public uint MoneyDigits { get; set; }
value = protoOADepositWithdraw.MoneyDigits
protoOADepositWithdraw.MoneyDigits = value
Specifies the exponent of the monetary values. E.g. moneyDigits = 8 must be interpret as business value multiplied by 10^8, then real balance would be 10053099944 / 10^8 = 100.53099944. Affects balance, delta, equity.
public ProtoOAChangeBalanceType OperationType { get; set; }
value = protoOADepositWithdraw.OperationType
protoOADepositWithdraw.OperationType = value
Type of the operation. Deposit/Withdrawal.
Methods
public void ClearBalance()
protoOADepositWithdraw.ClearBalance()
Clears the value of the "balance" field
public void ClearBalanceHistoryId()
protoOADepositWithdraw.ClearBalanceHistoryId()
Clears the value of the "balanceHistoryId" field
public void ClearBalanceVersion()
protoOADepositWithdraw.ClearBalanceVersion()
Clears the value of the "balanceVersion" field
public void ClearChangeBalanceTimestamp()
protoOADepositWithdraw.ClearChangeBalanceTimestamp()
Clears the value of the "changeBalanceTimestamp" field
public void ClearDelta()
protoOADepositWithdraw.ClearDelta()
Clears the value of the "delta" field
public void ClearEquity()
protoOADepositWithdraw.ClearEquity()
Clears the value of the "equity" field
public void ClearExternalNote()
protoOADepositWithdraw.ClearExternalNote()
Clears the value of the "externalNote" field
public void ClearMoneyDigits()
protoOADepositWithdraw.ClearMoneyDigits()
Clears the value of the "moneyDigits" field
public void ClearOperationType()
protoOADepositWithdraw.ClearOperationType()
Clears the value of the "operationType" field
Fields
public const int BalanceFieldNumber
value = ProtoOADepositWithdraw.BalanceFieldNumber
Field number for the "balance" field.
public const int BalanceHistoryIdFieldNumber
value = ProtoOADepositWithdraw.BalanceHistoryIdFieldNumber
Field number for the "balanceHistoryId" field.
public const int BalanceVersionFieldNumber
value = ProtoOADepositWithdraw.BalanceVersionFieldNumber
Field number for the "balanceVersion" field.
public const int ChangeBalanceTimestampFieldNumber
value = ProtoOADepositWithdraw.ChangeBalanceTimestampFieldNumber
Field number for the "changeBalanceTimestamp" field.
public const int DeltaFieldNumber
value = ProtoOADepositWithdraw.DeltaFieldNumber
Field number for the "delta" field.
public const int EquityFieldNumber
value = ProtoOADepositWithdraw.EquityFieldNumber
Field number for the "equity" field.
public const int ExternalNoteFieldNumber
value = ProtoOADepositWithdraw.ExternalNoteFieldNumber
Field number for the "externalNote" field.
public const int MoneyDigitsFieldNumber
value = ProtoOADepositWithdraw.MoneyDigitsFieldNumber
Field number for the "moneyDigits" field.
public const int OperationTypeFieldNumber
value = ProtoOADepositWithdraw.OperationTypeFieldNumber
Field number for the "operationType" field.