Click or drag to resize

IEditSessionAddPreliminaryPaymentItem Method

Add new preliminary payment item to order.

Namespace:  Resto.Front.Api.V4.Editors
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.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.V4.Data.PaymentsIPaymentType
Type of payment item that will be added.
order
Type: Resto.Front.Api.V4.Editors.StubsIOrderStub
Order to which payment item will be added.

Return Value

Type: INewPaymentItemStub
See Also