[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/externals/stripe-php/lib/Stripe/ -> Token.php (source)

   1  <?php
   2  
   3  class Stripe_Token extends Stripe_ApiResource
   4  {
   5    /**
   6     * @param string $id The ID of the token to retrieve.
   7     * @param string|null $apiKey
   8     *
   9     * @return Stripe_Token
  10     */
  11    public static function retrieve($id, $apiKey=null)
  12    {
  13      $class = get_class();
  14      return self::_scopedRetrieve($class, $id, $apiKey);
  15    }
  16  
  17    /**
  18     * @param array|null $params
  19     * @param string|null $apiKey
  20     *
  21     * @return Stripe_Coupon The created token.
  22     */
  23    public static function create($params=null, $apiKey=null)
  24    {
  25      $class = get_class();
  26      return self::_scopedCreate($class, $params, $apiKey);
  27    }
  28  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1