NAME
plenigo::CompanySettingsManager - A utility class to handle company settings manager.
SYNOPSIS
use plenigo::CompanySettingsManager;
# Prepare configuration
my $activate_testing = 0;
my $configuration = plenigo::Configuration->new(company_id => 'YOUR_COMPANY_ID, secret => 'YOUR_SECRET', staging => $activate_testing);
# Instantiate company settings
my $company_settings = plenigo::CompanySettingsManager->new(configuration => $configuration);
# Check if payment is enabled
my $is_payment_active = $company_settings->isPaymentEnabled;
if (not $is_payment_active) {
// e.g. indicate all devices to play out all content
}
DESCRIPTION
plenigo::CompanySettingsManager provides functionality to manage company settings.
isPaymentEnabled()
Check if payment is currently enabled.