Esempio n. 1
0
 /**
  * Updates or inserts an estimate
  * @param Estimate $estimate
  * @return Estimate
  */
 public function save(Estimate $estimate)
 {
     return $this->connector->save($estimate);
 }
Esempio n. 2
0
 /**
  * Inserts contact note
  * @param Note $note
  * @param Contact $contact
  * @return Note
  */
 public function saveNote(Note $note, Contact $contact)
 {
     return $this->connector->save($note, $contact);
 }
Esempio n. 3
0
 /**
  * Updates or inserts a template
  * @param RecurringTemplate $template
  * @return RecurringTemplate
  */
 public function save(RecurringTemplate $template)
 {
     return $this->connector->save($template);
 }
Esempio n. 4
0
 /**
  * Updates or inserts an invoice
  * @param IncomingInvoice $invoice
  * @return IncomingInvoice
  */
 public function save(IncomingInvoice $invoice)
 {
     return $this->connector->save($invoice);
 }
Esempio n. 5
0
 /**
  * Inserts history note
  * @param History $history
  * @param Invoice $invoice
  * @return History
  */
 public function saveHistory(History $history, Invoice $invoice)
 {
     return $this->connector->save($history, $invoice);
 }