Package DE_EPAGES::POSTPAY::API::Object::PaymentMethodPOSTPAY
object interface for Payment.
Base |
DE_EPAGES::Order::API::Object::ContainerPaymentMethod |
Functions
canAddToBasket
Tests if a payment method can be added to the basket with the given currency. Overrides function DE_EPAGES::Order::API::Object::ContainerPaymentMethod::canAddToBasket Valid currencies are: EUR, GBP
Syntax |
if ($PaymentMethod->canAddToBasket($hVars)) {... |
Input |
|
Return |
|
featureName
Returns undef as no feature is connected to this PaymentMethod.
Syntax |
$FeatureName = $PaymentMethod->featureName; |
Return |
|
recalculateLineItem
Recalculate a payment line item when something has changed on basket.
Syntax |
$PaymentMethodPOSTPAY->recalculateLineItem( $LineItem, $hValues); |
Input |
|
usableAtStorefront
Tests if a payment method is visible in the storefront. Overrides function DE_EPAGES::Payment::API::Object::PaymentMethod::usableAtStorefront to evaluate if payment method is configured
Syntax |
$Usable = $PaymentMethod->usableAtStorefront($hVars); |
Input |
|
Return |
|