WriteOffInvoiceResponseError Class

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

InvoiceWriteOff

Learn more about the constructors available with the WriteOffInvoiceResponseError class.

The WriteOffInvoiceResponseError class includes these constructors.

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

public WriteOffInvoiceResponseError(String errorCode, String errorMessage)

errorCode

Type: String

Code that represents the error.

errorMessage

Type: String

Message that describes the error.

Learn more about the properties available with the WriteOffInvoiceResponseError class.

The WriteOffInvoiceResponseError class includes these properties.

Get the error code details.

public String errorCode {get; set;}

Type: String

Get the error message details.

public String errorMessage {get; set;}

Type: String