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   4 use strict;
  1         1  
  1         26  
3              
4 1     1   4 use constant PartnerMerchantConnected => "partner_merchant_connected";
  1         1  
  1         62  
5 1     1   5 use constant PartnerMerchantDisconnected => "partner_merchant_disconnected";
  1         1  
  1         34  
6 1     1   4 use constant PartnerMerchantDeclined => "partner_merchant_declined";
  1         1  
  1         32  
7 1     1   2 use constant SubscriptionCanceled => "subscription_canceled";
  1         2  
  1         36  
8 1     1   3 use constant SubscriptionChargedSuccessfully => "subscription_charged_successfully";
  1         2  
  1         36  
9 1     1   4 use constant SubscriptionChargedUnsuccessfully => "subscription_charged_unsuccessfully";
  1         1  
  1         37  
10 1     1   3 use constant SubscriptionExpired => "subscription_expired";
  1         2  
  1         75  
11 1     1   4 use constant SubscriptionTrialEnded => "subscription_trial_ended";
  1         1  
  1         36  
12 1     1   4 use constant SubscriptionWentActive => "subscription_went_active";
  1         1  
  1         35  
13 1     1   4 use constant SubscriptionWentPastDue => "subscription_went_past_due";
  1         1  
  1         34  
14 1     1   4 use constant SubMerchantAccountApproved => "sub_merchant_account_approved";
  1         1  
  1         31  
15 1     1   3 use constant SubMerchantAccountDeclined => "sub_merchant_account_declined";
  1         2  
  1         34  
16 1     1   3 use constant TransactionDisbursed => "transaction_disbursed";
  1         1  
  1         36  
17 1     1   3 use constant DisbursementException => "disbursement_exception";
  1         1  
  1         38  
18 1     1   4 use constant Disbursement => "disbursement";
  1         1  
  1         34  
19 1     1   4 use constant DisputeOpened => "dispute_opened";
  1         1  
  1         30  
20 1     1   3 use constant DisputeLost => "dispute_lost";
  1         1  
  1         33  
21 1     1   4 use constant DisputeWon => "dispute_won";
  1         142  
  1         66  
22              
23 1         46 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   4 );
  1         2  
43              
44             1;