Click or drag to resize

IOperationServiceUpdatePaymentScreenButtonState Method

Updates an existing button state on the payment screen.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
void UpdatePaymentScreenButtonState(
	Guid buttonId,
	string caption = null,
	bool? isChecked = null,
	bool? isEnabled = null,
	string iconGeometry = null
)

Parameters

buttonId  Guid
Guid of a button to update.
caption  String  (Optional)
New caption. If null, caption will not be changed.
isChecked  NullableBoolean  (Optional)
Indicates whether the button is checked. If null, checked state will not be changed.
isEnabled  NullableBoolean  (Optional)
Is the button available for user interaction. If null, enabled state will not be changed.
iconGeometry  String  (Optional)
New icon. If null, icon will not be changed
See Also