summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2019-04-23 22:32:58 -0400
committerMitch Jackson <mitch@freeside.biz>2019-04-23 22:32:58 -0400
commitaafac6c334a6fd51e131e958a22adb04b62bf476 (patch)
treec9da45784e410842719582907fc7763b054c5de7
parent631b0b39ddec1ee0e41bf30bdb47e84cfd8502ec (diff)
Add B::OP undocumented _info discovery hash
-rwxr-xr-xlib/Business/OnlinePayment/Bambora.pm27
1 files changed, 22 insertions, 5 deletions
diff --git a/lib/Business/OnlinePayment/Bambora.pm b/lib/Business/OnlinePayment/Bambora.pm
index 0095665..98c402f 100755
--- a/lib/Business/OnlinePayment/Bambora.pm
+++ b/lib/Business/OnlinePayment/Bambora.pm
@@ -17,14 +17,31 @@ use URI::Escape;
use vars qw/ $VERSION $DEBUG /;
$VERSION = '0.1';
-$DEBUG = 1;
-
-if ( $DEBUG ) {
- $Data::Dumper::Sortkeys = 1;
-}
+$DEBUG = 0;
=head1 INTERNAL METHODS
+=head2 _info
+
+=cut
+
+sub _info {{
+ info_compat => '0.01',
+ module_version => $VERSION,
+ supported_types => [qw/ CC /],
+ supported_actions => {
+ CC => [
+ 'Normal Authorization',
+ 'Authorization Only',
+ 'Post Authorization',
+ 'Void',
+ 'Credit',
+ 'Reverse Authorization',
+ 'Tokenize',
+ ],
+ },
+}}
+
=head2 set_defaults
See L<Business::OnlinePayment/set_defaults>