java.io.Serializable
public class Position
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
Position() |
No args constructor for use in serialization
|
Position(java.lang.String assetId,
java.lang.String symbol,
java.lang.String exchange,
java.lang.String assetClass,
java.lang.String avgEntryPrice,
java.lang.String qty,
java.lang.String side,
java.lang.String marketValue,
java.lang.String costBasis,
java.lang.String unrealizedPl,
java.lang.String unrealizedPlpc,
java.lang.String unrealizedIntradayPl,
java.lang.String unrealizedIntradayPlpc,
java.lang.String currentPrice,
java.lang.String lastdayPrice,
java.lang.String changeToday) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object other) |
|
java.lang.String |
getAssetClass() |
|
java.lang.String |
getAssetId() |
|
java.lang.String |
getAvgEntryPrice() |
|
java.lang.String |
getChangeToday() |
|
java.lang.String |
getCostBasis() |
|
java.lang.String |
getCurrentPrice() |
|
java.lang.String |
getExchange() |
|
java.lang.String |
getLastdayPrice() |
|
java.lang.String |
getMarketValue() |
|
java.lang.String |
getQty() |
|
java.lang.String |
getSide() |
|
java.lang.String |
getSymbol() |
|
java.lang.String |
getUnrealizedIntradayPl() |
|
java.lang.String |
getUnrealizedIntradayPlpc() |
|
java.lang.String |
getUnrealizedPl() |
|
java.lang.String |
getUnrealizedPlpc() |
|
int |
hashCode() |
|
void |
setAssetClass(java.lang.String assetClass) |
|
void |
setAssetId(java.lang.String assetId) |
|
void |
setAvgEntryPrice(java.lang.String avgEntryPrice) |
|
void |
setChangeToday(java.lang.String changeToday) |
|
void |
setCostBasis(java.lang.String costBasis) |
|
void |
setCurrentPrice(java.lang.String currentPrice) |
|
void |
setExchange(java.lang.String exchange) |
|
void |
setLastdayPrice(java.lang.String lastdayPrice) |
|
void |
setMarketValue(java.lang.String marketValue) |
|
void |
setQty(java.lang.String qty) |
|
void |
setSide(java.lang.String side) |
|
void |
setSymbol(java.lang.String symbol) |
|
void |
setUnrealizedIntradayPl(java.lang.String unrealizedIntradayPl) |
|
void |
setUnrealizedIntradayPlpc(java.lang.String unrealizedIntradayPlpc) |
|
void |
setUnrealizedPl(java.lang.String unrealizedPl) |
|
void |
setUnrealizedPlpc(java.lang.String unrealizedPlpc) |
|
java.lang.String |
toString() |
public Position()
public Position(java.lang.String assetId, java.lang.String symbol, java.lang.String exchange, java.lang.String assetClass, java.lang.String avgEntryPrice, java.lang.String qty, java.lang.String side, java.lang.String marketValue, java.lang.String costBasis, java.lang.String unrealizedPl, java.lang.String unrealizedPlpc, java.lang.String unrealizedIntradayPl, java.lang.String unrealizedIntradayPlpc, java.lang.String currentPrice, java.lang.String lastdayPrice, java.lang.String changeToday)
symbol
- lastdayPrice
- side
- marketValue
- currentPrice
- assetClass
- avgEntryPrice
- unrealizedIntradayPl
- unrealizedPlpc
- unrealizedPl
- changeToday
- assetId
- qty
- costBasis
- exchange
- unrealizedIntradayPlpc
- public java.lang.String getAssetId()
public void setAssetId(java.lang.String assetId)
public java.lang.String getSymbol()
public void setSymbol(java.lang.String symbol)
public java.lang.String getExchange()
public void setExchange(java.lang.String exchange)
public java.lang.String getAssetClass()
public void setAssetClass(java.lang.String assetClass)
public java.lang.String getAvgEntryPrice()
public void setAvgEntryPrice(java.lang.String avgEntryPrice)
public java.lang.String getQty()
public void setQty(java.lang.String qty)
public java.lang.String getSide()
public void setSide(java.lang.String side)
public java.lang.String getMarketValue()
public void setMarketValue(java.lang.String marketValue)
public java.lang.String getCostBasis()
public void setCostBasis(java.lang.String costBasis)
public java.lang.String getUnrealizedPl()
public void setUnrealizedPl(java.lang.String unrealizedPl)
public java.lang.String getUnrealizedPlpc()
public void setUnrealizedPlpc(java.lang.String unrealizedPlpc)
public java.lang.String getUnrealizedIntradayPl()
public void setUnrealizedIntradayPl(java.lang.String unrealizedIntradayPl)
public java.lang.String getUnrealizedIntradayPlpc()
public void setUnrealizedIntradayPlpc(java.lang.String unrealizedIntradayPlpc)
public java.lang.String getCurrentPrice()
public void setCurrentPrice(java.lang.String currentPrice)
public java.lang.String getLastdayPrice()
public void setLastdayPrice(java.lang.String lastdayPrice)
public java.lang.String getChangeToday()
public void setChangeToday(java.lang.String changeToday)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object