Click or drag to resize

IEditSessionAddPreliminaryPaymentItem Method

Add new preliminary payment item to order.

Namespace:  Resto.Front.Api.V5.Editors
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax
C#
INewPaymentItemStub AddPreliminaryPaymentItem(
	decimal paymentSum,
	Object additionalData,
	IPaymentType paymentType,
	IOrderStub order
)

Parameters

paymentSum
Type: SystemDecimal
Sum of payment item that will be added.
additionalData
Type: SystemObject
Payment type specific additional data.
paymentType
Type: Resto.Front.Api.V5.Data.PaymentsIPaymentType
Type of payment item that will be added.
order
Type: Resto.Front.Api.V5.Editors.StubsIOrderStub
Order to which payment item will be added.

Return Value

Type: INewPaymentItemStub
See Also