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:
USD
exchangeRatenumberrequired
The exchange rate of the currency compared to the base currency.
Example:
1.15
detailedRate object
currencyNamestring
Name of the currency (e.g. USD, EUR)
Example:
USD
purchaseRatestring
Rate at which the currency can be purchased
Example:
1.15
sellingRatestring
Rate at which the currency can be sold
Example:
1.2
]
totalElementsint64
The total number of elements across all pages.
Example:
100
totalPagesint32
The total number of pages available.
Example:
10
numberint32
The current page number (zero-based).
Example:
0
sizeint32
The number of items per page.
Example:
10
PaginationDtoExchangeRateDto
{
"content": [
{
"code": "USD",
"exchangeRate": 1.15,
"detailedRate": {
"currencyName": "USD",
"purchaseRate": "1.15",
"sellingRate": "1.2"
}
}
],
"totalElements": 100,
"totalPages": 10,
"number": 0,
"size": 10
}