ePages 6.10 - DE_EPAGES/Payment/API/Object/PaymentType.pm

Package DE_EPAGES::Payment::API::Object::PaymentType

object interface for PaymentType.

Base
DE_EPAGES::Object::API::Object::Object

Functions

className
dbPackage
newPaymentMethod

className

Returns the class name, used for DAL access.

Syntax
$ClassName = $PaymentType->className;
Return
$ClassName (String)
class name

dbPackage

Returns the database package, used for DAL access.

Syntax
$DbPackage = $PaymentType->dbPackage;
Return
$DbPackage (String)
database package name

newPaymentMethod

Creates a new payment method with the given parameters.

Syntax
my $PaymentMethod = $PaymentType->newPaymentMethod($Shop, $hInfo);
Input
$Shop (object)
shop
$hInfo (ref.hash)
hash with attribute value for the new payment method,
for example: { 'Alias' => $NewAlias }
Return
$PaymentMethod (object)
payment method