NAME

plenigo::Product - A product used during a checkout. 

SYNOPSIS

use plenigo::Product;

# Create a plenigo product 

# Initialize a plenigo managed product.

my $product = plenigo::Product->createPlenigoProduct('PRODUCT_ID');

# Create a customized product that is not managed within plenigo.

$product = plenigo::Product->createCustomProduct('PRODUCT_ID', 'TITLE', 'NEWSPAPER', 12.99, 'EUR');

# Use a plenigo product but add a own product id and a custom title.

$product = plenigo::Product->createModifiedPlenigoProduct('PRODUCT_ID', 'PRODUCT_ID_NEW', 'TITLE');

DESCRIPTION

plenigo::Product represents a product during the checkout.

createPlenigoProduct($product_id)

Initialize a plenigo managed product.

createCustomProduct($product_id, $title, $type, $price, $currency)

Create a customized product that is not managed within plenigo.

createModifiedPlenigoProduct($product_id, $new_product_id, $title)

Use a plenigo product but add a own product id and a custom title.