« lib/WebService/Braintree/_/Transaction/IdealPaymentDetail.pm
↑ Summary
lib/WebService/Braintree/_/Transaction/RiskData.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::_::Transaction::PayPalDetail; | ||
| 4 | 22 | $WebService::Braintree::_::Transaction::PayPalDetail::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::PayPalDetail | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class represents a transaction PayPal 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 | =head1 ATTRIBUTES | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | =head2 authorization_id() | ||
| 29 | |||
| 30 | This is the authorization ID for this PayPal detail. | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | 22 | has authorization_id => ( | |
| 35 | is => 'ro', | ||
| 36 | ); | ||
| 37 | |||
| 38 | =head2 capture_id() | ||
| 39 | |||
| 40 | This is the capture ID for this PayPal detail. | ||
| 41 | |||
| 42 | =cut | ||
| 43 | |||
| 44 | 22 | has capture_id => ( | |
| 45 | is => 'ro', | ||
| 46 | ); | ||
| 47 | |||
| 48 | =head2 custom_field() | ||
| 49 | |||
| 50 | This is the custom field for this PayPal detail. | ||
| 51 | |||
| 52 | =cut | ||
| 53 | |||
| 54 | 22 | has custom_field => ( | |
| 55 | is => 'ro', | ||
| 56 | ); | ||
| 57 | |||
| 58 | =head2 debug_id() | ||
| 59 | |||
| 60 | This is the debug ID for this PayPal detail. | ||
| 61 | |||
| 62 | =cut | ||
| 63 | |||
| 64 | 22 | has debug_id => ( | |
| 65 | is => 'ro', | ||
| 66 | ); | ||
| 67 | |||
| 68 | =head2 description() | ||
| 69 | |||
| 70 | This is the description for this PayPal detail. | ||
| 71 | |||
| 72 | =cut | ||
| 73 | |||
| 74 | 22 | has description => ( | |
| 75 | is => 'ro', | ||
| 76 | ); | ||
| 77 | |||
| 78 | =head2 image_url() | ||
| 79 | |||
| 80 | This is the image URL for this PayPal detail. | ||
| 81 | |||
| 82 | =cut | ||
| 83 | |||
| 84 | 22 | has image_url => ( | |
| 85 | is => 'ro', | ||
| 86 | ); | ||
| 87 | |||
| 88 | =head2 payee_email() | ||
| 89 | |||
| 90 | This is the payee email for this PayPal detail. | ||
| 91 | |||
| 92 | =cut | ||
| 93 | |||
| 94 | 22 | has payee_email => ( | |
| 95 | is => 'ro', | ||
| 96 | ); | ||
| 97 | |||
| 98 | =head2 payer_email() | ||
| 99 | |||
| 100 | This is the payer_email for this PayPal detail. | ||
| 101 | |||
| 102 | =cut | ||
| 103 | |||
| 104 | 22 | has payer_email => ( | |
| 105 | is => 'ro', | ||
| 106 | ); | ||
| 107 | |||
| 108 | =head2 payer_first_name() | ||
| 109 | |||
| 110 | This is the payer's first name for this PayPal detail. | ||
| 111 | |||
| 112 | =cut | ||
| 113 | |||
| 114 | 22 | has payer_first_name => ( | |
| 115 | is => 'ro', | ||
| 116 | ); | ||
| 117 | |||
| 118 | =head2 payer_id() | ||
| 119 | |||
| 120 | This is the payer ID for this PayPal detail. | ||
| 121 | |||
| 122 | =cut | ||
| 123 | |||
| 124 | 22 | has payer_id => ( | |
| 125 | is => 'ro', | ||
| 126 | ); | ||
| 127 | |||
| 128 | =head2 payer_last_name() | ||
| 129 | |||
| 130 | This is the payer's last name for this PayPal detail. | ||
| 131 | |||
| 132 | =cut | ||
| 133 | |||
| 134 | 22 | has payer_last_name => ( | |
| 135 | is => 'ro', | ||
| 136 | ); | ||
| 137 | |||
| 138 | =head2 payer_status() | ||
| 139 | |||
| 140 | This is the payer's status for this PayPal detail. | ||
| 141 | |||
| 142 | =cut | ||
| 143 | |||
| 144 | 22 | has payer_status => ( | |
| 145 | is => 'ro', | ||
| 146 | ); | ||
| 147 | |||
| 148 | =head2 payment_id() | ||
| 149 | |||
| 150 | This is the payment ID for this PayPal detail. | ||
| 151 | |||
| 152 | =cut | ||
| 153 | |||
| 154 | 22 | has payment_id => ( | |
| 155 | is => 'ro', | ||
| 156 | ); | ||
| 157 | |||
| 158 | =head2 refund_id() | ||
| 159 | |||
| 160 | This is the refund ID for this PayPal detail. | ||
| 161 | |||
| 162 | =cut | ||
| 163 | |||
| 164 | 22 | has refund_id => ( | |
| 165 | is => 'ro', | ||
| 166 | ); | ||
| 167 | |||
| 168 | =head2 seller_protection_status() | ||
| 169 | |||
| 170 | This is the seller's protection status for this PayPal detail. | ||
| 171 | |||
| 172 | =cut | ||
| 173 | |||
| 174 | 22 | has seller_protection_status => ( | |
| 175 | is => 'ro', | ||
| 176 | ); | ||
| 177 | |||
| 178 | =head2 token() | ||
| 179 | |||
| 180 | This is the token for this PayPal detail. | ||
| 181 | |||
| 182 | =cut | ||
| 183 | |||
| 184 | 22 | has token => ( | |
| 185 | is => 'ro', | ||
| 186 | ); | ||
| 187 | |||
| 188 | =head2 transaction_fee_amount() | ||
| 189 | |||
| 190 | This is the transaction's fee amount for this PayPal detail. | ||
| 191 | |||
| 192 | =cut | ||
| 193 | |||
| 194 | 22 | has transaction_fee_amount => ( | |
| 195 | is => 'ro', | ||
| 196 | ); | ||
| 197 | |||
| 198 | =head2 transaction_fee_currency_iso_code() | ||
| 199 | |||
| 200 | This is the transaction's fee currency's ISO code for this PayPal detail. | ||
| 201 | |||
| 202 | =cut | ||
| 203 | |||
| 204 | 22 | has transaction_fee_currency_iso_code => ( | |
| 205 | is => 'ro', | ||
| 206 | ); | ||
| 207 | |||
| 208 | 22 | __PACKAGE__->meta->make_immutable; | |
| 209 | |||
| 210 | 22 | 1; | |
| 211 | __END__ | ||