File Coverage

blib/lib/WebService/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 WebService::Braintree::WebhookNotification::Kind;
2             $WebService::Braintree::WebhookNotification::Kind::VERSION = '0.93';
3 1     1   6 use strict;
  1         2  
  1         32  
4              
5 1     1   5 use constant PartnerMerchantConnected => "partner_merchant_connected";
  1         2  
  1         71  
6 1     1   5 use constant PartnerMerchantDisconnected => "partner_merchant_disconnected";
  1         1  
  1         36  
7 1     1   6 use constant PartnerMerchantDeclined => "partner_merchant_declined";
  1         1  
  1         45  
8 1     1   5 use constant SubscriptionCanceled => "subscription_canceled";
  1         2  
  1         35  
9 1     1   5 use constant SubscriptionChargedSuccessfully => "subscription_charged_successfully";
  1         3  
  1         38  
10 1     1   5 use constant SubscriptionChargedUnsuccessfully => "subscription_charged_unsuccessfully";
  1         2  
  1         36  
11 1     1   6 use constant SubscriptionExpired => "subscription_expired";
  1         1  
  1         32  
12 1     1   5 use constant SubscriptionTrialEnded => "subscription_trial_ended";
  1         2  
  1         37  
13 1     1   5 use constant SubscriptionWentActive => "subscription_went_active";
  1         2  
  1         34  
14 1     1   5 use constant SubscriptionWentPastDue => "subscription_went_past_due";
  1         2  
  1         34  
15 1     1   4 use constant SubMerchantAccountApproved => "sub_merchant_account_approved";
  1         2  
  1         48  
16 1     1   6 use constant SubMerchantAccountDeclined => "sub_merchant_account_declined";
  1         2  
  1         42  
17 1     1   5 use constant TransactionDisbursed => "transaction_disbursed";
  1         2  
  1         31  
18 1     1   5 use constant DisbursementException => "disbursement_exception";
  1         2  
  1         38  
19 1     1   5 use constant Disbursement => "disbursement";
  1         2  
  1         36  
20 1     1   4 use constant DisputeOpened => "dispute_opened";
  1         3  
  1         35  
21 1     1   5 use constant DisputeLost => "dispute_lost";
  1         2  
  1         31  
22 1     1   5 use constant DisputeWon => "dispute_won";
  1         2  
  1         63  
23              
24 1         55 use constant All => (
25             PartnerMerchantConnected,
26             PartnerMerchantDisconnected,
27             PartnerMerchantDeclined,
28             SubscriptionCanceled,
29             SubscriptionChargedSuccessfully,
30             SubscriptionChargedUnsuccessfully,
31             SubscriptionExpired,
32             SubscriptionTrialEnded,
33             SubscriptionWentActive,
34             SubscriptionWentPastDue,
35             SubMerchantAccountApproved,
36             SubMerchantAccountDeclined,
37             TransactionDisbursed,
38             DisbursementException,
39             Disbursement,
40             DisputeOpened,
41             DisputeLost,
42             DisputeWon,
43 1     1   5 );
  1         2  
44              
45             1;