Package DE_EPAGES::Klarna::API::TLE::KlarnaTLEHandler
TLE functions for Klarna
Functions
KLARNA_CONDITIONSREGION
Returns the country code which is used to display the Klarna conditions in the SF template. The code is returned in lower case.
Syntax |
#KLARNA_CONDITIONSREGION(#Basket) |
Example |
#LOCAL("ConditionsRegion", #KLARNA_CONDITIONSREGION(#Basket)) #ConditionsRegion #ENDLOCAL |
Input |
|
Return |
|
KLARNA_INVOICEFEE
Function returns the invoice fee as gross or net price depending on the tax model. Decimal points are replaced by commas.
Syntax |
#KLARNA_INVOICEFEE(#PaymentMethod.Object, #LineItemContainer.Object) |
Input |
|
Return |
|
KLARNA_ISACTIVATED
If there is a Klarna payment method it will return the isActivated Status
Syntax |
#KLARNA_ISACTIVATED( #Shop.ID ) |
Input |
|
Return |
|
KLARNA_LANGUAGECODE
Function returns language code by numerical language code, used in SF template.
Syntax |
#KLARNA_LANGUAGECODE(#LanguageID) |
Example |
#LOCAL("LanguageCode", #KLARNA_LANGUAGECODE(#LanguageID)) #LanguageCode #ENDLOCAL |
Input |
|
Return |
|