Package DE_EPAGES::Klarna::API::KlarnaClient
This class implements the client for Klarna web interface.
Base |
- |
@EXPORT_OK |
Functions
- ActivateInvoice
- AddTransaction
- CancelInvoice
- GetPclass
- GetPclasses
- SendInvoiceToCustomer
- UpdateInvoice
- new
ActivateInvoice
Function sends activating request to Klarna.
Syntax |
my $hResponse = $self->ActivateInvoice($LineItemContainer) |
Input |
|
Return |
|
AddTransaction
Function sends a transaction to Klarna.
Syntax |
my $hResponse = $self->AddTransaction($hParams) |
Input |
|
Return |
|
CancelInvoice
Cancels an invoice at Klarna
Syntax |
$self->CancelInvoice($LineItemContainer); |
Input |
|
Return |
|
GetPclass
Function returns pclass id number.
Syntax |
my $Encoding = GetPclass($LineItemContainer); |
Input |
|
Return |
|
GetPclasses
Function gets pclass values from Klarna.
Syntax |
my $hResponse = $self->GetPclasses($PaymentMethod, $CountryID) |
Input |
|
Return |
|
SendInvoiceToCustomer
Function sends request to Klarna that invoice can be sent to customer.
Syntax |
my $hResponse = $self->SendInvoiceToCustomer($hParams) |
Input |
|
Return |
|
UpdateInvoice
Function sends update request to Klarna.
Syntax |
my $hResponse = $self->UpdateInvoice($hParams) |
Input |
|
Return |
|
new
Constructor for KlarnaClient
Syntax |
$Object = DE_EPAGES::Klarna::API::KlarnaClient->new(); |
Return |
|