ePages 6.11.0 - DE_EPAGES/SipsAtos/API/Object/PaymentMethodSipsAtos.pm

Package DE_EPAGES::SipsAtos::API::Object::PaymentMethodSipsAtos

object interface for Payment.

Base
DE_EPAGES::Order::API::Object::ContainerPaymentMethod

Functions

featureName
usableAtStorefront

featureName

Returns the feature name 'WorldPay'.

Syntax
$FeatureName = $PaymentMethodWorldPay->featureName;
Return
$FeatureName (String)
feature name (undef means no feature count)

usableAtStorefront

Tests if a payment method with the given currency is visible in the storefront. Overrides function DE_EPAGES::Payment::API::Object::PaymentMethod::usableAtStorefront to evaluate if payment methode has a price (price can be 0).

Syntax
$Usable = $PaymentMethod->usableAtStorefront($hVars);
Input
$hVars (ref.hash)
  • CurrencyID - alpha currency code (ISO 4217) - char(3)
  • TaxModel - gross or net price - int
Return
$Usable (boolean)
true if payment method is usable in the storefront