« lib/WebService/Braintree/CreditCard/IssuingBank.pm
↑ Summary
lib/WebService/Braintree/CreditCard/Payroll.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::CreditCard::Location; | ||
| 4 | 22 | $WebService::Braintree::CreditCard::Location::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::CreditCard::Location | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class contains constants to hold a creditcard customer's location. | ||
| 15 | |||
| 16 | =cut | ||
| 17 | |||
| 18 | =head1 CONSTANTS | ||
| 19 | |||
| 20 | =over 4 | ||
| 21 | |||
| 22 | =cut | ||
| 23 | |||
| 24 | =item International | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | 22 | ▶ | use constant International => "international"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | |||
| 30 | =item Us | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | 22 | ▶ | use constant US => "us"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 35 | |||
| 36 | =item All | ||
| 37 | |||
| 38 | This returns an arrayref of all other constants in the order they are defined | ||
| 39 | in this module. | ||
| 40 | |||
| 41 | =cut | ||
| 42 | |||
| 43 | 22 | ▶ | use constant All => ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 44 | International, | ||
| 45 | US, | ||
| 46 | 22 | ); | |
| 47 | |||
| 48 | =back | ||
| 49 | |||
| 50 | =cut | ||
| 51 | |||
| 52 | 22 | 1; | |
| 53 | __END__ | ||