getGeHistoryMyGrandexchangeHistoryGetWithHttpInfo method
Get Ge History
Fetch your transaction history of the last 7 days (buy and sell orders).
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getGeHistoryMyGrandexchangeHistoryGetWithHttpInfo({
String? id,
String? code,
int? page,
int? size,
}) async {
// ignore: prefer_const_declarations
final path = r'/my/grandexchange/history';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (id != null) {
queryParams.addAll(_queryParams('', 'id', id));
}
if (code != null) {
queryParams.addAll(_queryParams('', 'code', code));
}
if (page != null) {
queryParams.addAll(_queryParams('', 'page', page));
}
if (size != null) {
queryParams.addAll(_queryParams('', 'size', size));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}