Year Property



 
The Year property contains the year when the card validity ends.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("CreditCard").Year [=short]
    
Possible Values
    Short value that specifies or retrieves the year.

    The property is read/write.
Remarks
    None.
Examples
    The following example shows the year when the validity ends in an alert window.

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

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

Back to top