Click or drag to resize

IEditSessionChangePaymentItemSum Method

Changes sum of existing payment item.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
void ChangePaymentItemSum(
	decimal paymentSum,
	decimal? minPaymentSum,
	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.Editors.StubsIPaymentItemStub
Payment item to be edited.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order of which payment item will be edited.
See Also