IOperationServiceUpdatePaymentScreenButtonState Method |
Updates an existing button state on the payment screen.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntaxvoid 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 AlsoReference
AddButtonToPaymentScreen(String, Boolean, Boolean, ActionValueTupleIOrder, IOperationService, IViewManager, ValueTupleGuid, String, Boolean, String, String)