File Coverage

blib/lib/WebService/Braintree/Transaction/Status.pm
Criterion Covered Total %
statement 42 42 100.0
branch n/a
condition n/a
subroutine 14 14 100.0
pod n/a
total 56 56 100.0


line stmt bran cond sub pod time code
1             package WebService::Braintree::Transaction::Status;
2             $WebService::Braintree::Transaction::Status::VERSION = '0.92';
3 1     1   5 use strict;
  1         2  
  1         25  
4              
5 1     1   4 use constant AuthorizationExpired => 'authorization_expired';
  1         1  
  1         39  
6 1     1   4 use constant Authorizing => 'authorizing';
  1         2  
  1         30  
7 1     1   4 use constant Authorized => 'authorized';
  1         2  
  1         31  
8 1     1   4 use constant GatewayRejected => 'gateway_rejected';
  1         1  
  1         41  
9 1     1   5 use constant Failed => 'failed';
  1         2  
  1         34  
10 1     1   5 use constant ProcessorDeclined => 'processor_declined';
  1         1  
  1         31  
11 1     1   5 use constant Settled => 'settled';
  1         2  
  1         36  
12 1     1   5 use constant Settling => 'settling';
  1         1  
  1         30  
13 1     1   4 use constant SubmittedForSettlement => 'submitted_for_settlement';
  1         2  
  1         40  
14 1     1   4 use constant SettlementDeclined => 'settlement_declined';
  1         2  
  1         35  
15 1     1   4 use constant SettlementPending => 'settlement_pending';
  1         2  
  1         30  
16 1     1   4 use constant Voided => 'voided';
  1         2  
  1         51  
17              
18 1         40 use constant All => (
19             AuthorizationExpired,
20             Authorizing,
21             Authorized,
22             GatewayRejected,
23             Failed,
24             ProcessorDeclined,
25             Settled,
26             SettlementDeclined,
27             SettlementPending,
28             Settling,
29             SubmittedForSettlement,
30             Voided,
31 1     1   8 );
  1         2  
32              
33             1;