Class BillingAccountsImpl
java.lang.Object
com.eqixiac.equinix.customerportal.client.implementation.BillingAccountsImpl
- All Implemented Interfaces:
BillingAccounts
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]downloadInvoiceDocument(String accountNumber, String invoiceId, String documentId) Downloads a specific invoice document for an account by its invoice and document identifiers.getByAccountNumber(String accountNumber) Returns the billing summary of a single account by its account number.getByAccountNumber(String accountNumber, String months) Returns the billing detail of a single account by its account number, restricting the available finance documents to the supplied months.Pages over a summary of all the billing accounts that the current user has permission to view.Pages over a summary of all the billing accounts that the current user has permission to view, sorted by the supplied sort specifier.
-
Constructor Details
-
BillingAccountsImpl
public BillingAccountsImpl()
-
-
Method Details
-
summaries
Description copied from interface:BillingAccountsPages over a summary of all the billing accounts that the current user has permission to view.- Specified by:
summariesin interfaceBillingAccounts- Returns:
- a paginated list of billing account summaries
-
summaries
Description copied from interface:BillingAccountsPages over a summary of all the billing accounts that the current user has permission to view, sorted by the supplied sort specifier.- Specified by:
summariesin interfaceBillingAccounts- Parameters:
sorts- the sort specifier, e.g."ACCOUNT_NUMBER"ascending or"-ACCOUNT_NUMBER"descending (may benull)- Returns:
- a paginated list of billing account summaries
-
getByAccountNumber
Description copied from interface:BillingAccountsReturns the billing summary of a single account by its account number.- Specified by:
getByAccountNumberin interfaceBillingAccounts- Parameters:
accountNumber- the billing account number- Returns:
- the billing account summary
-
getByAccountNumber
Description copied from interface:BillingAccountsReturns the billing detail of a single account by its account number, restricting the available finance documents to the supplied months.- Specified by:
getByAccountNumberin interfaceBillingAccounts- Parameters:
accountNumber- the billing account numbermonths- the months to pull finance documents for, as a comma-separated list of ISO local dates (e.g."2017-12-03,2018-01-03"); may benull- Returns:
- the billing account detail
-
downloadInvoiceDocument
Description copied from interface:BillingAccountsDownloads a specific invoice document for an account by its invoice and document identifiers.- Specified by:
downloadInvoiceDocumentin interfaceBillingAccounts- Parameters:
accountNumber- the billing account numberinvoiceId- the invoice identifierdocumentId- the document identifier- Returns:
- the document content as raw bytes
-