Braintree/ErrorCodes/Transaction.pm untested

filter: Statementstmt 0.0% 0 / 228 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 76 Podpod n/a totaltotal 0.0% 0 / 304 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::Braintree::ErrorCodes::Transaction;
2 use strict;
3  
4 use constant AmountCannotBeNegative => "81501";
5 use constant AmountFormatIsInvalid => "81503";
6 use constant AmountIsInvalid => "81503";
7 use constant AmountIsRequired => "81502";
8 use constant AmountIsTooLarge => "81528";
9 use constant AmountMustBeGreaterThanZero => "81531";
10 use constant BillingAddressConflict => "91530";
11 use constant CannotBeVoided => "91504";
12 use constant CannotCancelRelease => "91562";
13 use constant CannotCloneCredit => "91543";
14 use constant CannotCloneTransactionWithVaultCreditCard => "91540";
15 use constant CannotCloneUnsuccessfulTransaction => "91542";
16 use constant CannotCloneVoiceAuthorizations => "91541";
17 use constant CannotHoldInEscrow => "91560";
18 use constant CannotPartiallyRefundEscrowedTransaction => "91563";
19 use constant CannotRefundCredit => "91505";
20 use constant CannotRefundSettlingTransaction => "91574";
21 use constant CannotRefundUnlessSettled => "91506";
22 use constant CannotRefundWithPendingMerchantAccount => "91559";
23 use constant CannotRefundWithSuspendedMerchantAccount => "91538";
24 use constant CannotReleaseFromEscrow => "91561";
25 use constant CannotSubmitForSettlement => "91507";
26 use constant CannotSimulateSettlement => "91575";
27 use constant ChannelIsTooLong => "91550";
28 use constant CreditCardIsRequired => "91508";
29 use constant CustomFieldIsInvalid => "91526";
30 use constant CustomFieldIsTooLong => "81527";
31 use constant CustomerDefaultPaymentMethodCardTypeIsNotAccepted => "81509";
32 use constant CustomerDoesNotHaveCreditCard => "91511";
33 use constant CustomerIdIsInvalid => "91510";
34 use constant HasAlreadyBeenRefunded => "91512";
35 use constant MerchantAccountDoesNotSupportMOTO => "91558";
36 use constant MerchantAccountDoesNotSupportRefunds => "91547";
37 use constant MerchantAccountIdIsInvalid => "91513";
38 use constant MerchantAccountIsSuspended => "91514";
39 use constant OrderIdIsTooLong => "91501";
40 use constant PaymentInstrumentNotSupportedByMerchantAccount => "91577";
41 use constant PaymentMethodConflict => "91515";
42 use constant PaymentMethodConflictWithVenmoSDK => "91549";
43 use constant PaymentMethodDoesNotBelongToCustomer => "91516";
44 use constant PaymentMethodDoesNotBelongToSubscription => "91527";
45 use constant PaymentMethodNonceCardTypeIsNotAccepted => "91567";
46 use constant PaymentMethodNonceConsumed => "91564";
47 use constant PaymentMethodNonceLocked => "91566";
48 use constant PaymentMethodNonceUnknown => "91565";
49 use constant PaymentMethodTokenCardTypeIsNotAccepted => "91517";
50 use constant PaymentMethodTokenIsInvalid => "91518";
51 use constant PayPalNotEnabled => "91576";
52 use constant ProcessorAuthorizationCodeCannotBeSet => "91519";
53 use constant ProcessorAuthorizationCodeIsInvalid => "81520";
54 use constant ProcessorDoesNotSupportCredits => "91546";
55 use constant ProcessorDoesNotSupportVoiceAuthorizations => "91545";
56 use constant PurchaseOrderNumberIsInvalid => "91548";
57 use constant PurchaseOrderNumberIsTooLong => "91537";
58 use constant RefundAmountIsTooLarge => "91521";
59 use constant ServiceFeeAmountCannotBeNegative => "91554";
60 use constant ServiceFeeAmountFormatIsInvalid => "91555";
61 use constant ServiceFeeAmountIsTooLarge => "91556";
62 use constant ServiceFeeAmountNotAllowedOnMasterMerchantAccount => "91557";
63 use constant ServiceFeeIsNotAllowedOnCredits => "91552";
64 use constant SettlementAmountIsLessThanServiceFeeAmount => "91551";
65 use constant SettlementAmountIsTooLarge => "91522";
66 use constant SubMerchantAccountRequiresServiceFeeAmount => "91553";
67 use constant SubscriptionDoesNotBelongToCustomer => "91529";
68 use constant SubscriptionIdIsInvalid => "91528";
69 use constant SubscriptionStatusMustBePastDue => "91531";
70 use constant TaxAmountCannotBeNegative => "81534";
71 use constant TaxAmountFormatIsInvalid => "81535";
72 use constant TaxAmountIsTooLarge => "81536";
73 use constant ThreeDSecureAuthenticationFailed => "81571";
74 use constant ThreeDSecureTokenIsInvalid => "91568";
75 use constant ThreeDSecureTransactionDataDoesntMatchVerify => "91570";
76 use constant TypeIsInvalid => "91523";
77 use constant TypeIsRequired => "91524";
78 use constant UnsupportedVoiceAuthorization => "91539";
79  
80 1;