ePages 6.10 - DE_EPAGES/PayPal/API/Object/PaymentMethodPayPal.pm

Package DE_EPAGES::PayPal::API::Object::PaymentMethodPayPal

object interface for Payment.

Functions

featureName
insert
usableAtStorefront

featureName

Returns the feature name 'PayPal'.

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

insert

insert this info as object

Syntax
$Object = $Package->insert($hInfo);

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
$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