Search Results for

    Show / Hide Table of Contents

    Class CommunicatorConfiguration

    Configuration for the communicator.

    Inheritance
    object
    CommunicatorConfiguration
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Ingenico.Connect.Sdk
    Assembly: connect-sdk-dotnet.dll
    Syntax
    public class CommunicatorConfiguration

    Constructors

    CommunicatorConfiguration()

    Declaration
    public CommunicatorConfiguration()

    CommunicatorConfiguration(IDictionary<string, string>)

    Declaration
    public CommunicatorConfiguration(IDictionary<string, string> properties)
    Parameters
    Type Name Description
    IDictionary<string, string> properties

    Fields

    DefaultMaxConnections

    The default number of maximum connections

    Declaration
    public const int DefaultMaxConnections = 10
    Field Value
    Type Description
    int

    Properties

    ApiEndpoint

    Gets or sets the Ingenico ePayments platform API endpoint URI.

    Declaration
    public Uri ApiEndpoint { get; set; }
    Property Value
    Type Description
    Uri

    ApiKeyId

    Gets or sets an identifier for the secret API key. The apiKeyId can be retrieved from the Configuration Center. This identifier is visible in the HTTP request and is also used to identify the correct account.

    Declaration
    public string ApiKeyId { get; set; }
    Property Value
    Type Description
    string

    AuthorizationType

    Gets or sets the type of the authorization.

    Declaration
    public AuthorizationType AuthorizationType { get; set; }
    Property Value
    Type Description
    AuthorizationType

    ConnectTimeout

    Gets or sets the connect timeout

    Declaration
    public TimeSpan? ConnectTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan?

    HttpClientHandler

    Gets or sets a custom HttpClientHandler to be used by DefaultConnection.

    Declaration
    public HttpClientHandler HttpClientHandler { get; set; }
    Property Value
    Type Description
    HttpClientHandler

    Integrator

    Gets or sets the integrator.

    Declaration
    public string Integrator { get; set; }
    Property Value
    Type Description
    string

    MaxConnections

    Gets or sets the maximal number of connections

    Declaration
    public int MaxConnections { get; set; }
    Property Value
    Type Description
    int

    Proxy

    Gets the proxy object

    Declaration
    public Proxy Proxy { get; }
    Property Value
    Type Description
    Proxy

    ProxyPassword

    Gets or sets the proxy password.

    Declaration
    public string ProxyPassword { get; set; }
    Property Value
    Type Description
    string

    ProxyUri

    Gets or sets the proxy URI.

    Declaration
    public Uri ProxyUri { get; set; }
    Property Value
    Type Description
    Uri

    ProxyUserName

    Gets or sets the proxy username.

    Declaration
    public string ProxyUserName { get; set; }
    Property Value
    Type Description
    string

    SecretApiKey

    Gets or sets a shared secret. The shared secret can be retrieved from the Configuration Center. An apiKeyId and secretApiKey always go hand-in-hand, the difference is that secretApiKey is never visible in the HTTP request. This secret is used as input for the HMAC algorithm.

    Declaration
    public string SecretApiKey { get; set; }
    Property Value
    Type Description
    string

    ShoppingCartExtension

    Gets or sets the shoppingcart extension.

    Declaration
    public ShoppingCartExtension ShoppingCartExtension { get; set; }
    Property Value
    Type Description
    ShoppingCartExtension

    SocketTimeout

    Gets or sets the socket timeout

    Declaration
    public TimeSpan? SocketTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan?

    Methods

    WithApiEndpoint(Uri)

    Returns this with the API endpoint assigned.

    Declaration
    public CommunicatorConfiguration WithApiEndpoint(Uri apiEndpoint)
    Parameters
    Type Name Description
    Uri apiEndpoint

    API endpoint.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithApiKeyId(string)

    Returns this with the API key identifier assigned.

    Declaration
    public CommunicatorConfiguration WithApiKeyId(string apiKeyId)
    Parameters
    Type Name Description
    string apiKeyId

    The API key id

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithAuthorizationType(AuthorizationType)

    Returns this with the type of the authorization assigned.

    Declaration
    public CommunicatorConfiguration WithAuthorizationType(AuthorizationType authorizationType)
    Parameters
    Type Name Description
    AuthorizationType authorizationType

    Authorization type.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithConnectTimeout(int)

    Returns this with the the connect timeout assigned.

    Declaration
    public CommunicatorConfiguration WithConnectTimeout(int connectTimeout)
    Parameters
    Type Name Description
    int connectTimeout

    The connect timeout.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithHttpClientHandler(HttpClientHandler)

    Returns this with a custom HttpClientHandler assigned.

    Declaration
    public CommunicatorConfiguration WithHttpClientHandler(HttpClientHandler httpClientHandler)
    Parameters
    Type Name Description
    HttpClientHandler httpClientHandler

    The custom HttpClientHandler.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithIntegrator(string)

    Returns this with the integrator assigned.

    Declaration
    public CommunicatorConfiguration WithIntegrator(string integrator)
    Parameters
    Type Name Description
    string integrator

    The integrator.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithMaxConnections(int)

    Returns this with the maximum number of connections assigned.

    Declaration
    public CommunicatorConfiguration WithMaxConnections(int maxConnections)
    Parameters
    Type Name Description
    int maxConnections

    The maximum number of connections.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithProxyPassword(string)

    Returns this with the proxy password assigned.

    Declaration
    public CommunicatorConfiguration WithProxyPassword(string proxyPassword)
    Parameters
    Type Name Description
    string proxyPassword

    The proxy password.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithProxyUri(Uri)

    Returns this with the proxy URI assigned.

    Declaration
    public CommunicatorConfiguration WithProxyUri(Uri proxyUri)
    Parameters
    Type Name Description
    Uri proxyUri

    The proxy URI.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithProxyUserName(string)

    Returns this with the proxy username assigned.

    Declaration
    public CommunicatorConfiguration WithProxyUserName(string proxyName)
    Parameters
    Type Name Description
    string proxyName

    The proxy username.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithSecretApiKey(string)

    Returns this with the secret API key assigned.

    Declaration
    public CommunicatorConfiguration WithSecretApiKey(string secretApiKey)
    Parameters
    Type Name Description
    string secretApiKey

    Secret API key.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithShoppingCartExtension(ShoppingCartExtension)

    Returns this with the shopping cart extension assigned.

    Declaration
    public CommunicatorConfiguration WithShoppingCartExtension(ShoppingCartExtension shoppingCartExtension)
    Parameters
    Type Name Description
    ShoppingCartExtension shoppingCartExtension

    The shopping cart extension.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    WithSocketTimeout(int)

    Returns this with the the socket timeout assigned.

    Declaration
    public CommunicatorConfiguration WithSocketTimeout(int socketTimeout)
    Parameters
    Type Name Description
    int socketTimeout

    The socket timeout.

    Returns
    Type Description
    CommunicatorConfiguration

    This.

    In This Article
    Back to top Copyright (c) 2016 Global Collect Services B.V.