Package DE_EPAGES::Payment::API::Object::PaymentType
object interface for PaymentType.
Base |
DE_EPAGES::Shop::API::Object::ShopObject |
Functions
canCreateAdditionalPaymentMethod
check if it is possible to create an additional payment method of this type. By default this will be true. It have to be overidden if a payment type support only one payment method.
Syntax |
canCreateAdditionalPaymentMethod( $Shop ); |
Input |
|
Return |
|
className
Returns the class name, used for DAL access.
Syntax |
$ClassName = $PaymentType->className; |
Return |
|
dbPackage
Returns the database package, used for DAL access.
Syntax |
$DbPackage = $PaymentType->dbPackage; |
Return |
|
isUsable
returns if this paymenttype can be used in this shop
Syntax |
isUsable( $Shop ); |
Input |
|
Return |
|
newPaymentMethod
Creates a new payment method with the given parameters.
Syntax |
my $PaymentMethod = $PaymentType->newPaymentMethod($Shop, $hInfo); |
Input |
|
Return |
|