NAME

WebService::PayPal::PaymentsAdvanced::Response - Generic response object

VERSION

version 0.000025

SYNOPSIS

    use WebService::PayPal::PaymentsAdvanced::Response;
    my $response = WebService::PayPal::PaymentsAdvanced::Response->new(
        params => $params );

DESCRIPTION

This module provides a consistent interface for getting information from a PayPal response, regardless of whether it comes from token creation, a redirect or a silent POST. It will be used as a parent class for other response classes. You should never need to create this object yourself.

METHODS

message

The contents of PayPal's RESPMSG parameter.

params

A HashRef of parameters which have been returned by PayPal.

pnref

The contents of PayPal's PNREF parameter.

ppref

The contents of PayPal's PPREF parameter.

SEE ALSO

WebService::PayPal::PaymentsAdvanced::Response::FromHTTP, WebService::PayPal::PaymentsAdvanced::Response::FromRedirect, WebService::PayPal::PaymentsAdvanced::Response::FromSilentPost,

SUPPORT

Bugs may be submitted through https://github.com/maxmind/webservice-paypal-paymentsadvanced/issues.

AUTHOR

Olaf Alders <olaf@wundercounter.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by MaxMind, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.