| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::Dispute::Reason; | ||
| 4 | 22 | $WebService::Braintree::Dispute::Reason::VERSION = '1.7'; | |
| 5 | 22 | ▶ | use 5.010_001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 22 | ▶ | use strictures 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | WebService::Braintree::Dispute::Reason | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class contains constants for dispute reasons. | ||
| 15 | |||
| 16 | =cut | ||
| 17 | |||
| 18 | =head1 CONSTANTS | ||
| 19 | |||
| 20 | =over 4 | ||
| 21 | |||
| 22 | =cut | ||
| 23 | |||
| 24 | =item CancelledRecurringTransaction | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | 22 | ▶ | use constant CancelledRecurringTransaction => 'cancelled_recurring_transaction'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | |||
| 30 | =item CreditNotProcessed | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | 22 | ▶ | use constant CreditNotProcessed => 'credit_not_processed'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 35 | |||
| 36 | =item Duplicate | ||
| 37 | |||
| 38 | =cut | ||
| 39 | |||
| 40 | 22 | ▶ | use constant Duplicate => 'duplicate'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 41 | |||
| 42 | =item Fraud | ||
| 43 | |||
| 44 | =cut | ||
| 45 | |||
| 46 | 22 | ▶ | use constant Fraud => 'fraud'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 47 | |||
| 48 | =item General | ||
| 49 | |||
| 50 | =cut | ||
| 51 | |||
| 52 | 22 | ▶ | use constant General => 'general'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 53 | |||
| 54 | =item InvalidAccount | ||
| 55 | |||
| 56 | =cut | ||
| 57 | |||
| 58 | 22 | ▶ | use constant InvalidAccount => 'invalid_account'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 59 | |||
| 60 | =item NotRecognized | ||
| 61 | |||
| 62 | =cut | ||
| 63 | |||
| 64 | 22 | ▶ | use constant NotRecognized => 'not_recognized'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 65 | |||
| 66 | =item ProductNotReceived | ||
| 67 | |||
| 68 | =cut | ||
| 69 | |||
| 70 | 22 | ▶ | use constant ProductNotReceived => 'product_not_received'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 71 | |||
| 72 | =item ProductUnsatisfactory | ||
| 73 | |||
| 74 | =cut | ||
| 75 | |||
| 76 | 22 | ▶ | use constant ProductUnsatisfactory => 'product_unsatisfactory'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 77 | |||
| 78 | =item Retrieval | ||
| 79 | |||
| 80 | =cut | ||
| 81 | |||
| 82 | 22 | ▶ | use constant Retrieval => 'retrieval'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 83 | |||
| 84 | =item TransactionAmountDiffers | ||
| 85 | |||
| 86 | =cut | ||
| 87 | |||
| 88 | 22 | ▶ | use constant TransactionAmountDiffers => 'transaction_amount_differs'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 89 | |||
| 90 | =item All | ||
| 91 | |||
| 92 | This returns an arrayref of all other constants in the order they are defined | ||
| 93 | in this module. | ||
| 94 | |||
| 95 | =cut | ||
| 96 | |||
| 97 | 22 | ▶ | use constant All => [ |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 98 | CancelledRecurringTransaction, | ||
| 99 | CreditNotProcessed, | ||
| 100 | Duplicate, | ||
| 101 | Fraud, | ||
| 102 | General, | ||
| 103 | InvalidAccount, | ||
| 104 | NotRecognized, | ||
| 105 | ProductNotReceived, | ||
| 106 | ProductUnsatisfactory, | ||
| 107 | Retrieval, | ||
| 108 | TransactionAmountDiffers, | ||
| 109 | 22 | ]; | |
| 110 | |||
| 111 | =back | ||
| 112 | |||
| 113 | =cut | ||
| 114 | |||
| 115 | 22 | 1; | |
| 116 | __END__ | ||