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