File Coverage

lib/WebService/Braintree/Transaction/Status.pm
Criterion Covered Total %
statement 44 44 100.0
branch n/a
condition n/a
subroutine 15 15 100.0
pod n/a
total 59 59 100.0


line stmt bran cond sub pod time code
1             package WebService::Braintree::Transaction::Status;
2             $WebService::Braintree::Transaction::Status::VERSION = '0.94';
3 20     20   280 use 5.010_001;
  20         65  
4 20     20   99 use strictures 1;
  20         109  
  20         646  
5              
6 20     20   1602 use constant AuthorizationExpired => 'authorization_expired';
  20         36  
  20         976  
7 20     20   106 use constant Authorizing => 'authorizing';
  20         41  
  20         885  
8 20     20   214 use constant Authorized => 'authorized';
  20         52  
  20         852  
9 20     20   108 use constant GatewayRejected => 'gateway_rejected';
  20         38  
  20         867  
10 20     20   121 use constant Failed => 'failed';
  20         40  
  20         903  
11 20     20   119 use constant ProcessorDeclined => 'processor_declined';
  20         41  
  20         869  
12 20     20   109 use constant Settled => 'settled';
  20         41  
  20         801  
13 20     20   103 use constant Settling => 'settling';
  20         43  
  20         798  
14 20     20   114 use constant SubmittedForSettlement => 'submitted_for_settlement';
  20         40  
  20         790  
15 20     20   105 use constant SettlementDeclined => 'settlement_declined';
  20         36  
  20         810  
16 20     20   105 use constant SettlementPending => 'settlement_pending';
  20         40  
  20         851  
17 20     20   105 use constant Voided => 'voided';
  20         39  
  20         1323  
18              
19 20         1027 use constant All => (
20             AuthorizationExpired,
21             Authorizing,
22             Authorized,
23             GatewayRejected,
24             Failed,
25             ProcessorDeclined,
26             Settled,
27             SettlementDeclined,
28             SettlementPending,
29             Settling,
30             SubmittedForSettlement,
31             Voided,
32 20     20   111 );
  20         42  
33              
34             1;
35             __END__