| 1 | package WWW::PayPal::Refund; | ||
| 2 | |||
| 3 | # ABSTRACT: PayPal Payments v2 refund entity | ||
| 4 | |||
| 5 | 3 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 3 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 3 | our $VERSION = '0.003'; | |
| 9 | |||
| 10 | |||
| 11 | 3 | has _client => ( | |
| 12 | is => 'ro', | ||
| 13 | required => 1, | ||
| 14 | weak_ref => 1, | ||
| 15 | init_arg => 'client', | ||
| 16 | ); | ||
| 17 | |||
| 18 | 3 | has data => ( is => 'rw', required => 1 ); | |
| 19 | |||
| 20 | |||
| 21 | 0 | ▶ | sub id { $_[0]->data->{id} } |
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 22 | 0 | ▶ | sub status { $_[0]->data->{status} } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 23 | 0 | ▶ | sub amount { $_[0]->data->{amount}{value} } |
|
Subroutine
amount: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 24 | 0 | ▶ | sub currency { $_[0]->data->{amount}{currency_code} } |
|
Subroutine
currency: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 25 | 0 | ▶ | sub note { $_[0]->data->{note_to_payer} } |
|
Subroutine
note: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | 3 | 1; | |
| 30 | |||
| 31 | __END__ | ||