/** * Send the estimate. Returns the updated estimate * @param Estimate $estimate * @param string $method Send method (email|hand|post); default: email * @param type $email Address to send to; default: contact e-mail * @param type $message * @return Estimate */ public function send(Estimate $estimate, $method = 'email', $email = null, $message = null) { return $this->connector->send($estimate, $this->buildEnvelope($method, $email, $message)); }
/** * Send the invoice. Returns the updated invoice * @param Invoice $invoice * @param string $method Send method (email|hand|post); default: email * @param type $email Address to send to; default: contact e-mail * @param type $message * @return Invoice */ public function send(Invoice $invoice, $method = 'email', $email = null, $message = null) { return $this->connector->send($invoice, $this->buildEnvelope($method, $email, $message)); }