Click or drag to resize

IOperationServiceStornoPastOrderItems Method

Storno arbitrary past order items selected by user.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
void StornoPastOrderItems(
	IReadOnlyList<PastOrderItem> items,
	IPaymentType paymentType,
	IRemovalType removalType,
	IRestaurantSection restaurantSection,
	IOrderType orderType,
	ICredentials credentials,
	ChequeAdditionalInfo chequeAdditionalInfo = null,
	TaxationSystem? taxationSystem = null,
	OrganizationDetailsInfo organizationDetailsInfo = null
)

Parameters

items
Type: System.Collections.GenericIReadOnlyListPastOrderItem
Arbitrary past order items to storno.
paymentType
Type: Resto.Front.Api.Data.PaymentsIPaymentType
Payment type to process storno operation. Call GetPaymentTypesToStornoPastOrderItems to get available payment types.
removalType
Type: Resto.Front.Api.Data.OrdersIRemovalType
Removal type to write off past order items from some account. Call GetRemovalTypesToStornoPastOrderItems to get available removal types.
restaurantSection
Type: Resto.Front.Api.Data.Organization.SectionsIRestaurantSection
Restaurant section.
orderType
Type: Resto.Front.Api.Data.OrganizationIOrderType
Order type.
credentials
Type: Resto.Front.Api.Data.SecurityICredentials
The credentials returned by AuthenticateByPin(String) method.
chequeAdditionalInfo (Optional)
Type: Resto.Front.Api.Data.PaymentsChequeAdditionalInfo
Cheque additional info for russian fiscal payments according to federal law #54.
taxationSystem (Optional)
Type: SystemNullableTaxationSystem
Taxation system. Call GetTaxationSystemsToStornoPastOrderItems to get available taxation systems.
organizationDetailsInfo (Optional)
Type: Resto.Front.Api.Data.PaymentsOrganizationDetailsInfo
Organization details informations.
See Also