Click or drag to resize

IOperationServiceUpdatePaymentScreenButtonState Method

Updates an existing button state on the payment screen.

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

Parameters

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