accounting_codes library

The v4 accounting codes family: its endpoints, bound class, path templates and views.

Import it with a prefix, import 'package:exsited/accounting_codes.dart' as accounting_codes;, because families declare the same top-level names and a Dart export can neither rename nor prefix them.

Classes

AccountingCodesResource
The accounting codes endpoints with client already applied.
AccountingCodesUrls
SettingsAccountingCode
The settings accounting code body.
SettingsAccountingCodeList
A page of SettingsAccountingCode records.

Functions

createSettingsAccountingCode(ExsitedClient client, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsAccountingCode>>
POST /api/{api_version}/settings/accounting_codes
deleteSettingsAccountingCode(ExsitedClient client, Object accountingCodeId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/settings/accounting_codes/{accounting_code_id}
getSettingsAccountingCode(ExsitedClient client, Object accountingCodeId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsAccountingCode>>
GET /api/{api_version}/settings/accounting_codes/{accounting_code_id}
getSettingsAccountingCodes(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsAccountingCodeList>>
GET /api/{api_version}/settings/accounting_codes
updateSettingsAccountingCode(ExsitedClient client, Object accountingCodeId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsAccountingCode>>
PATCH /api/{api_version}/settings/accounting_codes/{accounting_code_id}