Show / Hide Table of Contents

Class PaymentRequiredErrorInfo

Contains information about HTTP client error 402 (payment required) for REST APIs.

Inheritance
object
ApiErrorInfo
PaymentRequiredErrorInfo
Inherited Members
ApiErrorInfo.StatusCode
ApiErrorInfo.StatusDescription
ApiErrorInfo.Message
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DNVGL.One.Compute.Core.PlatformClient.ApiErrors
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class PaymentRequiredErrorInfo : ApiErrorInfo

Constructors

View Source

PaymentRequiredErrorInfo(Reason, string)

Initializes a new instance of the PaymentRequiredErrorInfo class.

Declaration
public PaymentRequiredErrorInfo(PaymentRequiredErrorInfo.Reason declineReason, string message = null)
Parameters
Type Name Description
PaymentRequiredErrorInfo.Reason declineReason

The declination reason.

string message

The message.

See Also
ApiErrorInfo

Properties

View Source

DeclineReason

Gets a declination reason of a request.

Declaration
public PaymentRequiredErrorInfo.Reason DeclineReason { get; }
Property Value
Type Description
PaymentRequiredErrorInfo.Reason

The decline reason.

See Also
ApiErrorInfo

See Also

ApiErrorInfo
  • View Source
In this article
Back to top Copyright © DNV AS. All rights reserved.