« lib/WebService/Braintree/_/ThreeDSecureInfo.pm
↑ Summary
lib/WebService/Braintree/_/Transaction/CoinbaseDetail.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::_::Transaction::AddressDetail; | ||
| 4 | 22 | $WebService::Braintree::_::Transaction::AddressDetail::VERSION = '1.7'; | |
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | WebService::Braintree::_::Transaction::AddressDetail | ||
| 8 | |||
| 9 | =head1 PURPOSE | ||
| 10 | |||
| 11 | This class represents a transaction address detail. | ||
| 12 | |||
| 13 | This class will only be created as part of a L<response|WebService::Braintree::Result> or L<error response|WebService::Braintree::ErrorResult>. | ||
| 14 | |||
| 15 | =cut | ||
| 16 | |||
| 17 | 22 | ▶ | use 5.010_001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 22 | ▶ | use strictures 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 22 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | 22 | extends 'WebService::Braintree::_'; | |
| 23 | |||
| 24 | =head2 company() | ||
| 25 | |||
| 26 | This is the company for this transaction address detail. | ||
| 27 | |||
| 28 | =cut | ||
| 29 | |||
| 30 | 22 | has company => ( | |
| 31 | is => 'ro', | ||
| 32 | ); | ||
| 33 | |||
| 34 | =head2 country_code_alpha2() | ||
| 35 | |||
| 36 | This is the country code alpha2 for this transaction address detail. | ||
| 37 | |||
| 38 | =cut | ||
| 39 | |||
| 40 | 22 | has country_code_alpha2 => ( | |
| 41 | is => 'ro', | ||
| 42 | ); | ||
| 43 | |||
| 44 | =head2 country_code_alpha3() | ||
| 45 | |||
| 46 | This is the country code alpha3 for this transaction address detail. | ||
| 47 | |||
| 48 | =cut | ||
| 49 | |||
| 50 | 22 | has country_code_alpha3 => ( | |
| 51 | is => 'ro', | ||
| 52 | ); | ||
| 53 | |||
| 54 | =head2 country_code_numeric() | ||
| 55 | |||
| 56 | This is the numeric country code for this transaction address detail. | ||
| 57 | |||
| 58 | =cut | ||
| 59 | |||
| 60 | 22 | has country_code_numeric => ( | |
| 61 | is => 'ro', | ||
| 62 | ); | ||
| 63 | |||
| 64 | =head2 country_name() | ||
| 65 | |||
| 66 | This is the country name for this transaction address detail. | ||
| 67 | |||
| 68 | =cut | ||
| 69 | |||
| 70 | 22 | has country_name => ( | |
| 71 | is => 'ro', | ||
| 72 | ); | ||
| 73 | |||
| 74 | =head2 extended_address() | ||
| 75 | |||
| 76 | This is the extended address for this transaction address detail. | ||
| 77 | |||
| 78 | =cut | ||
| 79 | |||
| 80 | 22 | has extended_address => ( | |
| 81 | is => 'ro', | ||
| 82 | ); | ||
| 83 | |||
| 84 | =head2 first_name() | ||
| 85 | |||
| 86 | This is the first name for this transaction address detail. | ||
| 87 | |||
| 88 | =cut | ||
| 89 | |||
| 90 | 22 | has first_name => ( | |
| 91 | is => 'ro', | ||
| 92 | ); | ||
| 93 | |||
| 94 | =head2 id() | ||
| 95 | |||
| 96 | This is the id for this transaction address detail. | ||
| 97 | |||
| 98 | =cut | ||
| 99 | |||
| 100 | 22 | has id => ( | |
| 101 | is => 'ro', | ||
| 102 | ); | ||
| 103 | |||
| 104 | =head2 last_name() | ||
| 105 | |||
| 106 | This is the last name for this transaction address detail. | ||
| 107 | |||
| 108 | =cut | ||
| 109 | |||
| 110 | 22 | has last_name => ( | |
| 111 | is => 'ro', | ||
| 112 | ); | ||
| 113 | |||
| 114 | =head2 locality() | ||
| 115 | |||
| 116 | This is the locality for this transaction address detail. | ||
| 117 | |||
| 118 | =cut | ||
| 119 | |||
| 120 | 22 | has locality => ( | |
| 121 | is => 'ro', | ||
| 122 | ); | ||
| 123 | |||
| 124 | =head2 postal_code() | ||
| 125 | |||
| 126 | This is the postal code for this transaction address detail. | ||
| 127 | |||
| 128 | =cut | ||
| 129 | |||
| 130 | 22 | has postal_code => ( | |
| 131 | is => 'ro', | ||
| 132 | ); | ||
| 133 | |||
| 134 | =head2 region() | ||
| 135 | |||
| 136 | This is the region for this transaction address detail. | ||
| 137 | |||
| 138 | =cut | ||
| 139 | |||
| 140 | 22 | has region => ( | |
| 141 | is => 'ro', | ||
| 142 | ); | ||
| 143 | |||
| 144 | =head2 street_address() | ||
| 145 | |||
| 146 | This is the street address for this transaction address detail. | ||
| 147 | |||
| 148 | =cut | ||
| 149 | |||
| 150 | 22 | has street_address => ( | |
| 151 | is => 'ro', | ||
| 152 | ); | ||
| 153 | |||
| 154 | 22 | __PACKAGE__->meta->make_immutable; | |
| 155 | |||
| 156 | 22 | 1; | |
| 157 | __END__ | ||