VenmoSdk.php 711 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Braintree\Test;
  3. /**
  4. * VenmoSdk payment method codes used for testing purposes
  5. *
  6. * @package Braintree
  7. * @subpackage Test
  8. */
  9. class VenmoSdk
  10. {
  11. public static $visaPaymentMethodCode = "stub-4111111111111111";
  12. public static function generateTestPaymentMethodCode($number) {
  13. return "stub-" . $number;
  14. }
  15. public static function getInvalidPaymentMethodCode() {
  16. return "stub-invalid-payment-method-code";
  17. }
  18. public static function getTestSession() {
  19. return "stub-session";
  20. }
  21. public static function getInvalidTestSession() {
  22. return "stub-invalid-session";
  23. }
  24. }
  25. class_alias('Braintree\Test\VenmoSdk', 'Braintree_Test_VenmoSdk');