BillingPropertiesClient Interface

public interface BillingPropertiesClient

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

Method Summary

Modifier and Type Method and Description
abstract BillingPropertyInner get()

Gets the billing properties for a subscription.

abstract Response<BillingPropertyInner> getWithResponse(Boolean includeBillingCountry, Boolean includeTransitionStatus, Context context)

Gets the billing properties for a subscription.

abstract BillingPropertyInner update(BillingPropertyInner parameters)

Updates the billing property of a subscription.

abstract Response<BillingPropertyInner> updateWithResponse(BillingPropertyInner parameters, Context context)

Updates the billing property of a subscription.

Method Details

get

public abstract BillingPropertyInner get()

Gets the billing properties for a subscription.

Returns:

the billing properties for a subscription.

getWithResponse

public abstract Response<BillingPropertyInner> getWithResponse(Boolean includeBillingCountry, Boolean includeTransitionStatus, Context context)

Gets the billing properties for a subscription.

Parameters:

includeBillingCountry - A flag that specifies whether or not to include billing country.
includeTransitionStatus - A flag that specifies whether or not to include transition status for billing accounts with agreement type Microsoft Customer Agreement.
context - The context to associate with this operation.

Returns:

the billing properties for a subscription along with Response<T>.

update

public abstract BillingPropertyInner update(BillingPropertyInner parameters)

Updates the billing property of a subscription. Currently, cost center can be updated for billing accounts with agreement type Microsoft Customer Agreement and subscription service usage address can be updated for billing accounts with agreement type Microsoft Online Service Program.

Parameters:

parameters - A billing property.

Returns:

a billing property.

updateWithResponse

public abstract Response<BillingPropertyInner> updateWithResponse(BillingPropertyInner parameters, Context context)

Updates the billing property of a subscription. Currently, cost center can be updated for billing accounts with agreement type Microsoft Customer Agreement and subscription service usage address can be updated for billing accounts with agreement type Microsoft Online Service Program.

Parameters:

parameters - A billing property.
context - The context to associate with this operation.

Returns:

a billing property along with Response<T>.

Applies to