Skip to content

PaymentButtonDevice class ​

No description available

Functions ​

mnscript
string PaymentButtonDevice.GetName() 
  • Gets the name of the device
mnscript
bool PaymentButtonDevice.GetPaymentEnabled() 
  • Gets whether the button has payment enabled
mnscript
number PaymentButtonDevice.GetPrice() 
  • Gets the price of the Payment Button Device
mnscript
bool PaymentButtonDevice.IsValid() 
  • Returns whether the button is valid
mnscript
PaymentButtonDevice.SetPaymentEnabled(bool) 
  • Sets whether the button has payment enabled
mnscript
PaymentButtonDevice.SetPrice(number) 
  • Sets the price of the Payment Button Device