Package DE_EPAGES::Klarna::API::Tools
This module implements functions to encoding special characters and cutting too length strings.
Base |
- |
@EXPORT_OK |
Functions
CleanUpString
Clean up a string
Syntax |
$FormattedString = CleanUpString($string, {'mode' => 'Encode'}); |
Input |
|
Return |
|
CutStringToLength
Cut data of string input if it exceeds specific maximum length and clean the string up
Syntax |
$FormattedString = $self->CutStringToLength($string, $settings); |
Input |
|
Return |
|
GetKlarnaPrice
Returns the line item's price in Klarna's format
Syntax |
GetKlarnaPrice( $LineItem ); |
Input |
|
Return |
|
GetKlarnaVat
Returns the line item's tax in Klarna's format
Syntax |
GetKlarnaVat( $LineItem ); |
Input |
|
Return |
|