MergeCodeAccount Method



 
The MergeCodeAccount method merges the account using a code.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    MergeCodeAccount(code)
    
Parameters
    code String that specifies the code.
Return Value
    None.
Remarks
    The amount of the code will be transferred to the current account and the code will become invalid.
Examples
    The following example merges the account using a code.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.MergeCodeAccount("your_code");
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top