updateSettingsAccountingCode method

Future<ApiResponse<SettingsAccountingCode>> updateSettingsAccountingCode(
  1. Object accountingCodeId,
  2. Object payload, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

PATCH /api/{api_version}/settings/accounting_codes/{accounting_code_id}

Implementation

Future<ApiResponse<views.SettingsAccountingCode>>
    updateSettingsAccountingCode(
  Object accountingCodeId,
  Object payload, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
        endpoints.updateSettingsAccountingCode(
          client,
          accountingCodeId,
          payload,
          raiseOnError: raiseOnError,
          responseFormat: responseFormat,
        );