ThreeDSecure.php 773 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace Stripe;
  3. class ThreeDSecure extends ApiResource
  4. {
  5. /**
  6. * @return string The endpoint URL for the given class.
  7. */
  8. public static function classUrl()
  9. {
  10. return "/v1/3d_secure";
  11. }
  12. /**
  13. * @param string $id The ID of the 3DS auth to retrieve.
  14. * @param array|string|null $options
  15. *
  16. * @return ThreeDSecure
  17. */
  18. public static function retrieve($id, $options = null)
  19. {
  20. return self::_retrieve($id, $options);
  21. }
  22. /**
  23. * @param array|null $params
  24. * @param array|string|null $opts
  25. *
  26. * @return ThreeDSecure The created 3D Secure object.
  27. */
  28. public static function create($params = null, $opts = null)
  29. {
  30. return self::_create($params, $opts);
  31. }
  32. }