PPPStripeApplePayDomain

Class ApplePayDomain.

Defined (1)

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

/includes/api/stripe-php/lib/ApplePayDomain.php  
  1. class ApplePayDomain extends ApiResource 
  2.  
  3. /** 
  4. * @return string The class URL for this resource. It needs to be special 
  5. * cased because it doesn't fit into the standard resource pattern. 
  6. */ 
  7. public static function classUrl() 
  8. return '/v1/apple_pay/domains'; 
  9.  
  10. /** 
  11. * @param string $id The ID of the domain to retrieve. 
  12. * @param array|string|null $opts 
  13. * @return ApplePayDomain 
  14. */ 
  15. public static function retrieve($id, $opts = null) 
  16. return self::_retrieve($id, $opts); 
  17.  
  18. /** 
  19. * @param array|null $params 
  20. * @param array|string|null $opts 
  21. * @return ApplePayDomain The created domain. 
  22. */ 
  23. public static function create($params = null, $opts = null) 
  24. return self::_create($params, $opts); 
  25.  
  26. /** 
  27. * @param array|null $params 
  28. * @param array|string|null $opts 
  29. * @return ApplePayDomain The deleted domain. 
  30. */ 
  31. public function delete($params = null, $opts = null) 
  32. return $this->_delete($params, $opts); 
  33.  
  34. /** 
  35. * @param array|null $params 
  36. * @param array|string|null $opts 
  37. * @return Collection of ApplePayDomains 
  38. */ 
  39. public static function all($params = null, $opts = null) 
  40. return self::_all($params, $opts);