Show / Hide Table of Contents

Class ApiSession

Session representation object for communicating with the Klarna API

Inheritance
System.Object
ApiSession
ApiSession
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Klarna.Rest.Core.Communication.Dto
Assembly: Klarna.Rest.Core.dll
Syntax
public class ApiSession

Properties

| Improve this Doc View Source

ApiUrl

The API is accessible through a few different URLS. There are different URLs for testing and for making live purchases as well as different URLs for depending on if you are based in Europe or in the U.S.

Declaration
public string ApiUrl { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Credentials

DTO class for Klarna API Credentials

Declaration
public ApiCredentials Credentials { get; set; }
Property Value
Type Description
ApiCredentials
| Improve this Doc View Source

Proxy

HTTP proxy settings for the WebRequest class

Declaration
public WebProxy Proxy { get; set; }
Property Value
Type Description
System.Net.WebProxy
| Improve this Doc View Source

UserAgent

The user agent string used when calling the Klarna API

Declaration
public string UserAgent { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Copyright (c) 2005-2019 Klarna Bank AB (publ). All rights reserved.