Debit Method
The Debit method decreases the credit saved to the card.
Syntax
SiteKiosk.Plugins("SiteCash").Devices("ACOS").Debit(amount)
|
Parameters
amount |
Currency value that specifies the amount to subtract from the card. |
Return Value
Remarks
Examples
The following example decreases the credit saved to the card when the link is clicked.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
function subamount()
{
SiteKiosk.Plugins("SiteCash").Devices("ACOS").Debit(10);
}
</SCRIPT>
<a href="javascript:subamount();">Decrease credit</a>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top