Click or drag to resize

IEditSessionChangePaymentItemSum Method

Changes sum of existing payment item.

Namespace:  Resto.Front.Api.V4.Editors
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
void ChangePaymentItemSum(
	decimal paymentSum,
	Nullable<decimal> minPaymentSum,
	Nullable<decimal> maxPaymentSum,
	IPaymentItemStub paymentItem,
	IOrderStub order
)

Parameters

paymentSum
Type: SystemDecimal
New sum of payment item.
minPaymentSum
Type: SystemNullableDecimal
Minimum allowed payment sum, lower bound for the payment. null means default limit value.
maxPaymentSum
Type: SystemNullableDecimal
Maximum allowed payment sum, upper bound for the payment. null means default limit value.
paymentItem
Type: Resto.Front.Api.V4.Editors.StubsIPaymentItemStub
Payment item to be edited.
order
Type: Resto.Front.Api.V4.Editors.StubsIOrderStub
Order of which payment item will be edited.
See Also