WriteOffInvoiceResponseError Class

Contains properties to store the error response that’s associated with a request to write off a posted invoice.

Namespace 

InvoiceWriteOff

WriteOffInvoiceResponseError Constructors 

Learn more about the constructors available with the WriteOffInvoiceResponseError class.

The WriteOffInvoiceResponseError class includes these constructors.

WriteOffInvoiceResponseError(errorCode, errorMessage) 

Initializes the WriteOffInvoiceResponseError class that stores the error response that’s associated with a request to write off a posted invoice.

Signature 

public WriteOffInvoiceResponseError(String errorCode, String errorMessage)

Parameters 

errorCode

Type: String

Code that represents the error.

errorMessage

Type: String

Message that describes the error.

WriteOffInvoiceResponseError Properties 

Learn more about the properties available with the WriteOffInvoiceResponseError class.

The WriteOffInvoiceResponseError class includes these properties.

errorCode 

Get the error code details.

Signature 

public String errorCode {get; set;}

Property Value 

Type: String

errorMessage 

Get the error message details.

Signature 

public String errorMessage {get; set;}

Property Value 

Type: String