BillingSubscriptionInner Class

public final class BillingSubscriptionInner
extends ProxyResource

A billing subscription.

Constructor Summary

Constructor Description
BillingSubscriptionInner()

Creates an instance of BillingSubscriptionInner class.

Method Summary

Modifier and Type Method and Description
String billingProfileDisplayName()

Get the billingProfileDisplayName property: The name of the billing profile to which the subscription is billed.

String billingProfileId()

Get the billingProfileId property: The ID of the billing profile to which the subscription is billed.

String costCenter()

Get the costCenter property: The cost center applied to the subscription.

String customerDisplayName()

Get the customerDisplayName property: The name of the customer for whom the subscription was created.

String customerId()

Get the customerId property: The ID of the customer for whom the subscription was created.

String displayName()

Get the displayName property: The name of the subscription.

String invoiceSectionDisplayName()

Get the invoiceSectionDisplayName property: The name of the invoice section to which the subscription is billed.

String invoiceSectionId()

Get the invoiceSectionId property: The ID of the invoice section to which the subscription is billed.

Amount lastMonthCharges()

Get the lastMonthCharges property: The last month charges.

Amount monthToDateCharges()

Get the monthToDateCharges property: The current month to date charges.

Reseller reseller()

Get the reseller property: Reseller for this subscription.

String skuDescription()

Get the skuDescription property: The sku description of the Azure plan for the subscription.

String skuId()

Get the skuId property: The sku ID of the Azure plan for the subscription.

BillingSubscriptionStatusType subscriptionBillingStatus()

Get the subscriptionBillingStatus property: The current billing status of the subscription.

UUID subscriptionId()

Get the subscriptionId property: The ID of the subscription.

List<String> suspensionReasons()

Get the suspensionReasons property: The suspension reason for a subscription.

void validate()

Validates the instance.

BillingSubscriptionInner withCostCenter(String costCenter)

Set the costCenter property: The cost center applied to the subscription.

BillingSubscriptionInner withSkuId(String skuId)

Set the skuId property: The sku ID of the Azure plan for the subscription.

BillingSubscriptionInner withSubscriptionBillingStatus(BillingSubscriptionStatusType subscriptionBillingStatus)

Set the subscriptionBillingStatus property: The current billing status of the subscription.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

BillingSubscriptionInner

public BillingSubscriptionInner()

Creates an instance of BillingSubscriptionInner class.

Method Details

billingProfileDisplayName

public String billingProfileDisplayName()

Get the billingProfileDisplayName property: The name of the billing profile to which the subscription is billed.

Returns:

the billingProfileDisplayName value.

billingProfileId

public String billingProfileId()

Get the billingProfileId property: The ID of the billing profile to which the subscription is billed.

Returns:

the billingProfileId value.

costCenter

public String costCenter()

Get the costCenter property: The cost center applied to the subscription.

Returns:

the costCenter value.

customerDisplayName

public String customerDisplayName()

Get the customerDisplayName property: The name of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing account.

Returns:

the customerDisplayName value.

customerId

public String customerId()

Get the customerId property: The ID of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing account.

Returns:

the customerId value.

displayName

public String displayName()

Get the displayName property: The name of the subscription.

Returns:

the displayName value.

invoiceSectionDisplayName

public String invoiceSectionDisplayName()

Get the invoiceSectionDisplayName property: The name of the invoice section to which the subscription is billed.

Returns:

the invoiceSectionDisplayName value.

invoiceSectionId

public String invoiceSectionId()

Get the invoiceSectionId property: The ID of the invoice section to which the subscription is billed.

Returns:

the invoiceSectionId value.

lastMonthCharges

public Amount lastMonthCharges()

Get the lastMonthCharges property: The last month charges.

Returns:

the lastMonthCharges value.

monthToDateCharges

public Amount monthToDateCharges()

Get the monthToDateCharges property: The current month to date charges.

Returns:

the monthToDateCharges value.

reseller

public Reseller reseller()

Get the reseller property: Reseller for this subscription.

Returns:

the reseller value.

skuDescription

public String skuDescription()

Get the skuDescription property: The sku description of the Azure plan for the subscription.

Returns:

the skuDescription value.

skuId

public String skuId()

Get the skuId property: The sku ID of the Azure plan for the subscription.

Returns:

the skuId value.

subscriptionBillingStatus

public BillingSubscriptionStatusType subscriptionBillingStatus()

Get the subscriptionBillingStatus property: The current billing status of the subscription.

Returns:

the subscriptionBillingStatus value.

subscriptionId

public UUID subscriptionId()

Get the subscriptionId property: The ID of the subscription.

Returns:

the subscriptionId value.

suspensionReasons

public List suspensionReasons()

Get the suspensionReasons property: The suspension reason for a subscription. Applies only to subscriptions in Microsoft Online Services Program billing accounts.

Returns:

the suspensionReasons value.

validate

public void validate()

Validates the instance.

withCostCenter

public BillingSubscriptionInner withCostCenter(String costCenter)

Set the costCenter property: The cost center applied to the subscription.

Parameters:

costCenter - the costCenter value to set.

Returns:

the BillingSubscriptionInner object itself.

withSkuId

public BillingSubscriptionInner withSkuId(String skuId)

Set the skuId property: The sku ID of the Azure plan for the subscription.

Parameters:

skuId - the skuId value to set.

Returns:

the BillingSubscriptionInner object itself.

withSubscriptionBillingStatus

public BillingSubscriptionInner withSubscriptionBillingStatus(BillingSubscriptionStatusType subscriptionBillingStatus)

Set the subscriptionBillingStatus property: The current billing status of the subscription.

Parameters:

subscriptionBillingStatus - the subscriptionBillingStatus value to set.

Returns:

the BillingSubscriptionInner object itself.

Applies to