AcceptedCards Collection



 
The AcceptedCards collection contains the names of the accepted credit cards.


Members Table

    The following table lists the members provided by the AcceptedCards collection.

    Members
    Properties Description
    Count The number of accepted credit cards.
    Methods Description
    Item Returns one item of the collection.

Remarks
    This collection is available through the object CreditCard. Use the AcceptedCards collection to determine the names of all accepted credit cards.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example shows the number of accpted credit cards in an alert window.

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

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

Back to top