getAccountDetails method
Implementation
Future<AccountDetailsModel> getAccountDetails(
int customerId, {
required Object authorization,
}) async {
final response = await _getAccountDetailsWithHttpInfo(
customerId,
authorization: authorization,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
return await apiClient.deserializeAsync(
await _decodeBodyBytes(response),
'AccountDetailsModel',
) as AccountDetailsModel;
}