/// <summary>
 /// PUT api/Receivedinvoices/{id}/Exported/{value}
 /// Method updates Exported proterty of the invoice.
 /// </summary>
 public bool UpdateExported(int invoiceId, ExportedStateEnum state)
 {
     return Put<bool>(ResourceUrl + "/" + invoiceId + "/Exported" + "/" + (int)state);
 }
 /// <summary>
 /// PUT api/Receivedinvoices/{id}/Exported/{value}
 /// Method updates Exported proterty of the invoice.
 /// </summary>
 public bool UpdateExported(int invoiceId, ExportedStateEnum state)
 {
     return(Put <bool>(ResourceUrl + "/" + invoiceId + "/Exported" + "/" + (int)state));
 }
 /// <summary>
 /// PUT api/IssuedInvoices/{id}/Exported/{value}
 /// Method updates Exported property of the invoice.
 /// </summary>
 public bool SendMailToPurchaser(int invoiceId, ExportedStateEnum state)
 {
     return(Put <bool>(ResourceUrl + "/" + invoiceId + "/Exported" + "/" + (int)state));
 }
 /// <summary>
 /// PUT api/CreditNotes/{id}/Exported/{value}
 /// Method updates Exported property of the invoice.
 /// </summary>
 public bool UpdateExported(int creditNoteId, ExportedStateEnum state)
 {
     return(Put <bool>(ResourceUrl + "/" + creditNoteId + "/Exported" + "/" + (int)state));
 }
Exemplo n.º 5
0
 /// <summary>
 /// PUT api/IssuedDocumentPayments/{id}/Exported/{exported}
 /// Method updates Exported property of the payment.
 /// </summary>
 public IssuedInvoice Update(int paymentId, ExportedStateEnum exportedState)
 {
     return(Put <IssuedInvoice>(ResourceUrl + "/" + paymentId + "/" + (int)exportedState));
 }
 /// <summary>
 /// PUT api/ReceivedDocumentPayments/{id}/Exported/{exported}
 /// Method updates Exported property of the payment.
 /// </summary>
 public bool Update(int paymentId, ExportedStateEnum exportedState)
 {
     return(Put <bool>(ResourceUrl + "/" + paymentId + "/" + "Exported" + "/" + (int)exportedState));
 }
Exemplo n.º 7
0
 /// <summary>
 /// PUT api/SalesReceipts/{id}/Exported/{value}
 /// Updates the Exported property of the sales receipt.
 /// </summary>
 public async Task <bool> UpdateAsync(int salesReceiptId, ExportedStateEnum exportedState)
 {
     return(await PutAsync <bool>(ResourceUrl + "/" + salesReceiptId + "/" + (int)exportedState));
 }
Exemplo n.º 8
0
 /// <summary>
 /// PUT api/ReceivedDocumentPayments/{id}/Exported/{exported}
 /// Method updates Exported property of the payment.
 /// </summary>
 public async Task <bool> UpdateAsync(int paymentId, ExportedStateEnum exportedState)
 {
     return(await PutAsync <bool>(ResourceUrl + "/" + paymentId + "/" + "Exported" + "/" + (int)exportedState));
 }
Exemplo n.º 9
0
 /// <summary>
 /// PUT api/CreditNotes/{id}/Exported/{value}
 /// Method updates Exported property of the invoice.
 /// </summary>
 public bool UpdateExported(int creditNoteId, ExportedStateEnum state)
 {
     return Put<bool>(ResourceUrl + "/" + creditNoteId + "/Exported" + "/" + (int)state);
 }
Exemplo n.º 10
0
 /// <summary>
 /// PUT api/SalesReceipts/{id}/Exported/{value}
 /// Updates the Exported property of the sales receipt.
 /// </summary>
 public bool Update(int salesReceiptId, ExportedStateEnum exportedState)
 {
     return(Put <bool>(ResourceUrl + "/" + salesReceiptId + "/" + (int)exportedState));
 }
Exemplo n.º 11
0
 /// <summary>
 /// PUT api/IssuedInvoices/{id}/Exported/{value}
 /// Method updates Exported property of the invoice.
 /// </summary>
 public async Task <bool> ExportedAsync(int invoiceId, ExportedStateEnum state)
 {
     return(await PutAsync <bool>(ResourceUrl + "/" + invoiceId + "/Exported" + "/" + (int)state));
 }
Exemplo n.º 12
0
 /// <summary>
 /// PUT api/CashVouchers/{id}
 /// Update cash voucher.
 /// </summary>
 public async Task <CashVoucher> UpdateAsync(int cashVoucherId, ExportedStateEnum exportedState)
 {
     return(await PutAsync <CashVoucher>(ResourceUrl + "/" + cashVoucherId + "/Exported" + "/" + (int)exportedState));
 }
 /// <summary>
 /// PUT api/IssuedInvoices/{id}/Exported/{value}
 /// Method updates Exported property of the invoice.
 /// </summary>
 public bool SendMailToPurchaser(int invoiceId, ExportedStateEnum state)
 {
     return Put<bool>(ResourceUrl + "/" + invoiceId + "/Exported" + "/" + (int)state);
 }
Exemplo n.º 14
0
 /// <summary>
 /// PUT api/CashVouchers/{id}
 /// Update cash voucher.
 /// </summary>
 public CashVoucher Update(int cashVoucherId, ExportedStateEnum exportedState)
 {
     return(Put <CashVoucher>(ResourceUrl + "/" + cashVoucherId + "/Exported" + "/" + (int)exportedState));
 }
Exemplo n.º 15
0

        
Exemplo n.º 16
0
 /// <summary>
 /// PUT api/IssuedDocumentPayments/{id}/Exported/{exported}
 /// Method updates Exported property of the payment.
 /// </summary>
 public async Task <IssuedInvoice> UpdateAsync(int paymentId, ExportedStateEnum exportedState)
 {
     return(await PutAsync <IssuedInvoice>(ResourceUrl + "/" + paymentId + "/" + (int)exportedState));
 }