Class StockRetrieveCurrentQuoteResponse.Builder
-
- All Implemented Interfaces:
public final class StockRetrieveCurrentQuoteResponse.BuilderA builder for StockRetrieveCurrentQuoteResponse.
-
-
Method Summary
-
-
Method Detail
-
askPrice
final StockRetrieveCurrentQuoteResponse.Builder askPrice(Double askPrice)
The ask price.
-
askPrice
final StockRetrieveCurrentQuoteResponse.Builder askPrice(JsonField<Double> askPrice)
Sets Builder.askPrice to an arbitrary JSON value.
You should usually call Builder.askPrice with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
askSize
final StockRetrieveCurrentQuoteResponse.Builder askSize(Double askSize)
The ask size.
-
askSize
final StockRetrieveCurrentQuoteResponse.Builder askSize(JsonField<Double> askSize)
Sets Builder.askSize to an arbitrary JSON value.
You should usually call Builder.askSize with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
bidPrice
final StockRetrieveCurrentQuoteResponse.Builder bidPrice(Double bidPrice)
The bid price.
-
bidPrice
final StockRetrieveCurrentQuoteResponse.Builder bidPrice(JsonField<Double> bidPrice)
Sets Builder.bidPrice to an arbitrary JSON value.
You should usually call Builder.bidPrice with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
bidSize
final StockRetrieveCurrentQuoteResponse.Builder bidSize(Double bidSize)
The bid size.
-
bidSize
final StockRetrieveCurrentQuoteResponse.Builder bidSize(JsonField<Double> bidSize)
Sets Builder.bidSize to an arbitrary JSON value.
You should usually call Builder.bidSize with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
stockId
final StockRetrieveCurrentQuoteResponse.Builder stockId(String stockId)
ID of the
Stock
-
stockId
final StockRetrieveCurrentQuoteResponse.Builder stockId(JsonField<String> stockId)
Sets Builder.stockId to an arbitrary JSON value.
You should usually call Builder.stockId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timestamp
final StockRetrieveCurrentQuoteResponse.Builder timestamp(OffsetDateTime timestamp)
When the Stock Quote was generated.
-
timestamp
final StockRetrieveCurrentQuoteResponse.Builder timestamp(JsonField<OffsetDateTime> timestamp)
Sets Builder.timestamp to an arbitrary JSON value.
You should usually call Builder.timestamp with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final StockRetrieveCurrentQuoteResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final StockRetrieveCurrentQuoteResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final StockRetrieveCurrentQuoteResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final StockRetrieveCurrentQuoteResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final StockRetrieveCurrentQuoteResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final StockRetrieveCurrentQuoteResponse build()
Returns an immutable instance of StockRetrieveCurrentQuoteResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.askPrice() .askSize() .bidPrice() .bidSize() .stockId() .timestamp()
-
-
-
-