AccountingCodesResource class

The accounting codes endpoints with client already applied.

Constructors

AccountingCodesResource(ExsitedClient client)
Bind the resource to a client; normally reached via client.accountingCodes.
const

Properties

client → ExsitedClient
The client every call below is made through.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSettingsAccountingCode(Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsAccountingCode>>
POST /api/{api_version}/settings/accounting_codes
deleteSettingsAccountingCode(Object accountingCodeId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/settings/accounting_codes/{accounting_code_id}
getSettingsAccountingCode(Object accountingCodeId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsAccountingCode>>
GET /api/{api_version}/settings/accounting_codes/{accounting_code_id}
getSettingsAccountingCodes({Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsAccountingCodeList>>
GET /api/{api_version}/settings/accounting_codes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateSettingsAccountingCode(Object accountingCodeId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsAccountingCode>>
PATCH /api/{api_version}/settings/accounting_codes/{accounting_code_id}

Operators

operator ==(Object other) → bool
The equality operator.
inherited