/// <summary>
 /// Returns invoice status of payment.
 /// </summary>
 public InvoiceStatusResponseType InvoiceStatus(InvoiceStatusRequestType request)
 {
     request.ThrowIfNull();
     return(_client.InvoiceStatus(request));
 }