Class: Cetustek::QueryInvoice
- Inherits:
-
Object
- Object
- Cetustek::QueryInvoice
- Extended by:
- Soap
- Defined in:
- lib/cetustek/queries.rb
Overview
2.4 QueryInvoice 查詢發票資訊 (by invoice number + year)
Class Method Summary collapse
Methods included from Soap
rentid, soap_call, soap_client, soap_return, source
Class Method Details
.query(invoice_number, invoice_year) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/cetustek/queries.rb', line 13 def self.query(invoice_number, invoice_year) soap_client.call(:query_invoice, message: { invoicenumber: invoice_number, invoiceyear: invoice_year, source: source, rentid: rentid }) end |