| 1 | package WebService::PayPal::PaymentsAdvanced::Role::HasParams; | ||
| 2 | |||
| 3 | 8 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 8 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 8 | our $VERSION = '0.000028'; | |
| 8 | |||
| 9 | 8 | ▶ | use Types::Standard qw( HashRef ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 8 | has params => ( | |
| 12 | is => 'ro', | ||
| 13 | isa => HashRef, | ||
| 14 | required => 1, | ||
| 15 | ); | ||
| 16 | |||
| 17 | 8 | 1; | |
| 18 | |||
| 19 | =pod | ||
| 20 | |||
| 21 | =encoding UTF-8 | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | WebService::PayPal::PaymentsAdvanced::Role::HasParams - Role which provides params attribute to exception and response classes. | ||
| 26 | |||
| 27 | =head1 VERSION | ||
| 28 | |||
| 29 | version 0.000028 | ||
| 30 | |||
| 31 | =head1 METHODS | ||
| 32 | |||
| 33 | =head2 params | ||
| 34 | |||
| 35 | The parameters returned by PayPal | ||
| 36 | |||
| 37 | =head1 SUPPORT | ||
| 38 | |||
| 39 | Bugs may be submitted through L<https://github.com/maxmind/webservice-paypal-paymentsadvanced/issues>. | ||
| 40 | |||
| 41 | =head1 AUTHOR | ||
| 42 | |||
| 43 | Olaf Alders <olaf@wundercounter.com> | ||
| 44 | |||
| 45 | =head1 COPYRIGHT AND LICENSE | ||
| 46 | |||
| 47 | This software is copyright (c) 2022 by MaxMind, Inc. | ||
| 48 | |||
| 49 | This is free software; you can redistribute it and/or modify it under | ||
| 50 | the same terms as the Perl 5 programming language system itself. | ||
| 51 | |||
| 52 | =cut | ||
| 53 | |||
| 54 | __END__ | ||