| 限定符和类型 | 方法和说明 |
|---|---|
HbStatus |
getStatus()
Gets status.
|
String |
getTime()
Gets time.
|
double |
getTimeConsume()
Gets time consume.
|
static PosTradeInfo |
newInstance(HbStatus status,
String time,
int timeConsume)
New instance pos trade info.
|
void |
setStatus(HbStatus status)
Sets status.
|
void |
setTime(String time)
Sets time.
|
void |
setTimeConsume(int timeConsume)
Sets time consume.
|
String |
toString() |
public static PosTradeInfo newInstance(HbStatus status, String time, int timeConsume)
status - the statustime - the timetimeConsume - the time consumepublic void setStatus(HbStatus status)
status - the statuspublic String getTime()
public void setTime(String time)
time - the timepublic double getTimeConsume()
TradeInfogetTimeConsume 在接口中 TradeInfopublic void setTimeConsume(int timeConsume)
timeConsume - the time consumeCopyright © 2018. All rights reserved.