Search Results for

    Show / Hide Table of Contents

    Class ApiException

    Represents an error response from the Worldline Acquiring platform.

    Inheritance
    object
    Exception
    ApiException
    AuthorizationException
    PlatformException
    ReferenceException
    ValidationException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Worldline.Acquiring.Sdk.V1
    Assembly: Worldline.Acquiring.Sdk.dll
    Syntax
    public class ApiException : Exception, ISerializable

    Constructors

    ApiException(HttpStatusCode, string, string, string, int?, string, string)

    Declaration
    public ApiException(HttpStatusCode statusCode, string responseBody, string type, string title, int? status, string detail, string instance)
    Parameters
    Type Name Description
    HttpStatusCode statusCode
    string responseBody
    string type
    string title
    int? status
    string detail
    string instance

    ApiException(string, HttpStatusCode, string, string, string, int?, string, string)

    Declaration
    public ApiException(string message, HttpStatusCode statusCode, string responseBody, string type, string title, int? status, string detail, string instance)
    Parameters
    Type Name Description
    string message
    HttpStatusCode statusCode
    string responseBody
    string type
    string title
    int? status
    string detail
    string instance

    Properties

    Detail

    Gets the detail received from the Worldline Acquiring platform if available.

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

    Instance

    Gets the instance received from the Worldline Acquiring platform if available.

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

    ResponseBody

    Gets the raw response body that was returned by the Worldline Acquiring platform.

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

    Status

    Gets the status received from the Worldline Acquiring platform if available.

    Declaration
    public int? Status { get; }
    Property Value
    Type Description
    int?

    StatusCode

    Gets the HTTP status code that was returned by the Worldline Acquiring platform.

    Declaration
    public HttpStatusCode StatusCode { get; }
    Property Value
    Type Description
    HttpStatusCode

    Title

    Gets the title received from the Worldline Acquiring platform if available.

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

    Type

    Gets the type received from the Worldline Acquiring platform if available.

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

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    Exception.ToString()

    Implements

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