Class CurrencyPairDTO.CurrencyPairDTOBuilder
- java.lang.Object
-
- tech.cassandre.trading.bot.dto.util.CurrencyPairDTO.CurrencyPairDTOBuilder
-
- Enclosing class:
- CurrencyPairDTO
public static class CurrencyPairDTO.CurrencyPairDTOBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CurrencyPairDTO.CurrencyPairDTOBuilder
baseCurrency(CurrencyDTO baseCurrency)
The base currency is the first currency appearing in a currency pair quotation.CurrencyPairDTO
build()
CurrencyPairDTO.CurrencyPairDTOBuilder
quoteCurrency(CurrencyDTO quoteCurrency)
The quote currency is the second currency appearing in a currency pair quotation.String
toString()
-
-
-
Method Detail
-
baseCurrency
public CurrencyPairDTO.CurrencyPairDTOBuilder baseCurrency(CurrencyDTO baseCurrency)
The base currency is the first currency appearing in a currency pair quotation.- Returns:
this
.
-
quoteCurrency
public CurrencyPairDTO.CurrencyPairDTOBuilder quoteCurrency(CurrencyDTO quoteCurrency)
The quote currency is the second currency appearing in a currency pair quotation.- Returns:
this
.
-
build
public CurrencyPairDTO build()
-
-