Name : perl-Business-PayPal-API
| |
Version : 0.77
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 17:03:30
|
Group : Development/Libraries/Perl
| Source RPM : perl-Business-PayPal-API-0.77-lp154.1.1.src.rpm
|
Size : 0.20 MB
| |
Packager : https://www_suse_com/
| |
Summary : PayPal SOAP API client with sandbox support
|
Description :
*Business::PayPal::API* supports both certificate authentication and the new 3-token \"Signature\" authentication.
It also supports PayPal\'s development _sandbox_ for testing. See the *sandbox* parameter to *new()* below for details.
*Business::PayPal::API* can import other *API* derived classes:
use Business::PayPal::API qw( RefundTransaction );
This allows for much more concise and intuitive usage. For example, these two statements are equivalent:
use Business::PayPal::API::RefundTransaction; my $pp = Business::PayPal::API::RefundTransaction->new( ... ); $pp->RefundTransaction( ... );
and more concisely:
use Business::PayPal::API qw( RefundTransaction ); my $pp = Business::PayPal::API->new( ... ); $pp->RefundTransaction( ... );
The advantage of this becomes clear when you need to use multiple API calls in your program; this allows you to use the same object to invoke the various methods, instead of creating a new object for each subclass. Here is an example of a *API* object used to invoke various PayPal APIs with the same object:
use Business::PayPal::API qw( GetTransactionDetails TransactionSearch RefundTransaction ); my $pp = Business::PayPal::API->new( ... ); my $records = $pp->TransactionSearch( ... );
my %details = $pp->GetTransactionDetails( ... );
my %resp = $pp->RefundTransaction( ... );
However, you may certainly use just the subclass if that\'s all you need. Every subclass should work as its own self-contained API.
For details on *Business::PayPal::API::** subclasses, see each subclass\'s individual documentation.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-B/15.4/noarch |