PPPStripeToken

Class Token.

Defined (1)

The class is defined in the following location(s).

/includes/api/stripe-php/lib/Token.php  
  1. class Token extends ApiResource 
  2. /** 
  3. * @param string $id The ID of the token to retrieve. 
  4. * @param array|string|null $opts 
  5. * @return Token 
  6. */ 
  7. public static function retrieve($id, $opts = null) 
  8. return self::_retrieve($id, $opts); 
  9.  
  10. /** 
  11. * @param array|null $params 
  12. * @param array|string|null $opts 
  13. * @return Token The created token. 
  14. */ 
  15. public static function create($params = null, $opts = null) 
  16. return self::_create($params, $opts);