« lib/WebService/Braintree/_/EuropeBankAccount.pm
↑ Summary
lib/WebService/Braintree/_/IdealPayment.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::_::IbanBankAccount; | ||
| 4 | 22 | $WebService::Braintree::_::IbanBankAccount::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::_::IbanBankAccount | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class represents a IBAN bank account. | ||
| 15 | |||
| 16 | This class will only be created as part of a L<response|WebService::Braintree::Result> or L<error response|WebService::Braintree::ErrorResult>. | ||
| 17 | |||
| 18 | =cut | ||
| 19 | |||
| 20 | 22 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | 22 | extends 'WebService::Braintree::_'; | |
| 23 | |||
| 24 | =head1 ATTRIBUTES | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | =head2 account_holder_name() | ||
| 29 | |||
| 30 | This is the account holder name for this IBAN bank account. | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | 22 | has account_holder_name => ( | |
| 35 | is => 'ro', | ||
| 36 | ); | ||
| 37 | |||
| 38 | =head2 bic() | ||
| 39 | |||
| 40 | This is the bic for this IBAN bank account. | ||
| 41 | |||
| 42 | =cut | ||
| 43 | |||
| 44 | 22 | has bic => ( | |
| 45 | is => 'ro', | ||
| 46 | ); | ||
| 47 | |||
| 48 | =head2 description() | ||
| 49 | |||
| 50 | This is the description for this IBAN bank account. | ||
| 51 | |||
| 52 | =cut | ||
| 53 | |||
| 54 | 22 | has description => ( | |
| 55 | is => 'ro', | ||
| 56 | ); | ||
| 57 | |||
| 58 | =head2 iban_account_number_last_4() | ||
| 59 | |||
| 60 | This is the IBAN account holder's last-4 for this IBAN bank account. | ||
| 61 | |||
| 62 | =cut | ||
| 63 | |||
| 64 | 22 | has iban_account_number_last_4 => ( | |
| 65 | is => 'ro', | ||
| 66 | ); | ||
| 67 | |||
| 68 | =head2 iban_country() | ||
| 69 | |||
| 70 | This is the country for this IBAN bank account. | ||
| 71 | |||
| 72 | =cut | ||
| 73 | |||
| 74 | 22 | has iban_country => ( | |
| 75 | is => 'ro', | ||
| 76 | ); | ||
| 77 | |||
| 78 | =head2 masked_iban() | ||
| 79 | |||
| 80 | This is the masked IBAN for this IBAN bank account. | ||
| 81 | |||
| 82 | =cut | ||
| 83 | |||
| 84 | 22 | has masked_iban => ( | |
| 85 | is => 'ro', | ||
| 86 | ); | ||
| 87 | |||
| 88 | 22 | __PACKAGE__->meta->make_immutable; | |
| 89 | |||
| 90 | 22 | 1; | |
| 91 | __END__ | ||