class PlatformAPI::TeamInvoice

A Team Invoice is an itemized bill of goods for a team which includes pricing and charges.

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 3300
def initialize(client)
  @client = client
end

Public Instance Methods

info(team_name_or_team_id, team_invoice_number) click to toggle source

Info for existing invoice.

@param team_name_or_team_id: unique name of team or unique identifier of team @param team_invoice_number: human readable invoice number

# File lib/platform-api/client.rb, line 3308
def info(team_name_or_team_id, team_invoice_number)
  @client.team_invoice.info(team_name_or_team_id, team_invoice_number)
end
list(team_name_or_team_id) click to toggle source

List existing invoices.

@param team_name_or_team_id: unique name of team or unique identifier of team

# File lib/platform-api/client.rb, line 3315
def list(team_name_or_team_id)
  @client.team_invoice.list(team_name_or_team_id)
end