Nonces.php 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. namespace Braintree\Test;
  3. /**
  4. * Nonces used for testing purposes
  5. *
  6. * @package Braintree
  7. * @subpackage Test
  8. */
  9. /**
  10. * Nonces used for testing purposes
  11. *
  12. * The constants in this class can be used to perform nonce operations
  13. * with the desired status in the sandbox environment.
  14. *
  15. * @package Braintree
  16. * @subpackage Test
  17. */
  18. class Nonces
  19. {
  20. public static $transactable = "fake-valid-nonce";
  21. public static $consumed = "fake-consumed-nonce";
  22. public static $paypalOneTimePayment = "fake-paypal-one-time-nonce";
  23. public static $paypalFuturePayment = "fake-paypal-future-nonce";
  24. public static $paypalBillingAgreement = "fake-paypal-billing-agreement-nonce";
  25. public static $applePayVisa = "fake-apple-pay-visa-nonce";
  26. public static $applePayMasterCard = "fake-apple-pay-visa-nonce";
  27. public static $applePayAmEx = "fake-apple-pay-amex-nonce";
  28. public static $androidPay = "fake-android-pay-nonce";
  29. public static $androidPayDiscover = "fake-android-pay-discover-nonce";
  30. public static $androidPayVisa = "fake-android-pay-visa-nonce";
  31. public static $androidPayMasterCard = "fake-android-pay-mastercard-nonce";
  32. public static $androidPayAmEx = "fake-android-pay-amex-nonce";
  33. public static $amexExpressCheckout = "fake-amex-express-checkout-nonce";
  34. public static $abstractTransactable = "fake-abstract-transactable-nonce";
  35. public static $europe = "fake-europe-bank-account-nonce";
  36. public static $coinbase = "fake-coinbase-nonce";
  37. public static $transactableVisa = "fake-valid-visa-nonce";
  38. public static $transactableAmEx = "fake-valid-amex-nonce";
  39. public static $transactableMasterCard = "fake-valid-mastercard-nonce";
  40. public static $transactableDiscover = "fake-valid-discover-nonce";
  41. public static $transactableJCB = "fake-valid-jcb-nonce";
  42. public static $transactableMaestro = "fake-valid-maestro-nonce";
  43. public static $transactableDinersClub = "fake-valid-dinersclub-nonce";
  44. public static $transactablePrepaid = "fake-valid-prepaid-nonce";
  45. public static $transactableCommercial = "fake-valid-commercial-nonce";
  46. public static $transactableDurbinRegulated = "fake-valid-durbin-regulated-nonce";
  47. public static $transactableHealthcare = "fake-valid-healthcare-nonce";
  48. public static $transactableDebit = "fake-valid-debit-nonce";
  49. public static $transactablePayroll = "fake-valid-payroll-nonce";
  50. public static $transactableNoIndicators = "fake-valid-no-indicators-nonce";
  51. public static $transactableUnknownIndicators = "fake-valid-unknown-indicators-nonce";
  52. public static $transactableCountryOfIssuanceUSA = "fake-valid-country-of-issuance-usa-nonce";
  53. public static $transactableCountryOfIssuanceCAD = "fake-valid-country-of-issuance-cad-nonce";
  54. public static $transactableIssuingBankNetworkOnly = "fake-valid-issuing-bank-network-only-nonce";
  55. public static $processorDeclinedVisa = "fake-processor-declined-visa-nonce";
  56. public static $processorDeclinedMasterCard = "fake-processor-declined-mastercard-nonce";
  57. public static $processorDeclinedAmEx = "fake-processor-declined-amex-nonce";
  58. public static $processorDeclinedDiscover = "fake-processor-declined-discover-nonce";
  59. public static $processorFailureJCB = "fake-processor-failure-jcb-nonce";
  60. public static $luhnInvalid = "fake-luhn-invalid-nonce";
  61. public static $paypalFuturePaymentRefreshToken = "fake-paypal-future-refresh-token-nonce";
  62. public static $sepa = "fake-sepa-bank-account-nonce";
  63. public static $gatewayRejectedFraud = "fake-gateway-rejected-fraud-nonce";
  64. public static $venmoAccount = "fake-venmo-account-nonce";
  65. public static $visaCheckoutAmEx = "fake-visa-checkout-amex-nonce";
  66. public static $visaCheckoutDiscover = "fake-visa-checkout-discover-nonce";
  67. public static $visaCheckoutMasterCard = "fake-visa-checkout-mastercard-nonce";
  68. public static $visaCheckoutVisa = "fake-visa-checkout-visa-nonce";
  69. public static $masterpassAmEx = "fake-masterpass-amex-nonce";
  70. public static $masterpassDiscover = "fake-masterpass-discover-nonce";
  71. public static $masterpassMasterCard = "fake-masterpass-mastercard-nonce";
  72. public static $masterpassVisa = "fake-masterpass-visa-nonce";
  73. public static $samsungPayAmEx = "tokensam_fake_american_express";
  74. public static $samsungPayDiscover = "tokensam_fake_discover";
  75. public static $samsungPayMasterCard = "tokensam_fake_mastercard";
  76. public static $samsungPayVisa = "tokensam_fake_visa";
  77. }
  78. class_alias('Braintree\Test\Nonces', 'Braintree_Test_Nonces');