« lib/WebService/Braintree/_/Transaction/SubscriptionDetail.pm
↑ Summary
lib/WebService/Braintree/_/Transaction/VenmoAccountDetail.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::_::Transaction::UsBankAccountDetail; | ||
| 4 | 22 | $WebService::Braintree::_::Transaction::UsBankAccountDetail::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::UsBankAccountDetail | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class represents a transaction US bank account detail. | ||
| 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 | 22 | ▶ | use WebService::Braintree::Types qw( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | AchMandate | ||
| 26 | 22 | ); | |
| 27 | |||
| 28 | =head1 ATTRIBUTES | ||
| 29 | |||
| 30 | =cut | ||
| 31 | |||
| 32 | =head2 account_holder_name() | ||
| 33 | |||
| 34 | This is the account holder name for this US bank account detail. | ||
| 35 | |||
| 36 | =cut | ||
| 37 | |||
| 38 | 22 | has account_holder_name => ( | |
| 39 | is => 'ro', | ||
| 40 | ); | ||
| 41 | |||
| 42 | =head2 account_type() | ||
| 43 | |||
| 44 | This is the account type for this US bank account detail. | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | 22 | has account_type => ( | |
| 49 | is => 'ro', | ||
| 50 | ); | ||
| 51 | |||
| 52 | =head2 ach_mandate() | ||
| 53 | |||
| 54 | This is the ACH mandate for this US bank account detail. This will be an | ||
| 55 | object of type L<WebService::Braintree::_::AchMandate/>. | ||
| 56 | |||
| 57 | =cut | ||
| 58 | |||
| 59 | 22 | has ach_mandate => ( | |
| 60 | is => 'ro', | ||
| 61 | isa => AchMandate, | ||
| 62 | coerce => 1, | ||
| 63 | ); | ||
| 64 | |||
| 65 | =head2 bank_name() | ||
| 66 | |||
| 67 | This is the bank name for this US bank account detail. | ||
| 68 | |||
| 69 | =cut | ||
| 70 | |||
| 71 | 22 | has bank_name => ( | |
| 72 | is => 'ro', | ||
| 73 | ); | ||
| 74 | |||
| 75 | =head2 image_url() | ||
| 76 | |||
| 77 | This is the image URL for this US bank account detail. | ||
| 78 | |||
| 79 | =cut | ||
| 80 | |||
| 81 | 22 | has image_url => ( | |
| 82 | is => 'ro', | ||
| 83 | ); | ||
| 84 | |||
| 85 | =head2 last_4() | ||
| 86 | |||
| 87 | This is the last-4 for this US bank account detail. | ||
| 88 | |||
| 89 | =cut | ||
| 90 | |||
| 91 | 22 | has last_4 => ( | |
| 92 | is => 'ro', | ||
| 93 | ); | ||
| 94 | |||
| 95 | =head2 routing_number() | ||
| 96 | |||
| 97 | This is the routing number for this US bank account detail. | ||
| 98 | |||
| 99 | =cut | ||
| 100 | |||
| 101 | 22 | has routing_number => ( | |
| 102 | is => 'ro', | ||
| 103 | ); | ||
| 104 | |||
| 105 | =head2 token() | ||
| 106 | |||
| 107 | This is the token for this US bank account detail. | ||
| 108 | |||
| 109 | =cut | ||
| 110 | |||
| 111 | 22 | has token => ( | |
| 112 | is => 'ro', | ||
| 113 | ); | ||
| 114 | |||
| 115 | 22 | __PACKAGE__->meta->make_immutable; | |
| 116 | |||
| 117 | 22 | 1; | |
| 118 | __END__ | ||