Overview
  • Package
  • Class

Packages

  • Klarna
    • Checkout
  • Payment
    • Klarna
      • HTTP
      • Interfaces
      • Unit
        • Tests

Classes

  • Klarna_Checkout_BasicConnector
  • Klarna_Checkout_Connector
  • Klarna_Checkout_Digest
  • Klarna_Checkout_Order
  • Klarna_Checkout_RecurringOrder
  • Klarna_Checkout_RecurringStatus
  • Klarna_Checkout_Resource
  • Klarna_Checkout_UserAgent

Interfaces

  • Klarna_Checkout_ApiErrorException
  • Klarna_Checkout_ConnectionErrorException
  • Klarna_Checkout_ConnectorException
  • Klarna_Checkout_ConnectorInterface
  • Klarna_Checkout_Exception
  • Klarna_Checkout_ResourceCreateableInterface
  • Klarna_Checkout_ResourceFetchableInterface
  • Klarna_Checkout_ResourceInterface
  • Klarna_Checkout_ResourceUpdateableInterface

Interface Klarna_Checkout_ResourceInterface

Interface for the resource object

Direct known implementers

Klarna_Checkout_Resource

Indirect known implementers

Klarna_Checkout_Order, Klarna_Checkout_RecurringOrder, Klarna_Checkout_RecurringStatus

Package: Klarna\Checkout
Category: Payment
Copyright: 2015 Klarna AB
License: Apache license v2.0
Author: Majid G. majid.garmaroudi@klarna.com
Author: David K. david.keijser@klarna.com
Link: http://developers.klarna.com/
Located at Klarna/Checkout/ResourceInterface.php

Methods summary

public string
# getLocation( )

Get the URL of the resource

Get the URL of the resource

Returns

string
public
# setLocation( string $location )

Set the URL of the resource

Set the URL of the resource

Parameters

$location
URL of the resource
public string
# getContentType( )

Return content type of the resource

Return content type of the resource

Returns

string
Content type
public
# setContentType( string $contentType )

Set the content type

Set the content type

Parameters

$contentType
Content type
public string
# getAccept( )

Return accept header of the resource

Return accept header of the resource

Returns

string
Accept header
public
# setAccept( string $accept )

Set the accept type

Set the accept type

Parameters

$accept
Accept type
public
# parse( array $data )

Update resource with the new data

Update resource with the new data

Parameters

$data
data
public array
# marshal( )

Basic representation of the object

Basic representation of the object

Returns

array
data

Magic methods summary

API documentation generated by ApiGen