Click or drag to resize

IOperationServiceStornoPastOrder Method

Storno past order items from a past order.

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

Parameters

pastOrder
Type: Resto.Front.Api.Data.OrdersPastOrder
Existing past order 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