getInvoiceSummary2WithHttpInfo method
Performs an HTTP 'GET /api/v2/Invoices/{year}/{month}' operation and returns the Response
.
Parameters:
Implementation
Future<Response> getInvoiceSummary2WithHttpInfo(
int year,
int month, {
required Object authorization,
}) async {
final path = r'/api/v2/Invoices/{year}/{month}'
.replaceAll('{year}', year.toString())
.replaceAll('{month}', month.toString());
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
headerParams[r'authorization'] = parameterToString(authorization);
const authNames = <String>[];
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
null,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes[0],
authNames,
);
}