line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Business::CPI::Role::Status; |
2
|
|
|
|
|
|
|
# ABSTRACT: Status of operations in the gateway |
3
|
1
|
|
|
1
|
|
6935
|
use Moo::Role; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
4
|
1
|
|
|
1
|
|
837
|
use Types::Standard qw/Bool Str/; |
|
1
|
|
|
|
|
55397
|
|
|
1
|
|
|
|
|
12
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.924'; # VERSION |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has is_success => ( |
9
|
|
|
|
|
|
|
coerce => Bool->coercion, |
10
|
|
|
|
|
|
|
isa => Bool, |
11
|
|
|
|
|
|
|
is => 'ro', |
12
|
|
|
|
|
|
|
required => 1, |
13
|
|
|
|
|
|
|
); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
has is_in_progress => ( |
16
|
|
|
|
|
|
|
coerce => Bool->coercion, |
17
|
|
|
|
|
|
|
isa => Bool, |
18
|
|
|
|
|
|
|
is => 'ro', |
19
|
|
|
|
|
|
|
required => 1, |
20
|
|
|
|
|
|
|
); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
has is_reverted => ( |
23
|
|
|
|
|
|
|
coerce => Bool->coercion, |
24
|
|
|
|
|
|
|
isa => Bool, |
25
|
|
|
|
|
|
|
is => 'ro', |
26
|
|
|
|
|
|
|
required => 1, |
27
|
|
|
|
|
|
|
); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
has gateway_name => ( |
30
|
|
|
|
|
|
|
coerce => Str->coercion, |
31
|
|
|
|
|
|
|
isa => Str, |
32
|
|
|
|
|
|
|
is => 'ro', |
33
|
|
|
|
|
|
|
required => 1, |
34
|
|
|
|
|
|
|
); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__END__ |