Class SymbolPriceBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.SymbolPriceBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-10-07T12:50:12.298286Z[Etc/UTC]") public class SymbolPriceBankModel extends Object
SymbolPriceBankModel
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BUY_PRICEstatic StringJSON_PROPERTY_BUY_PRICE_LAST_UPDATED_ATstatic StringJSON_PROPERTY_SELL_PRICEstatic StringJSON_PROPERTY_SELL_PRICE_LAST_UPDATED_ATstatic StringJSON_PROPERTY_SYMBOL
-
Constructor Summary
Constructors Constructor Description SymbolPriceBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SymbolPriceBankModelbuyPrice(BigInteger buyPrice)SymbolPriceBankModelbuyPriceLastUpdatedAt(OffsetDateTime buyPriceLastUpdatedAt)booleanequals(Object o)BigIntegergetBuyPrice()The purchase price (in base units) for the asset denominated in the counter asset currency.OffsetDateTimegetBuyPriceLastUpdatedAt()ISO8601 datetime the purchase price was generated at.BigIntegergetSellPrice()The sale price (in base units) for the asset denominated in the counter asset currency.OffsetDateTimegetSellPriceLastUpdatedAt()ISO8601 datetime the sale price was generated at.StringgetSymbol()The trade symbol the pricing is related to.inthashCode()SymbolPriceBankModelsellPrice(BigInteger sellPrice)SymbolPriceBankModelsellPriceLastUpdatedAt(OffsetDateTime sellPriceLastUpdatedAt)voidsetBuyPrice(BigInteger buyPrice)voidsetBuyPriceLastUpdatedAt(OffsetDateTime buyPriceLastUpdatedAt)voidsetSellPrice(BigInteger sellPrice)voidsetSellPriceLastUpdatedAt(OffsetDateTime sellPriceLastUpdatedAt)voidsetSymbol(String symbol)SymbolPriceBankModelsymbol(String symbol)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SYMBOL
public static final String JSON_PROPERTY_SYMBOL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUY_PRICE
public static final String JSON_PROPERTY_BUY_PRICE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SELL_PRICE
public static final String JSON_PROPERTY_SELL_PRICE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUY_PRICE_LAST_UPDATED_AT
public static final String JSON_PROPERTY_BUY_PRICE_LAST_UPDATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SELL_PRICE_LAST_UPDATED_AT
public static final String JSON_PROPERTY_SELL_PRICE_LAST_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
symbol
public SymbolPriceBankModel symbol(String symbol)
-
getSymbol
@Nullable public String getSymbol()
The trade symbol the pricing is related to. Format is asset-counter_asset, e.g., BTC-USD.- Returns:
- symbol
-
setSymbol
public void setSymbol(String symbol)
-
buyPrice
public SymbolPriceBankModel buyPrice(BigInteger buyPrice)
-
getBuyPrice
@Nullable public BigInteger getBuyPrice()
The purchase price (in base units) for the asset denominated in the counter asset currency.- Returns:
- buyPrice
-
setBuyPrice
public void setBuyPrice(BigInteger buyPrice)
-
sellPrice
public SymbolPriceBankModel sellPrice(BigInteger sellPrice)
-
getSellPrice
@Nullable public BigInteger getSellPrice()
The sale price (in base units) for the asset denominated in the counter asset currency.- Returns:
- sellPrice
-
setSellPrice
public void setSellPrice(BigInteger sellPrice)
-
buyPriceLastUpdatedAt
public SymbolPriceBankModel buyPriceLastUpdatedAt(OffsetDateTime buyPriceLastUpdatedAt)
-
getBuyPriceLastUpdatedAt
@Nullable public OffsetDateTime getBuyPriceLastUpdatedAt()
ISO8601 datetime the purchase price was generated at.- Returns:
- buyPriceLastUpdatedAt
-
setBuyPriceLastUpdatedAt
public void setBuyPriceLastUpdatedAt(OffsetDateTime buyPriceLastUpdatedAt)
-
sellPriceLastUpdatedAt
public SymbolPriceBankModel sellPriceLastUpdatedAt(OffsetDateTime sellPriceLastUpdatedAt)
-
getSellPriceLastUpdatedAt
@Nullable public OffsetDateTime getSellPriceLastUpdatedAt()
ISO8601 datetime the sale price was generated at.- Returns:
- sellPriceLastUpdatedAt
-
setSellPriceLastUpdatedAt
public void setSellPriceLastUpdatedAt(OffsetDateTime sellPriceLastUpdatedAt)
-
-