File Coverage

blib/lib/Net/Braintree/WebhookNotification/Kind.pm
Criterion Covered Total %
statement 60 60 100.0
branch n/a
condition n/a
subroutine 20 20 100.0
pod n/a
total 80 80 100.0


line stmt bran cond sub pod time code
1             package Net::Braintree::WebhookNotification::Kind;
2 1     1   5 use strict;
  1         1  
  1         44  
3              
4 1     1   4 use constant PartnerMerchantConnected => "partner_merchant_connected";
  1         3  
  1         65  
5 1     1   5 use constant PartnerMerchantDisconnected => "partner_merchant_disconnected";
  1         1  
  1         36  
6 1     1   4 use constant PartnerMerchantDeclined => "partner_merchant_declined";
  1         2  
  1         32  
7 1     1   80 use constant SubscriptionCanceled => "subscription_canceled";
  1         2  
  1         60  
8 1     1   5 use constant SubscriptionChargedSuccessfully => "subscription_charged_successfully";
  1         1  
  1         37  
9 1     1   4 use constant SubscriptionChargedUnsuccessfully => "subscription_charged_unsuccessfully";
  1         2  
  1         32  
10 1     1   4 use constant SubscriptionExpired => "subscription_expired";
  1         0  
  1         43  
11 1     1   3 use constant SubscriptionTrialEnded => "subscription_trial_ended";
  1         3  
  1         32  
12 1     1   4 use constant SubscriptionWentActive => "subscription_went_active";
  1         2  
  1         35  
13 1     1   5 use constant SubscriptionWentPastDue => "subscription_went_past_due";
  1         1  
  1         35  
14 1     1   4 use constant SubMerchantAccountApproved => "sub_merchant_account_approved";
  1         1  
  1         38  
15 1     1   8 use constant SubMerchantAccountDeclined => "sub_merchant_account_declined";
  1         1  
  1         47  
16 1     1   8 use constant TransactionDisbursed => "transaction_disbursed";
  1         2  
  1         60  
17 1     1   5 use constant DisbursementException => "disbursement_exception";
  1         1  
  1         65  
18 1     1   4 use constant Disbursement => "disbursement";
  1         1  
  1         45  
19 1     1   4 use constant DisputeOpened => "dispute_opened";
  1         1  
  1         33  
20 1     1   4 use constant DisputeLost => "dispute_lost";
  1         1  
  1         41  
21 1     1   5 use constant DisputeWon => "dispute_won";
  1         2  
  1         124  
22              
23 1         60 use constant All => (
24             PartnerMerchantConnected,
25             PartnerMerchantDisconnected,
26             PartnerMerchantDeclined,
27             SubscriptionCanceled,
28             SubscriptionChargedSuccessfully,
29             SubscriptionChargedUnsuccessfully,
30             SubscriptionExpired,
31             SubscriptionTrialEnded,
32             SubscriptionWentActive,
33             SubscriptionWentPastDue,
34             SubMerchantAccountApproved,
35             SubMerchantAccountDeclined,
36             TransactionDisbursed,
37             DisbursementException,
38             Disbursement,
39             DisputeOpened,
40             DisputeLost,
41             DisputeWon,
42 1     1   5 );
  1         2  
43              
44             1;