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
Returns a new instance of OrganizationInvoice.
1637 1638 1639 |
# File 'lib/platform-api/client.rb', line 1637 def initialize(client) @client = client end |
Instance Method Details
#info(organization_name, organization_invoice_number) ⇒ Object
Info for existing invoice.
1645 1646 1647 |
# File 'lib/platform-api/client.rb', line 1645 def info(organization_name, organization_invoice_number) @client.organization_invoice.info(organization_name, organization_invoice_number) end |
#list(organization_name) ⇒ Object
List existing invoices.
1652 1653 1654 |
# File 'lib/platform-api/client.rb', line 1652 def list(organization_name) @client.organization_invoice.list(organization_name) end |