PaginationDtoExchangeRateDto
Represents paginated results.
content object[]
The list of items in the current page.
Array [
codestringrequired
The code of the currency (e.g., USD, EUR, GBP).
Example:
USDexchangeRatenumberrequired
The exchange rate of the currency compared to the base currency.
Example:
1.15detailedRate object
currencyNamestring
Name of the currency (e.g. USD, EUR)
Example:
USDpurchaseRatestring
Rate at which the currency can be purchased
Example:
1.15sellingRatestring
Rate at which the currency can be sold
Example:
1.2]
totalElementsinteger<int64>
The total number of elements across all pages.
Example:
100totalPagesinteger<int32>
The total number of pages available.
Example:
10numberinteger<int32>
The current page number (zero-based).
Example:
0sizeinteger<int32>
The number of items per page.
Example:
10PaginationDtoExchangeRateDto
{
"content": [
{
"code": "USD",
"exchangeRate": 1.15,
"detailedRate": {
"currencyName": "USD",
"purchaseRate": "1.15",
"sellingRate": "1.2"
}
}
],
"totalElements": 100,
"totalPages": 10,
"number": 0,
"size": 10
}