InvoicesClient Interface
public interface InvoicesClient
An instance of this class provides access to all the operations defined in InvoicesClient.
Method Summary
Method Details
amend
public abstract void amend(String billingAccountName, String invoiceName)
Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
amend
public abstract void amend(String billingAccountName, String invoiceName, Context context)
Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
beginAmend
public abstract SyncPoller<PollResult<Void>,Void> beginAmend(String billingAccountName, String invoiceName)
Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
beginAmend
public abstract SyncPoller<PollResult<Void>,Void> beginAmend(String billingAccountName, String invoiceName, Context context)
Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
beginDownloadByBillingAccount
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingAccount(String billingAccountName, String invoiceName)
Gets a URL to download an invoice document. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Parameters:
Returns:
beginDownloadByBillingAccount
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingAccount(String billingAccountName, String invoiceName, String documentName, Context context)
Gets a URL to download an invoice document. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Parameters:
Returns:
beginDownloadByBillingSubscription
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingSubscription(String invoiceName)
Gets a URL to download an invoice by billing subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
beginDownloadByBillingSubscription
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingSubscription(String invoiceName, String documentName, Context context)
Gets a URL to download an invoice by billing subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
beginDownloadDocumentsByBillingAccount
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters)
Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
beginDownloadDocumentsByBillingAccount
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters, Context context)
Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
beginDownloadDocumentsByBillingSubscription
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters)
Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
beginDownloadDocumentsByBillingSubscription
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters, Context context)
Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
beginDownloadSummaryByBillingAccount
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadSummaryByBillingAccount(String billingAccountName, String invoiceName)
Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
beginDownloadSummaryByBillingAccount
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadSummaryByBillingAccount(String billingAccountName, String invoiceName, Context context)
Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
downloadByBillingAccount
public abstract DocumentDownloadResultInner downloadByBillingAccount(String billingAccountName, String invoiceName)
Gets a URL to download an invoice document. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Parameters:
Returns:
downloadByBillingAccount
public abstract DocumentDownloadResultInner downloadByBillingAccount(String billingAccountName, String invoiceName, String documentName, Context context)
Gets a URL to download an invoice document. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Parameters:
Returns:
downloadByBillingSubscription
public abstract DocumentDownloadResultInner downloadByBillingSubscription(String invoiceName)
Gets a URL to download an invoice by billing subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
downloadByBillingSubscription
public abstract DocumentDownloadResultInner downloadByBillingSubscription(String invoiceName, String documentName, Context context)
Gets a URL to download an invoice by billing subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
downloadDocumentsByBillingAccount
public abstract DocumentDownloadResultInner downloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters)
Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
downloadDocumentsByBillingAccount
public abstract DocumentDownloadResultInner downloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters, Context context)
Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
downloadDocumentsByBillingSubscription
public abstract DocumentDownloadResultInner downloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters)
Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
downloadDocumentsByBillingSubscription
public abstract DocumentDownloadResultInner downloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters, Context context)
Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
downloadSummaryByBillingAccount
public abstract DocumentDownloadResultInner downloadSummaryByBillingAccount(String billingAccountName, String invoiceName)
Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
downloadSummaryByBillingAccount
public abstract DocumentDownloadResultInner downloadSummaryByBillingAccount(String billingAccountName, String invoiceName, Context context)
Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
get
public abstract InvoiceInner get(String invoiceName)
Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
getByBillingAccount
public abstract InvoiceInner getByBillingAccount(String billingAccountName, String invoiceName)
Gets an invoice by billing account name and ID. The operation is supported for all billing account types.
Parameters:
Returns:
getByBillingAccountWithResponse
public abstract Response<InvoiceInner> getByBillingAccountWithResponse(String billingAccountName, String invoiceName, Context context)
Gets an invoice by billing account name and ID. The operation is supported for all billing account types.
Parameters:
Returns:
getByBillingSubscription
public abstract InvoiceInner getByBillingSubscription(String invoiceName)
Gets an invoice by subscription ID and invoice ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
getByBillingSubscriptionWithResponse
public abstract Response<InvoiceInner> getByBillingSubscriptionWithResponse(String invoiceName, Context context)
Gets an invoice by subscription ID and invoice ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
getWithResponse
public abstract Response<InvoiceInner> getWithResponse(String invoiceName, Context context)
Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
listByBillingAccount
public abstract PagedIterable<InvoiceInner> listByBillingAccount(String billingAccountName)
Lists the invoices for a billing account for a given start date and end date. The operation is supported for all billing account types.
Parameters:
Returns:
listByBillingAccount
public abstract PagedIterable<InvoiceInner> listByBillingAccount(String billingAccountName, LocalDate periodStartDate, LocalDate periodEndDate, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the invoices for a billing account for a given start date and end date. The operation is supported for all billing account types.
Parameters:
Returns:
listByBillingProfile
public abstract PagedIterable<InvoiceInner> listByBillingProfile(String billingAccountName, String billingProfileName)
Lists the invoices for a billing profile for a given start date and end date. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
listByBillingProfile
public abstract PagedIterable<InvoiceInner> listByBillingProfile(String billingAccountName, String billingProfileName, LocalDate periodStartDate, LocalDate periodEndDate, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the invoices for a billing profile for a given start date and end date. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns:
listByBillingSubscription
public abstract PagedIterable<InvoiceInner> listByBillingSubscription()
Lists the invoices for a subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Returns:
listByBillingSubscription
public abstract PagedIterable<InvoiceInner> listByBillingSubscription(LocalDate periodStartDate, LocalDate periodEndDate, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the invoices for a subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Parameters:
Returns: