summaryrefslogtreecommitdiff
path: root/BatchPayment/TestMode.pm
blob: 551a9aa9eac3d60174dabb73751873a67de0f5b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package Business::BatchPayment::TestMode;

=head1 DESCRIPTION

The 'test_mode' attribute.  A module that does this role is promising that
requests will not be submitted to a live account if test_mode is true.

=cut

use Moose::Role;

has 'test_mode' => (
  is => 'rw',
  isa => 'Bool',
  default => 0,
);

1;