Class StockListResponse.Builder
-
- All Implemented Interfaces:
public final class StockListResponse.BuilderA builder for StockListResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final StockListResponse.Builder id(String id)
ID of the
Stock
-
id
final StockListResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isFractionable
final StockListResponse.Builder isFractionable(Boolean isFractionable)
Whether the
Stockallows for fractional trading. If it is not fractionable, Dinari only supports limit orders for theStock.
-
isFractionable
final StockListResponse.Builder isFractionable(JsonField<Boolean> isFractionable)
Sets Builder.isFractionable to an arbitrary JSON value.
You should usually call Builder.isFractionable with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isTradable
final StockListResponse.Builder isTradable(Boolean isTradable)
Whether the
Stockis available for trading.
-
isTradable
final StockListResponse.Builder isTradable(JsonField<Boolean> isTradable)
Sets Builder.isTradable to an arbitrary JSON value.
You should usually call Builder.isTradable with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final StockListResponse.Builder name(String name)
Company name
-
name
final StockListResponse.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
symbol
final StockListResponse.Builder symbol(String symbol)
Ticker symbol
-
symbol
final StockListResponse.Builder symbol(JsonField<String> symbol)
Sets Builder.symbol to an arbitrary JSON value.
You should usually call Builder.symbol with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tokens
final StockListResponse.Builder tokens(List<String> tokens)
List of CAIP-10 formatted token addresses.
-
tokens
final StockListResponse.Builder tokens(JsonField<List<String>> tokens)
Sets Builder.tokens to an arbitrary JSON value.
You should usually call Builder.tokens with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addToken
final StockListResponse.Builder addToken(String token)
-
cik
final StockListResponse.Builder cik(String cik)
SEC Central Index Key. Refer to this link for more information.
-
cik
final StockListResponse.Builder cik(Optional<String> cik)
Alias for calling Builder.cik with
cik.orElse(null).
-
cik
final StockListResponse.Builder cik(JsonField<String> cik)
Sets Builder.cik to an arbitrary JSON value.
You should usually call Builder.cik with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
compositeFigi
final StockListResponse.Builder compositeFigi(String compositeFigi)
Composite FIGI ID. Refer to this link for more information.
-
compositeFigi
final StockListResponse.Builder compositeFigi(Optional<String> compositeFigi)
Alias for calling Builder.compositeFigi with
compositeFigi.orElse(null).
-
compositeFigi
final StockListResponse.Builder compositeFigi(JsonField<String> compositeFigi)
Sets Builder.compositeFigi to an arbitrary JSON value.
You should usually call Builder.compositeFigi with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cusip
final StockListResponse.Builder cusip(String cusip)
CUSIP ID. Refer to this link for more information. A license agreement with CUSIP Global Services is required to receive this value.
-
cusip
final StockListResponse.Builder cusip(Optional<String> cusip)
Alias for calling Builder.cusip with
cusip.orElse(null).
-
cusip
final StockListResponse.Builder cusip(JsonField<String> cusip)
Sets Builder.cusip to an arbitrary JSON value.
You should usually call Builder.cusip with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final StockListResponse.Builder description(String description)
Description of the company and their services.
-
description
final StockListResponse.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final StockListResponse.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
displayName
final StockListResponse.Builder displayName(String displayName)
Name of
Stockfor application display. If defined, this supercedes thenamefield for displaying the name.
-
displayName
final StockListResponse.Builder displayName(Optional<String> displayName)
Alias for calling Builder.displayName with
displayName.orElse(null).
-
displayName
final StockListResponse.Builder displayName(JsonField<String> displayName)
Sets Builder.displayName to an arbitrary JSON value.
You should usually call Builder.displayName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
logoUrl
final StockListResponse.Builder logoUrl(String logoUrl)
URL of the company's logo. Supported formats are SVG and PNG.
-
logoUrl
final StockListResponse.Builder logoUrl(Optional<String> logoUrl)
Alias for calling Builder.logoUrl with
logoUrl.orElse(null).
-
logoUrl
final StockListResponse.Builder logoUrl(JsonField<String> logoUrl)
Sets Builder.logoUrl to an arbitrary JSON value.
You should usually call Builder.logoUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final StockListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final StockListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final StockListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final StockListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final StockListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final StockListResponse build()
Returns an immutable instance of StockListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .isFractionable() .isTradable() .name() .symbol() .tokens()
-
-
-
-