« lib/WebService/Braintree/Transaction/CreatedUsing.pm
↑ Summary
lib/WebService/Braintree/Transaction/Source.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::Transaction::EscrowStatus; | ||
| 4 | 22 | $WebService::Braintree::Transaction::EscrowStatus::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::Transaction::EscrowStatus | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class contains constants for transaction escrow statuses. | ||
| 15 | |||
| 16 | =cut | ||
| 17 | |||
| 18 | =head1 CONSTANTS | ||
| 19 | |||
| 20 | =over 4 | ||
| 21 | |||
| 22 | =cut | ||
| 23 | |||
| 24 | =item HoldPending | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | 22 | ▶ | use constant HoldPending => 'hold_pending'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | |||
| 30 | =item Held | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | 22 | ▶ | use constant Held => 'held'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 35 | |||
| 36 | =item ReleasePending | ||
| 37 | |||
| 38 | =cut | ||
| 39 | |||
| 40 | 22 | ▶ | use constant ReleasePending => 'release_pending'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 41 | |||
| 42 | =item Released | ||
| 43 | |||
| 44 | =cut | ||
| 45 | |||
| 46 | 22 | ▶ | use constant Released => 'released'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 47 | |||
| 48 | =item Refunded | ||
| 49 | |||
| 50 | =cut | ||
| 51 | |||
| 52 | 22 | ▶ | use constant Refunded => 'refunded'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 53 | |||
| 54 | =item All | ||
| 55 | |||
| 56 | This returns an arrayref of all other constants in the order they are defined | ||
| 57 | in this module. | ||
| 58 | |||
| 59 | =cut | ||
| 60 | |||
| 61 | 22 | ▶ | use constant All => ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 62 | HoldPending, | ||
| 63 | Held, | ||
| 64 | ReleasePending, | ||
| 65 | Released, | ||
| 66 | Refunded | ||
| 67 | 22 | ); | |
| 68 | |||
| 69 | =back | ||
| 70 | |||
| 71 | =cut | ||
| 72 | |||
| 73 | 22 | 1; | |
| 74 | __END__ | ||