Click or drag to resize

IEditSession.AddPaymentItem Method

Add new payment item to order.

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

Parameters

paymentSum
Type: System.Decimal
Sum of payment item that will be added.
additionalData
Type: System.Object
Payment type specific additional data.
paymentType
Type: Resto.Front.Api.V5.Data.Payments.IPaymentType
Type of payment item that will be added.
order
Type: Resto.Front.Api.V5.Editors.Stubs.IOrderStub
Order to which payment item will be added.

Return Value

Type: INewPaymentItemStub
See Also