Class ApiSession
Session representation object for communicating with the Klarna API
Inheritance
System.Object
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.Commuication.Dto
Assembly: Klarna.Rest.Core.dll
Syntax
public class ApiSession
Properties
| Improve this Doc View SourceApiUrl
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 |
Credentials
DTO class for Klarna API Credentials
Declaration
public ApiCredentials Credentials { get; set; }
Property Value
Type | Description |
---|---|
ApiCredentials |
UserAgent
The user agent string used when calling the Klarna API
Declaration
public string UserAgent { get; set; }
Property Value
Type | Description |
---|---|
System.String |