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.
1681 1682 1683 |
# File 'lib/platform-api/client.rb', line 1681 def initialize(client) @client = client end |
Instance Method Details
#info(organization_name, organization_invoice_number) ⇒ Object
Info for existing invoice.
1689 1690 1691 |
# File 'lib/platform-api/client.rb', line 1689 def info(organization_name, organization_invoice_number) @client.organization_invoice.info(organization_name, organization_invoice_number) end |
#list(organization_name) ⇒ Object
List existing invoices.
1696 1697 1698 |
# File 'lib/platform-api/client.rb', line 1696 def list(organization_name) @client.organization_invoice.list(organization_name) end |