The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.000008

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

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)