SiteKiosk Documentation
One Step Back

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
    PropertiesDescription
    CountThe number of accepted credit cards.
    MethodsDescription
    ItemReturns 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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -