Try your search with a different keyword or use * as a wildcard.
using Nop.Core;
using Nop.Core.Domain.Orders;
namespace Nop.Services.Orders;
///
/// Return request service interface
///
public partial interface IReturnRequestService
{
///
/// Updates a return request
///
/// Return request
/// A task that represents the asynchronous operation
Task UpdateReturnRequestAsync(ReturnRequest returnRequest);
///
/// Deletes a return request
///
/// Return request
/// A task that represents the asynchronous operation
Task DeleteReturnRequestAsync(ReturnRequest returnRequest);
///
/// Gets a return request
///
/// Return request identifier
///
/// A task that represents the asynchronous operation
/// The task result contains the return request
///
Task GetReturnRequestByIdAsync(int returnRequestId);
///
/// Search return requests
///
/// Store identifier; 0 to load all entries
/// Customer identifier; 0 to load all entries
/// Order item identifier; 0 to load all entries
/// Custom number; null or empty to load all entries
/// Return request status; null to load all entries
/// Created date from (UTC); null to load all records
/// Created date to (UTC); null to load all records
/// Page index
/// Page size
/// A value in indicating whether you want to load only total number of records. Set to "true" if you don't want to load data from database
///
/// A task that represents the asynchronous operation
/// The task result contains the return requests
///
Task> SearchReturnRequestsAsync(int storeId = 0, int customerId = 0,
int orderItemId = 0, string customNumber = "", ReturnRequestStatus? rs = null, DateTime? createdFromUtc = null,
DateTime? createdToUtc = null, int pageIndex = 0, int pageSize = int.MaxValue, bool getOnlyTotalCount = false);
///
/// Gets the return request availability
///
/// The order identifier
/// The containing the
Task GetReturnRequestAvailabilityAsync(int orderId);
///
/// Delete a return request action
///
/// Return request action
/// A task that represents the asynchronous operation
Task DeleteReturnRequestActionAsync(ReturnRequestAction returnRequestAction);
///
/// Gets all return request actions
///
///
/// A task that represents the asynchronous operation
/// The task result contains the return request actions
///
Task> GetAllReturnRequestActionsAsync();
///
/// Gets a return request action
///
/// Return request action identifier
///
/// A task that represents the asynchronous operation
/// The task result contains the return request action
///
Task GetReturnRequestActionByIdAsync(int returnRequestActionId);
///
/// Inserts a return request
///
/// Return request
/// A task that represents the asynchronous operation
Task InsertReturnRequestAsync(ReturnRequest returnRequest);
///
/// Inserts a return request action
///
/// Return request action
/// A task that represents the asynchronous operation
Task InsertReturnRequestActionAsync(ReturnRequestAction returnRequestAction);
///
/// Updates the return request action
///
/// Return request action
/// A task that represents the asynchronous operation
Task UpdateReturnRequestActionAsync(ReturnRequestAction returnRequestAction);
///
/// Delete a return request reason
///
/// Return request reason
/// A task that represents the asynchronous operation
Task DeleteReturnRequestReasonAsync(ReturnRequestReason returnRequestReason);
///
/// Gets all return request reasons
///
///
/// A task that represents the asynchronous operation
/// The task result contains the return request reasons
///
Task> GetAllReturnRequestReasonsAsync();
///
/// Gets a return request reason
///
/// Return request reason identifier
///
/// A task that represents the asynchronous operation
/// The task result contains the return request reason
///
Task GetReturnRequestReasonByIdAsync(int returnRequestReasonId);
///
/// Inserts a return request reason
///
/// Return request reason
/// A task that represents the asynchronous operation
Task InsertReturnRequestReasonAsync(ReturnRequestReason returnRequestReason);
///
/// Updates the return request reason
///
/// Return request reason
/// A task that represents the asynchronous operation
Task UpdateReturnRequestReasonAsync(ReturnRequestReason returnRequestReason);
}