File Coverage

lib/WebService/Braintree/WebhookNotification/Kind.pm
Criterion Covered Total %
statement 62 62 100.0
branch n/a
condition n/a
subroutine 21 21 100.0
pod n/a
total 83 83 100.0


line stmt bran cond sub pod time code
1             package WebService::Braintree::WebhookNotification::Kind;
2             $WebService::Braintree::WebhookNotification::Kind::VERSION = '0.94';
3 20     20   292 use 5.010_001;
  20         65  
4 20     20   102 use strictures 1;
  20         111  
  20         631  
5              
6 20     20   1654 use constant PartnerMerchantConnected => "partner_merchant_connected";
  20         51  
  20         1429  
7 20     20   130 use constant PartnerMerchantDisconnected => "partner_merchant_disconnected";
  20         58  
  20         921  
8 20     20   109 use constant PartnerMerchantDeclined => "partner_merchant_declined";
  20         46  
  20         844  
9 20     20   106 use constant SubscriptionCanceled => "subscription_canceled";
  20         37  
  20         845  
10 20     20   108 use constant SubscriptionChargedSuccessfully => "subscription_charged_successfully";
  20         37  
  20         906  
11 20     20   108 use constant SubscriptionChargedUnsuccessfully => "subscription_charged_unsuccessfully";
  20         40  
  20         932  
12 20     20   112 use constant SubscriptionExpired => "subscription_expired";
  20         48  
  20         843  
13 20     20   105 use constant SubscriptionTrialEnded => "subscription_trial_ended";
  20         41  
  20         881  
14 20     20   125 use constant SubscriptionWentActive => "subscription_went_active";
  20         39  
  20         841  
15 20     20   119 use constant SubscriptionWentPastDue => "subscription_went_past_due";
  20         47  
  20         855  
16 20     20   106 use constant SubMerchantAccountApproved => "sub_merchant_account_approved";
  20         45  
  20         816  
17 20     20   100 use constant SubMerchantAccountDeclined => "sub_merchant_account_declined";
  20         43  
  20         857  
18 20     20   106 use constant TransactionDisbursed => "transaction_disbursed";
  20         36  
  20         798  
19 20     20   104 use constant DisbursementException => "disbursement_exception";
  20         31  
  20         813  
20 20     20   104 use constant Disbursement => "disbursement";
  20         36  
  20         814  
21 20     20   101 use constant DisputeOpened => "dispute_opened";
  20         37  
  20         780  
22 20     20   110 use constant DisputeLost => "dispute_lost";
  20         39  
  20         812  
23 20     20   140 use constant DisputeWon => "dispute_won";
  20         44  
  20         1476  
24              
25 20         1073 use constant All => (
26             PartnerMerchantConnected,
27             PartnerMerchantDisconnected,
28             PartnerMerchantDeclined,
29             SubscriptionCanceled,
30             SubscriptionChargedSuccessfully,
31             SubscriptionChargedUnsuccessfully,
32             SubscriptionExpired,
33             SubscriptionTrialEnded,
34             SubscriptionWentActive,
35             SubscriptionWentPastDue,
36             SubMerchantAccountApproved,
37             SubMerchantAccountDeclined,
38             TransactionDisbursed,
39             DisbursementException,
40             Disbursement,
41             DisputeOpened,
42             DisputeLost,
43             DisputeWon,
44 20     20   108 );
  20         41  
45              
46             1;
47             __END__