NAME

WebService::PayPal::PaymentsAdvanced::Mocker::Helper - Helper methods used when mocking PayPal web services

VERSION

version 0.000025

SYNOPSIS

use WebService::PayPal::PaymentsAdvanced::Mocker::Helper;
my $helper = WebService::PayPal::PaymentsAdvanced::Mocker::Helper->new;

print $helper->transtime;

baid

Returns a new, unique BAID

correlationid

Returns a new, unique CORRELATIONID

pnref

Returns a new, unique PNREF

ppref

Returns a new, unique PPREF

secure_token

Returns a new, unique SECURETOKEN

token

Returns a new, unique SECURETOKENID

transtime

Returns a TRANSTIME based on the current time

unique_id( $length )

A generic method for creating unique ids.

datetime_now

Returns a new DateTime object with the current time, using the same time zone which the PayPal services use.

DESCRIPTION

Helper methods used when mocking PayPal web

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.