WriteOffInvoiceResponse Class
Contains properties to store the response details to the request to write off a posted invoice.
Namespace
InvoiceWriteOff
WriteOffInvoiceResponse Constructors
Learn more about the constructors available with the WriteOffInvoiceResponse class.
The WriteOffInvoiceResponse class includes these constructors.
WriteOffInvoiceResponse(errors, invoiceId, requestIdentifier, success)
Initializes the WriteOffInvoiceResponse class that stores the response details to the request to write off a posted invoice.
Signature
public WriteOffInvoiceResponse(InvoiceWriteOff.WriteOffInvoiceResponseError errors, String invoiceId, String requestIdentifier, Boolean success)
Parameters
errors
Type: InvoiceWriteOff.WriteOffInvoiceResponseError
If the request fails, this property contains a list of errors.
invoiceId
Type: String
ID of the invoice record that’s written off.
requestIdentifier
Type: String
If the request is successful, this property contains an asynchronous API request identifier for an invoice ID.
success
Type: Boolean
Indicates whether the invoice write-off request was successful (true) or not (false).
WriteOffInvoiceResponse Properties
Learn more about the properties available with the WriteOffInvoiceResponse class.
The WriteOffInvoiceResponse class includes these properties.
-
errors
Get the list of errors if the request to write off posted invoices fails.
-
invoiceId
Get the ID of the invoice record that’s written off.
-
requestIdentifier
Get the identifier of the asynchronous API request for an invoice ID if the request is successful.
-
success
Get the request status of the invoice write-off request.
errors
Get the list of errors if the request to write off posted invoices fails.
Signature
public InvoiceWriteOff.WriteOffInvoiceResponseError errors {get; set;}
Property Value
Type: InvoiceWriteOff.WriteOffInvoiceResponseError
invoiceId
Get the ID of the invoice record that’s written off.
Signature
public String invoiceId {get; set;}
Property Value
Type: String
requestIdentifier
Get the identifier of the asynchronous API request for an invoice ID if the request is successful.
Signature
public String requestIdentifier {get; set;}
Property Value
Type: String
success
Get the request status of the invoice write-off request.
Signature
public Boolean success {get; set;}
Property Value
Type: Boolean