Class: PlatformAPI::OrganizationInvoice
- Inherits:
-
Object
- Object
- PlatformAPI::OrganizationInvoice
- Defined in:
- lib/platform-api/client.rb
Overview
An organization invoice is an itemized bill of goods for an organization which includes pricing and charges.
Instance Method Summary collapse
-
#info(organization_name, organization_invoice_number) ⇒ Object
Info for existing invoice.
-
#initialize(client) ⇒ OrganizationInvoice
constructor
A new instance of OrganizationInvoice.
-
#list(organization_name) ⇒ Object
List existing invoices.
Constructor Details
#initialize(client) ⇒ OrganizationInvoice
1567 1568 1569 |
# File 'lib/platform-api/client.rb', line 1567 def initialize(client) @client = client end |
Instance Method Details
#info(organization_name, organization_invoice_number) ⇒ Object
Info for existing invoice.
1575 1576 1577 |
# File 'lib/platform-api/client.rb', line 1575 def info(organization_name, organization_invoice_number) @client.organization_invoice.info(organization_name, organization_invoice_number) end |
#list(organization_name) ⇒ Object
List existing invoices.
1582 1583 1584 |
# File 'lib/platform-api/client.rb', line 1582 def list(organization_name) @client.organization_invoice.list(organization_name) end |