Class: PlatformAPI::Invoice
- Inherits:
-
Object
- Object
- PlatformAPI::Invoice
- Defined in:
- lib/platform-api/client.rb
Overview
An invoice is an itemized bill of goods for an account which includes pricing and charges.
Instance Method Summary collapse
-
#info(invoice_number) ⇒ Object
Info for existing invoice.
-
#initialize(client) ⇒ Invoice
constructor
A new instance of Invoice.
-
#list ⇒ Object
List existing invoices.
Constructor Details
#initialize(client) ⇒ Invoice
Returns a new instance of Invoice.
1343 1344 1345 |
# File 'lib/platform-api/client.rb', line 1343 def initialize(client) @client = client end |
Instance Method Details
#info(invoice_number) ⇒ Object
Info for existing invoice.
1350 1351 1352 |
# File 'lib/platform-api/client.rb', line 1350 def info(invoice_number) @client.invoice.info(invoice_number) end |
#list ⇒ Object
List existing invoices.
1355 1356 1357 |
# File 'lib/platform-api/client.rb', line 1355 def list() @client.invoice.list() end |