Search Results for

    Show / Hide Table of Contents

    Class Client

    Worldline Acquiring platform client. Thread-safe.

    Inheritance
    object
    ApiResource
    Client
    Implements
    IDisposable
    ILoggingCapable
    IObfuscationCapable
    Inherited Members
    ApiResource._communicator
    ApiResource.InstantiateUri(string, IDictionary<string, string>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Worldline.Acquiring.Sdk
    Assembly: Worldline.Acquiring.Sdk.dll
    Syntax
    public class Client : ApiResource, IDisposable, ILoggingCapable, IObfuscationCapable

    Constructors

    Client(Communicator)

    Declaration
    public Client(Communicator communicator)
    Parameters
    Type Name Description
    Communicator communicator

    Properties

    BodyObfuscator

    The current non-null body obfuscator to use.

    Declaration
    public BodyObfuscator BodyObfuscator { set; }
    Property Value
    Type Description
    BodyObfuscator

    HeaderObfuscator

    The current non-null header obfuscator to use.

    Declaration
    public HeaderObfuscator HeaderObfuscator { set; }
    Property Value
    Type Description
    HeaderObfuscator

    V1

    Declaration
    public V1Client V1 { get; }
    Property Value
    Type Description
    V1Client

    Methods

    CloseExpiredConnections()

    Utility method that delegates the call to this client's communicator.

    Declaration
    public void CloseExpiredConnections()

    CloseIdleConnections(TimeSpan)

    Utility method that delegates the call to this client's communicator.

    Declaration
    public void CloseIdleConnections(TimeSpan timespan)
    Parameters
    Type Name Description
    TimeSpan timespan

    Idle time.

    DisableLogging()

    Turns off logging.

    Declaration
    public void DisableLogging()

    Dispose()

    Releases any system resources associated with this object.

    Declaration
    public void Dispose()

    EnableLogging(ICommunicatorLogger)

    Turns on logging using the given communicator logger.

    Declaration
    public void EnableLogging(ICommunicatorLogger communicatorLogger)
    Parameters
    Type Name Description
    ICommunicatorLogger communicatorLogger

    The given communicator logger.

    Exceptions
    Type Condition
    ArgumentException

    If the given communicator logger is null.

    Implements

    IDisposable
    ILoggingCapable
    IObfuscationCapable
    In This Article
    Back to top Copyright (c) 2024 Worldline Financial Services (Europe) SA