Class PaymentRequiredErrorInfo
Contains information about HTTP client error 402 (payment required) for REST APIs.
Inherited Members
Namespace: DNVGL.One.Compute.Core.PlatformClient.ApiErrors
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class PaymentRequiredErrorInfo : ApiErrorInfo
Constructors
View SourcePaymentRequiredErrorInfo(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
Properties
View SourceDeclineReason
Gets a declination reason of a request.
Declaration
public PaymentRequiredErrorInfo.Reason DeclineReason { get; }
Property Value
Type | Description |
---|---|
PaymentRequiredErrorInfo.Reason | The decline reason. |