M2_Stripe_Token

The Membership 2 M2 Stripe Token class.

Defined (1)

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

/lib/stripe-php/lib/Stripe/Token.php  
  1. class M2_Stripe_Token extends M2_Stripe_ApiResource 
  2. /** 
  3. * @param string $id The ID of the token to retrieve. 
  4. * @param string|null $apiKey 
  5. * @return Stripe_Token 
  6. */ 
  7. public static function retrieve($id, $apiKey=null) 
  8. $class = get_class(); 
  9. return self::_scopedRetrieve($class, $id, $apiKey); 
  10.  
  11. /** 
  12. * @param array|null $params 
  13. * @param string|null $apiKey 
  14. * @return Stripe_Coupon The created token. 
  15. */ 
  16. public static function create($params=null, $apiKey=null) 
  17. $class = get_class(); 
  18. return self::_scopedCreate($class, $params, $apiKey);