| 1 | package Net::Braintree::Test::VenmoSdk; | ||
| 2 | use strict; | ||
| 3 | |||
| 4 | use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS ); | ||
| 5 | use Exporter qw(import); | ||
| 6 | our @ISA = qw(Exporter); | ||
| 7 | our @EXPORT = qw(generate_test_payment_method_code); | ||
| 8 | |||
| 9 | sub generate_test_payment_method_code { | ||
| 10 | my($number) = @_; | ||
| 11 | return "stub-" . $number; | ||
| 12 | }; | ||
| 13 | |||
| 14 | use constant InvalidPaymentMethodCode => "stub-invalid-payment-method-code"; | ||
| 15 | use constant VisaPaymentMethodCode => generate_test_payment_method_code("4111111111111111"); | ||
| 16 | |||
| 17 | use constant InvalidSession => "stub-invalid-session"; | ||
| 18 | use constant Session => "stub-session"; | ||
| 19 | |||
| 20 | 1; |