Package DE_EPAGES::Billsafe::API::Object::PaymentMethodBillsafe
object interface for Payment.
Base |
DE_EPAGES::Order::API::Object::ContainerPaymentMethod |
Functions
- canAddToBasket
- canBillSafeAddToBasket
- featureName
- getCountryFromLineItemContainer
- isAvailableForCurrency
- isAvailableInCountry
- new
- usableAtStorefront
canAddToBasket
check the Payment method could be added to the basket
Syntax |
canAddToBasket( $hVars ); |
Input |
|
Return |
|
canBillSafeAddToBasket
Encapsulate the BillSafe specific condition of the canAddToBasket check
Syntax |
canBillSafeAddToBasket( $hVars ); |
Input |
|
Return |
|
featureName
Returns undef as no feature is connected to this PaymentMethod.
Syntax |
$FeatureName = $PaymentMethod->featureName; |
Return |
|
getCountryFromLineItemContainer
gets the Country hash reference related to the current billing Address
Syntax |
getCountryFromLineItemContainer( $LineItemContainer ); |
Input |
|
Return |
|
isAvailableForCurrency
checks if the incomming $CurrencyID is in the List AvailableCurrencies
Syntax |
isAvailableForCurrency( $CurrencyID ); |
Input |
|
Return |
|
isAvailableInCountry
checks if the incomming Country is in the List AvailableInCountrys
Syntax |
isAvailableInCountry( $Country ); |
Input |
|
Return |
|
new
creates an basic object, which is not saved at database as object.
Syntax |
$Object = DE_EPAGES::Core::API::BaseObject->new('ObjectID' => $ObjectID ); |
Input |
|
Return |
|
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); |
Return |
|