mnscript
PaymentButtonDevice Device.FindPaymentButton(string) Description ​
Finds a connected Payment Button Device
Arguments ​
string - The device name to search for
Returns ​
PaymentButtonDevice - The found device
Example ​
msc
using Device;
// Finds a payment button device with the name "My Payment Button" and sets its price.
PaymentButtonDevice button = Device.FindPaymentButton("My Numpad Trigger");
number price = button.SetPrice(40000);