TransactionsClient Interface
public interface TransactionsClient
An instance of this class provides access to all the operations defined in TransactionsClient.
Method Summary
Method Details
beginTransactionsDownloadByInvoice
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginTransactionsDownloadByInvoice(String billingAccountName, String invoiceName)
Gets a URL to download the transactions document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
beginTransactionsDownloadByInvoice
public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginTransactionsDownloadByInvoice(String billingAccountName, String invoiceName, Context context)
Gets a URL to download the transactions document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
getTransactionSummaryByInvoice
public abstract TransactionSummaryInner getTransactionSummaryByInvoice(String billingAccountName, String invoiceName)
Gets the transaction summary for an invoice. Transactions include purchases, refunds and Azure usage charges.
Parameters:
Returns:
getTransactionSummaryByInvoiceWithResponse
public abstract Response<TransactionSummaryInner> getTransactionSummaryByInvoiceWithResponse(String billingAccountName, String invoiceName, String filter, String search, Context context)
Gets the transaction summary for an invoice. Transactions include purchases, refunds and Azure usage charges.
Parameters:
Returns:
listByBillingProfile
public abstract PagedIterable<TransactionInner> listByBillingProfile(String billingAccountName, String billingProfileName, LocalDate periodStartDate, LocalDate periodEndDate, TransactionType type)
Lists the billed or unbilled transactions by billing profile name for given start and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Parameters:
Returns:
listByBillingProfile
public abstract PagedIterable<TransactionInner> listByBillingProfile(String billingAccountName, String billingProfileName, LocalDate periodStartDate, LocalDate periodEndDate, TransactionType type, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the billed or unbilled transactions by billing profile name for given start and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Parameters:
Returns:
listByCustomer
public abstract PagedIterable<TransactionInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName, LocalDate periodStartDate, LocalDate periodEndDate, TransactionType type)
Lists the billed or unbilled transactions by customer id for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Parameters:
Returns:
listByCustomer
public abstract PagedIterable<TransactionInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName, LocalDate periodStartDate, LocalDate periodEndDate, TransactionType type, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the billed or unbilled transactions by customer id for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Parameters:
Returns:
listByInvoice
public abstract PagedIterable<TransactionInner> listByInvoice(String billingAccountName, String invoiceName)
Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges.
Parameters:
Returns:
listByInvoice
public abstract PagedIterable<TransactionInner> listByInvoice(String billingAccountName, String invoiceName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges.
Parameters:
Returns:
listByInvoiceSection
public abstract PagedIterable<TransactionInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName, LocalDate periodStartDate, LocalDate periodEndDate, TransactionType type)
Lists the billed or unbilled transactions by invoice section name for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Parameters:
Returns:
listByInvoiceSection
public abstract PagedIterable<TransactionInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName, LocalDate periodStartDate, LocalDate periodEndDate, TransactionType type, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the billed or unbilled transactions by invoice section name for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Parameters:
Returns:
transactionsDownloadByInvoice
public abstract DocumentDownloadResultInner transactionsDownloadByInvoice(String billingAccountName, String invoiceName)
Gets a URL to download the transactions document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
transactionsDownloadByInvoice
public abstract DocumentDownloadResultInner transactionsDownloadByInvoice(String billingAccountName, String invoiceName, Context context)
Gets a URL to download the transactions document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns: