FirstName Property



 
The FirstName property contains the first name of the owner of the card.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("CreditCard").FirstName [=str]
    
Possible Values
    String that specifies or retrieves the first name.

    The property is read/write.
Remarks
    None.
Examples
    The following example shows the first name of the owner of the credit card in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    creditcard = SiteKiosk.Plugins("SiteCash").Devices("CreditCard");
    ccardinfo = creditcard.CreateCardInfo();
    alert(ccardinfo.FirstName);
    </SCRIPT>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top