Package DE_EPAGES::PayPointPayCash::API::Object::PaymentMethodPayPointPayCash
object interface for PaymentMethodPayPointPayCash.
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 The payment method can be added to the container only if the currency is GBP.
Syntax |
if ($PaymentMethod->canAddToBasket($hVars)) {... |
Input |
|
Return |
|
featureName
Returns the feature name 'PayPointPayCash'.
Syntax |
$FeatureName = $PaymentMethodPayPointPayCash->featureName; |
Return |
|
usableAtStorefront
Tests if a payment method with the given currency is visible in the storefront. Uses function DE_EPAGES::Payment::API::Object::PaymentMethod::price to evaluate if payment methode has a price (price can be 0).
Syntax |
$Usable = $PaymentMethod->usableAtStorefront($hVars); |
Input |
|
Return |
|