PaymentButtonDevice.GetPaymentEnabled
Skip to content
mnscript
bool PaymentButtonDevice.GetPaymentEnabled() 

Description ​

Gets whether the button has payment enabled

Returns ​

bool - True if the button has payment enabled

Example ​

msc
using Device;

PaymentButtonDevice device = Device.FindPaymentButton("MyButton");
bool paymentEnabled = device.GetPaymentEnabled();