« Business/CyberSource/Exception/UnableToDetectCardTypeCode.pm
↑ Summary
Business/CyberSource/Exception.pm »
| 1 | package Business::CyberSource::Exception::NotACreditCard; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | our $VERSION = '0.010008'; # VERSION | |
| 7 | |||
| 8 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | extends 'Business::CyberSource::Exception'; | |
| 10 | |||
| 11 | 0 | ▶ | sub _build_message { |
|
Subroutine
_build_message: not called CC=1 SCAR=6.9
| |||
| 12 | 0 | return 'not a credit card'; | |
| 13 | } | ||
| 14 | |||
| 15 | 1 | __PACKAGE__->meta->make_immutable; | |
| 16 | 1 | 1; | |
| 17 | # ABSTRACT: Card number is not a valid credit card | ||
| 18 | |||
| 19 | __END__ | ||