Search Results for

    Show / Hide Table of Contents

    Class CallContext

    A call context can be used to send extra information with a request, and to receive extra information from a response. Please note that this class is not thread-safe. Each request should get its own call context instance.

    Inheritance
    object
    CallContext
    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 CallContext

    Properties

    IdempotenceKey

    Declaration
    public string IdempotenceKey { get; }
    Property Value
    Type Description
    string

    IdempotenceRequestTimestamp

    Gets the idempotence request timestamp from the response to the last request for which this call context was used.

    Declaration
    public long? IdempotenceRequestTimestamp { get; set; }
    Property Value
    Type Description
    long?

    The idempotence request timestamp.

    Remarks

    Returns null if no idempotencerequest was present. The setter should only be called by Communicator objects based on the response to the request for which this call context was used.

    Methods

    WithIdempotenceKey(string)

    Sets the idempotence key to use for the next request for which this call context is used.

    Declaration
    public CallContext WithIdempotenceKey(string idempotenceKey)
    Parameters
    Type Name Description
    string idempotenceKey

    Idempotence key.

    Returns
    Type Description
    CallContext

    This.

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