From 64097005600b3edf499d494408b720584d2c4b65 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 5 Mar 2006 07:00:22 +0000 Subject: [PATCH] Update Commerce/Payment superclass POD for init. Add POD to ITransact payment plugin. --- lib/WebGUI/Commerce/Payment.pm | 6 +++++- lib/WebGUI/Commerce/Payment/ITransact.pm | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Commerce/Payment.pm b/lib/WebGUI/Commerce/Payment.pm index a6ea2c9aa..5d59a525d 100644 --- a/lib/WebGUI/Commerce/Payment.pm +++ b/lib/WebGUI/Commerce/Payment.pm @@ -187,10 +187,14 @@ sub getEnabledPlugins { #------------------------------------------------------------------- -=head2 init ( namespace ) +=head2 init ( session, namespace ) Constructor for the plugin. You should extend this method. +=head3 session + +A copy of the session object + =head3 namespace The namespace of the plugin. diff --git a/lib/WebGUI/Commerce/Payment/ITransact.pm b/lib/WebGUI/Commerce/Payment/ITransact.pm index 35c78e1a5..fc83e09a9 100644 --- a/lib/WebGUI/Commerce/Payment/ITransact.pm +++ b/lib/WebGUI/Commerce/Payment/ITransact.pm @@ -1,5 +1,15 @@ package WebGUI::Commerce::Payment::ITransact; +=head1 NAME + +Package WebGUI::Payment::ITransact + +=head1 DESCRIPTION + +Payment plug-in for ITransact payment gateway. + +=cut + use strict; use WebGUI::HTMLForm; use WebGUI::Commerce::Payment; @@ -498,6 +508,20 @@ sub confirmTransaction { } #------------------------------------------------------------------- + +=head2 init ( namespace ) + +Constructor for the ITransact plugin. + +=head3 session + +A copy of the session object + +=head3 namespace + +The namespace of the plugin. + +=cut sub init { my ($class, $self); $class = shift;