Update Commerce/Payment superclass POD for init.
Add POD to ITransact payment plugin.
This commit is contained in:
parent
34b2068286
commit
6409700560
2 changed files with 29 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue