ePages 6.14.0 - DE_EPAGES/Payment/API/TLE/PaymentHandler.pm

Package DE_EPAGES::Payment::API::TLE::PaymentHandler

Implements TLE functions for payments.

Functions

PRICELIMIT

PRICELIMIT

Returns the price limit of a payment method for a given currency and tax model.

Syntax
#PRICELIMIT(#Type, #PaymentMethod, #Currency)
Example
#LOCAL("CurrencyID", #INPUT.Currency)
  #LOCAL("ListPrice", #PRICELIMIT(#Type, #PaymentMethod))
    #IF(#DEFINED(#ListPrice))
      #ListPrice[money]
    #ENDIF
  #ENDLOCAL
#ENDLOCAL
Input
#Processor (object)
tle processor
#Type (string)
type of price value MinPriceValue or MaxPriceValue
#PaymentMethod (object)
product object
#CurrencyID (string)
currency code, e.g. "EUR"