line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::PayPal::PaymentsAdvanced::Response::FromRedirect; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
49
|
use Moo; |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
39
|
|
4
|
|
|
|
|
|
|
|
5
|
6
|
|
|
6
|
|
1966
|
use namespace::autoclean; |
|
6
|
|
|
|
|
18
|
|
|
6
|
|
|
|
|
42
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.000027'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with( |
10
|
|
|
|
|
|
|
'WebService::PayPal::PaymentsAdvanced::Role::HasParams', |
11
|
|
|
|
|
|
|
'WebService::PayPal::PaymentsAdvanced::Role::HasMessage', |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=pod |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=encoding UTF-8 |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
WebService::PayPal::PaymentsAdvanced::Response::FromRedirect - Response object for generated via HashRef of GET params |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 VERSION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
version 0.000027 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This module provides an interface for extracting returned params from an |
31
|
|
|
|
|
|
|
L<HTTP::Response> object. You won't need to this module directly if you are |
32
|
|
|
|
|
|
|
using L<PayPal::PaymentsAdvanced/create_secure_token>. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Throws a L<WebService::PayPal::PaymentsAdvanced::Error::HTTP> exception if the |
35
|
|
|
|
|
|
|
HTTP request was not successful. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 OBJECT INSTANTIATION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
The following parameters can be supplied to C<new()> when creating a new object. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 Required Parameters |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head3 params |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Returns a C<HashRef> of parameters which have been returned from PayPal via a |
46
|
|
|
|
|
|
|
redirect or a silent POST. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 Methods |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head3 params |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Returns the same C<HashRef> of parameters which was initially provided to the |
53
|
|
|
|
|
|
|
C<new> method. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 message |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Returns the value of the C<RESPMSG> param. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 SUPPORT |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Bugs may be submitted through L<https://github.com/maxmind/webservice-paypal-paymentsadvanced/issues>. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 AUTHOR |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Olaf Alders <olaf@wundercounter.com> |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
This software is copyright (c) 2021 by MaxMind, Inc. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
72
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=cut |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
__END__ |
77
|
|
|
|
|
|
|
# ABSTRACT: Response object for generated via HashRef of GET params |
78
|
|
|
|
|
|
|
|