/// <summary> /// 取引(収入/支出)の+更新の削除 /// </summary> /// <remarks> /// 指定した事業所の取引(収入/支出)の+更新を削除する /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// 取引ID /// </param> /// <param name='renewId'> /// +更新ID /// </param> /// <param name='companyId'> /// 事業所ID /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <RenewsResponse> DeleteDealAsync(this IRenews operations, int id, int renewId, int companyId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteDealWithHttpMessagesAsync(id, renewId, companyId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// 取引(収入/支出)の+更新の更新 /// </summary> /// <remarks> /// 指定した事業所の取引(収入/支出)の+更新を更新する /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// 取引ID /// </param> /// <param name='renewId'> /// +更新ID /// </param> /// <param name='parameters'> /// +更新の更新情報 /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <RenewsResponse> UpdateDealAsync(this IRenews operations, int id, int renewId, RenewsUpdateParams parameters, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateDealWithHttpMessagesAsync(id, renewId, parameters, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }