getInvoiceCustomerSummary method
Parameters:
Implementation
Future<InvoiceSummaryModel> getInvoiceCustomerSummary(
int year,
int month,
int customerId, {
required Object authorization,
}) async {
final response = await _getInvoiceCustomerSummaryWithHttpInfo(
year,
month,
customerId,
authorization: authorization,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
return await apiClient.deserializeAsync(
await _decodeBodyBytes(response),
'InvoiceSummaryModel',
) as InvoiceSummaryModel;
}