NAME

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

VERSION

version 0.000005

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.

OBJECT INSTANTIATION

The following parameters can be supplied to new() when creating a new object.

Required Parameters

params

A HashRef of parameters which have been returned by PayPal.

secure_token

Returns the PayPal SECURETOKEN param.

secure_token_id

Returns the PayPal SECURETOKENID param. If you are using this module directly, you should check that the returned value is the same as the SECURETOKENID which you initially provided to PayPal.

SEE ALSO

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

AUTHOR

Olaf Alders <olaf@wundercounter.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by MaxMind, Inc..

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)