AvailableBalancesClient Interface

public interface AvailableBalancesClient

An instance of this class provides access to all the operations defined in AvailableBalancesClient.

Method Summary

Modifier and Type Method and Description
abstract AvailableBalanceInner getByBillingAccount(String billingAccountName)

The Available Credit or Payment on Account Balance for a billing account.

abstract Response<AvailableBalanceInner> getByBillingAccountWithResponse(String billingAccountName, Context context)

The Available Credit or Payment on Account Balance for a billing account.

abstract AvailableBalanceInner getByBillingProfile(String billingAccountName, String billingProfileName)

The Available Credit or Payment on Account Balance for a billing profile.

abstract Response<AvailableBalanceInner> getByBillingProfileWithResponse(String billingAccountName, String billingProfileName, Context context)

The Available Credit or Payment on Account Balance for a billing profile.

Method Details

getByBillingAccount

public abstract AvailableBalanceInner getByBillingAccount(String billingAccountName)

The Available Credit or Payment on Account Balance for a billing account. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Online Services Program.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.

Returns:

the Available Credit or Payment on Account Balance.

getByBillingAccountWithResponse

public abstract Response<AvailableBalanceInner> getByBillingAccountWithResponse(String billingAccountName, Context context)

The Available Credit or Payment on Account Balance for a billing account. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Online Services Program.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
context - The context to associate with this operation.

Returns:

the Available Credit or Payment on Account Balance along with Response<T>.

getByBillingProfile

public abstract AvailableBalanceInner getByBillingProfile(String billingAccountName, String billingProfileName)

The Available Credit or Payment on Account Balance for a billing profile. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.

Returns:

the Available Credit or Payment on Account Balance.

getByBillingProfileWithResponse

public abstract Response<AvailableBalanceInner> getByBillingProfileWithResponse(String billingAccountName, String billingProfileName, Context context)

The Available Credit or Payment on Account Balance for a billing profile. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
context - The context to associate with this operation.

Returns:

the Available Credit or Payment on Account Balance along with Response<T>.

Applies to