Interface IOrderService
public interface IOrderService : IService<Order>
- Inherited Members
Methods
CapturePayment(Order)
Task<CapturePaymentResult?> CapturePayment(Order order)
Parameters
order
Order
Returns
GetByNumber(string)
Task<Order> GetByNumber(string orderNumber)
Parameters
orderNumber
string
Returns
GetPage(int, string, SortOrder, string?, PaymentStatus?)
Task<PaginatedResponse<Order>> GetPage(int page, string filter, SortOrder sortOrder = SortOrder.DESC, string? sortBy = null, PaymentStatus? paymentStatus = null)
Parameters
page
intfilter
stringsortOrder
SortOrdersortBy
stringpaymentStatus
PaymentStatus?
Returns
RetryPayment(Order, IPublishedContent)
Task<InitiatePaymentResult> RetryPayment(Order basket, IPublishedContent confirmationPage)
Parameters
basket
OrderconfirmationPage
IPublishedContent
Returns
SaveAdditionalData(Order)
Task SaveAdditionalData(Order order)
Parameters
order
Order