Version: current

     1 <?php
     2 /*
     3  * Číňĺđôĺéń äë˙ ďîäęëţ÷ĺíč˙ âíĺřčő îáúĺęňîâ ę îďëŕňĺ (íŕďđčěĺđ Order)
     4  * Ňŕęćĺ îáúĺęň ěîćĺň čěĺň ĺůĺ 2 ôóíęöčč: canPlay() č OnPaymentSuccess()
     5  *
     6  * @author menedem
     7  */
     8 interface PaymentObjectInterface {
     9
    10     /*
    11      * Âîçâđŕůŕĺň ńóěěó ę îďëŕňĺ
    12      *
    13      * @return Decimal
    14      */
    15     function getPaymentSum();
    16
    17     /*
    18      * Âîçâđŕůŕĺň ńńűëęó íŕ îáúĺęň äë˙ ďîëüçîâŕňĺë˙ (čńďîëüçóĺňń˙ äë˙ đĺäčđĺęňŕ)
    19      *
    20      * @return String
    21      */
    22     function Link();
    23
    24     /*
    25      * Ďđîâĺđ˙ĺň, ěîćĺň ëč áűňü îďëŕ÷ĺí ýňîň îáúĺęň
    26      * (íĺîá˙çŕňĺëüíŕ˙ ôóíęöč˙ číňĺđôĺéńŕ)
    27      *
    28      * @return Bool
    29      *
    30      * function canPlay();
    31      */
    32
    33      /*
    34      * Âűďîëí˙ĺňń˙ â ńëó÷ŕĺ óńďĺříîé îďëŕňű
    35      * (íĺîá˙çŕňĺëüíŕ˙ ôóíęöč˙ číňĺđôĺéńŕ)
    36      *
    37      * function OnPaymentSuccess();
    38      */
    39 }

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -