NAME

plenigo::OffersManager - Handles plenigo managed offers.

SYNOPSIS

use plenigo::OffersManager;

# Prepare configuration

my $use_stage = 0; # set if stage system should be used
my $configuration = plenigo::Configuration->new(access_token => 'ACCESS_TOKEN', use_stage => $use_stage);

# Get all plenigo offers for the current company. 

my $offers_manager = plenigo::OffersManager->new(configuration => $configuration);
my %offer_list = $offers_manager->getAllOffers(0, 10);

# Get a specific plenigo managed offer.

my %offer = $offers_manager->getOfferDetail('OFFER_ID');

DESCRIPTION

plenigo::OffersManager offers functionality for handling plenigo managed offers.

getOfferDetail($offer_id)

Get a plenigo managed offers specified by the offer id.

getAllOffers()

Get all plenigo managed offers