NAME
plenigo::PurchasesManager - A utility class to offer purchase information.
SYNOPSIS
use plenigo::PurchasesManager;
# Prepare configuration
my $activate_testing = 0;
my $configuration = plenigo::Configuration->new(company_id => 'YOUR_COMPANY_ID, secret => 'YOUR_SECRET', staging => $activate_testing);
# Instantiate purchases manager
my $purchases_manager = plenigo::PurchasesManager->new(configuration => $configuration);
# Get all subscriptions of a customer
my %subscriptions = $purchases_manager->getCustomerSubscriptions('CUSTOMER_ID');
DESCRIPTION
plenigo::CustomerManPurchasesManagerager provides functionality to offer purchase information.
getCustomerSubscriptions($customer_id)
Get all subscriptions that were purchased by a customer.