« Business/CyberSource/RequestPart/Service/Tax.pm
↑ Summary
Business/CyberSource/Exception/NotACreditCard.pm »
| 1 | package Business::CyberSource::Exception::UnableToDetectCardTypeCode; | ||
| 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.010007'; # VERSION | |
| 7 | |||
| 8 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | extends 'Business::CyberSource::Exception'; | |
| 10 | |||
| 11 | sub _build_message { | ||
| 12 | 0 | ▶ | my $self = shift; |
|
Subroutine
_build_message: not called CC=1 SCAR=6.9
| |||
| 13 | 0 | return 'card type code for "' | |
| 14 | . $self->type | ||
| 15 | . '" was unable to be detected please define it manually'; | ||
| 16 | } | ||
| 17 | |||
| 18 | 1 | has type => ( | |
| 19 | isa => 'Str', | ||
| 20 | is => 'ro', | ||
| 21 | required => 1, | ||
| 22 | ); | ||
| 23 | |||
| 24 | 1 | __PACKAGE__->meta->make_immutable; | |
| 25 | 1 | 1; | |
| 26 | # ABSTRACT: Card prefix did not match list of automatic supported types | ||
| 27 | |||
| 28 | __END__ | ||
| 29 | |||
| 30 | =pod | ||
| 31 | |||
| 32 | =encoding UTF-8 | ||
| 33 | |||
| 34 | =head1 NAME | ||
| 35 | |||
| 36 | Business::CyberSource::Exception::UnableToDetectCardTypeCode - Card prefix did not match list of automatic supported types | ||
| 37 | |||
| 38 | =head1 VERSION | ||
| 39 | |||
| 40 | version 0.010007 | ||
| 41 | |||
| 42 | =head1 BUGS | ||
| 43 | |||
| 44 | Please report any bugs or feature requests on the bugtracker website | ||
| 45 | https://github.com/xenoterracide/business-cybersource/issues | ||
| 46 | |||
| 47 | When submitting a bug or request, please include a test-file or a | ||
| 48 | patch to an existing test-file that illustrates the bug or desired | ||
| 49 | feature. | ||
| 50 | |||
| 51 | =head1 AUTHOR | ||
| 52 | |||
| 53 | Caleb Cushing <xenoterracide@gmail.com> | ||
| 54 | |||
| 55 | =head1 COPYRIGHT AND LICENSE | ||
| 56 | |||
| 57 | This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>. | ||
| 58 | |||
| 59 | This is free software, licensed under: | ||
| 60 | |||
| 61 | The Artistic License 2.0 (GPL Compatible) | ||
| 62 | |||
| 63 | =cut | ||