Class StockRetrieveQuoteResponse
-
- All Implemented Interfaces:
public final class StockRetrieveQuoteResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classStockRetrieveQuoteResponse.BuilderA builder for StockRetrieveQuoteResponse.
-
Method Summary
Modifier and Type Method Description final Doubleprice()The ask price. final StringstockId()ID of the Stockfinal Optional<Double>change()The change in price from the previous close. final Optional<Double>changePercent()The percentage change in price from the previous close. final Optional<Double>close()The close price from the given time period. final Optional<Double>high()The highest price from the given time period final Optional<Double>low()The lowest price from the given time period. final Optional<Long>marketCap()The most recent close price of the ticker multiplied by weighted outstanding shares. final Optional<Double>open()The open price from the given time period. final Optional<Double>previousClose()The close price for the Stockfrom the previous trading session.final Optional<Double>volume()The trading volume from the given time period. final Optional<Long>weightedSharesOutstanding()The number of shares outstanding in the given time period. final JsonField<Double>_price()Returns the raw JSON value of price. final JsonField<String>_stockId()Returns the raw JSON value of stockId. final JsonField<Double>_change()Returns the raw JSON value of change. final JsonField<Double>_changePercent()Returns the raw JSON value of changePercent. final JsonField<Double>_close()Returns the raw JSON value of close. final JsonField<Double>_high()Returns the raw JSON value of high. final JsonField<Double>_low()Returns the raw JSON value of low. final JsonField<Long>_marketCap()Returns the raw JSON value of marketCap. final JsonField<Double>_open()Returns the raw JSON value of open. final JsonField<Double>_previousClose()Returns the raw JSON value of previousClose. final JsonField<Double>_volume()Returns the raw JSON value of volume. final JsonField<Long>_weightedSharesOutstanding()Returns the raw JSON value of weightedSharesOutstanding. final Map<String, JsonValue>_additionalProperties()final StockRetrieveQuoteResponse.BuildertoBuilder()final StockRetrieveQuoteResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static StockRetrieveQuoteResponse.Builderbuilder()Returns a mutable builder for constructing an instance of StockRetrieveQuoteResponse. -
-
Method Detail
-
changePercent
final Optional<Double> changePercent()
The percentage change in price from the previous close.
-
marketCap
final Optional<Long> marketCap()
The most recent close price of the ticker multiplied by weighted outstanding shares.
-
previousClose
final Optional<Double> previousClose()
The close price for the
Stockfrom the previous trading session.
-
weightedSharesOutstanding
final Optional<Long> weightedSharesOutstanding()
The number of shares outstanding in the given time period.
-
_price
final JsonField<Double> _price()
Returns the raw JSON value of price.
Unlike price, this method doesn't throw if the JSON field has an unexpected type.
-
_stockId
final JsonField<String> _stockId()
Returns the raw JSON value of stockId.
Unlike stockId, this method doesn't throw if the JSON field has an unexpected type.
-
_change
final JsonField<Double> _change()
Returns the raw JSON value of change.
Unlike change, this method doesn't throw if the JSON field has an unexpected type.
-
_changePercent
final JsonField<Double> _changePercent()
Returns the raw JSON value of changePercent.
Unlike changePercent, this method doesn't throw if the JSON field has an unexpected type.
-
_close
final JsonField<Double> _close()
Returns the raw JSON value of close.
Unlike close, this method doesn't throw if the JSON field has an unexpected type.
-
_high
final JsonField<Double> _high()
Returns the raw JSON value of high.
Unlike high, this method doesn't throw if the JSON field has an unexpected type.
-
_low
final JsonField<Double> _low()
Returns the raw JSON value of low.
Unlike low, this method doesn't throw if the JSON field has an unexpected type.
-
_marketCap
final JsonField<Long> _marketCap()
Returns the raw JSON value of marketCap.
Unlike marketCap, this method doesn't throw if the JSON field has an unexpected type.
-
_open
final JsonField<Double> _open()
Returns the raw JSON value of open.
Unlike open, this method doesn't throw if the JSON field has an unexpected type.
-
_previousClose
final JsonField<Double> _previousClose()
Returns the raw JSON value of previousClose.
Unlike previousClose, this method doesn't throw if the JSON field has an unexpected type.
-
_volume
final JsonField<Double> _volume()
Returns the raw JSON value of volume.
Unlike volume, this method doesn't throw if the JSON field has an unexpected type.
-
_weightedSharesOutstanding
final JsonField<Long> _weightedSharesOutstanding()
Returns the raw JSON value of weightedSharesOutstanding.
Unlike weightedSharesOutstanding, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final StockRetrieveQuoteResponse.Builder toBuilder()
-
validate
final StockRetrieveQuoteResponse validate()
-
builder
final static StockRetrieveQuoteResponse.Builder builder()
Returns a mutable builder for constructing an instance of StockRetrieveQuoteResponse.
The following fields are required:
.price() .stockId()
-
-
-
-