Class: LucaDeal::NoInvoice
- Defined in:
- lib/luca_deal/no_invoice.rb
Overview
Invoice compatible transactions for other payment methods.
Instance Method Summary collapse
-
#deliver_mail(attachment_type = nil, mode: nil) ⇒ Object
Override not to send mail to customer.
- #monthly_invoice ⇒ Object
Methods inherited from Invoice
#compose_mail, #due_date, #export_json, #gen_invoice!, #get_customer, #get_products, #initialize, #invoice_object, #issue_date, #preview_mail, #print, #render_invoice, report, settle, #single_invoice, #stats, #stats_email
Constructor Details
This class inherits a constructor from LucaDeal::Invoice
Instance Method Details
#deliver_mail(attachment_type = nil, mode: nil) ⇒ Object
Override not to send mail to customer.
17 18 |
# File 'lib/luca_deal/no_invoice.rb', line 17 def deliver_mail( = nil, mode: nil) end |
#monthly_invoice ⇒ Object
11 12 13 |
# File 'lib/luca_deal/no_invoice.rb', line 11 def monthly_invoice super('other_payments') end |