Package DE_EPAGES::Klarna::API::Object::PaymentMethodKlarnaInvoice
object interface for PaymentMethodKlarnaInvoice
Base |
DE_EPAGES::Klarna::API::Object::PaymentMethodKlarnaBase |
Functions
canAddToBasket
Tests if a payment method can be added to the basket with the given currency. Overrides function DE_EPAGES::Order::API::Object::ContainerPaymentMethod::canAddToBasket The payment method can be added to the container if the CurrencyID attribute matches the currency of the container.
Syntax |
if ($PaymentMethod->canAddToBasket($hVars)); |
Input |
|
Return |
|
recalculateLineItem
Recalculates lineitem. Saves default Klarna payment type if it is yet missing.
Syntax |
$Package->recalculateLineItem($LineItem); |
Input |
|
Return |
|