Click or drag to resize

IEditSessionChangePaymentItemSum Method

Changes sum of existing payment item.

Namespace:  Resto.Front.Api.V5.Editors
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.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.V5.Editors.StubsIPaymentItemStub
Payment item to be edited.
order
Type: Resto.Front.Api.V5.Editors.StubsIOrderStub
Order of which payment item will be edited.
See Also