Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • Initializes a new instance of the @see ServiceResponse class.

    constructor

    Returns ServiceResponse

  • Initializes a new instance of the class.

    constructor

    Parameters

    Returns ServiceResponse

  • Initializes a new instance of the class. This is intended to be used by unit tests to create a fake service error response

    constructor

    Parameters

    • responseCode: ServiceError

      Response code

    • errorMessage: string

      Detailed error message

    Returns ServiceResponse

Properties

ErrorMessage

ErrorMessage: string

Private errorCode

errorCode: ServiceError

Private errorDetails

errorDetails: object

Type declaration

  • [index: string]: string

Private errorProperties

errorProperties: PropertyDefinitionBase[]

Private result

Accessors

BatchProcessingStopped

  • get BatchProcessingStopped(): boolean
  • Returns boolean

ErrorCode

  • Returns ServiceError

ErrorDetails

  • get ErrorDetails(): object
  • Returns object

    • [index: string]: string

ErrorProperties

Result

  • Returns ServiceResult

Methods

InternalThrowIfNecessary

  • InternalThrowIfNecessary(): void
  • Returns void

LoadExtraErrorDetailsFromXml

  • Parameters

    Returns boolean

LoadFromXmlJsObject

  • Parameters

    Returns any

Loaded

  • Loaded(): void
  • Returns void

MapErrorCodeToErrorMessage

  • MapErrorCodeToErrorMessage(): void
  • Returns void

ParseMessageXml

  • Parameters

    Returns void

ReadElementsFromJson

  • ReadElementsFromJson(responseObject: any, service: ExchangeService): void
  • Parameters

    Returns void

ReadElementsFromXmlJsObject

  • ReadElementsFromXmlJsObject(jsObject: any, service: ExchangeService): void
  • Parameters

    Returns void

ThrowIfNecessary

  • ThrowIfNecessary(): void
  • Returns void

Generated using TypeDoc