Class Session
Contains the components needed to communicate with the Ingenico ePayments platform. Thread-safe.
Inherited Members
Namespace: Ingenico.Connect.Sdk
Assembly: connect-sdk-dotnet.dll
Syntax
public class Session
Constructors
Session()
Declaration
protected Session()
Session(Uri, IConnection, IAuthenticator, MetaDataProvider)
Declaration
public Session(Uri apiEndpoint, IConnection connection, IAuthenticator authenticator, MetaDataProvider metaDataProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | apiEndpoint | |
| IConnection | connection | |
| IAuthenticator | authenticator | |
| MetaDataProvider | metaDataProvider |
Properties
ApiEndpoint
Gets the Ingenico ePayments platform API endpoint URI. This URI's path will be null or empty.
Declaration
public virtual Uri ApiEndpoint { get; }
Property Value
| Type | Description |
|---|---|
| Uri |
Authenticator
Gets he IAuthenticator object associated with this session. Never null.
Declaration
public IAuthenticator Authenticator { get; }
Property Value
| Type | Description |
|---|---|
| IAuthenticator |
Connection
Gets the IConnection object associated with this session. Never null.
Declaration
public IConnection Connection { get; }
Property Value
| Type | Description |
|---|---|
| IConnection |
MetaDataProvider
Gets the MetaDataProvider object associated with this session. Never null.
Declaration
public MetaDataProvider MetaDataProvider { get; }
Property Value
| Type | Description |
|---|---|
| MetaDataProvider |