Click or drag to resize

IEditSessionChangePaymentItemSum Method

Changes sum of existing payment item.

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

Parameters

paymentSum  Decimal
New sum of payment item.
minPaymentSum  NullableDecimal
Minimum allowed payment sum, lower bound for the payment. null means default limit value.
maxPaymentSum  NullableDecimal
Maximum allowed payment sum, upper bound for the payment. null means default limit value.
paymentItem  IPaymentItemStub
Payment item to be edited.
order  IOrderStub
Order of which payment item will be edited.
See Also