BillingPropertyProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.BillingPropertyProperties

Implements

public final class BillingPropertyProperties
implements JsonSerializable<BillingPropertyProperties>

A billing property.

Constructor Summary

Constructor Description
BillingPropertyProperties()

Creates an instance of BillingPropertyProperties class.

Method Summary

Modifier and Type Method and Description
String accountAdminNotificationEmailAddress()

Get the accountAdminNotificationEmailAddress property: Notification email address for legacy account.

AgreementType billingAccountAgreementType()

Get the billingAccountAgreementType property: The type of agreement.

String billingAccountDisplayName()

Get the billingAccountDisplayName property: The name of the billing account.

String billingAccountId()

Get the billingAccountId property: The fully qualified ID that uniquely identifies a billing account.

String billingAccountSoldToCountry()

Get the billingAccountSoldToCountry property: The country of the individual or organization that is responsible for the billing account.

AccountStatus billingAccountStatus()

Get the billingAccountStatus property: The current status of the billing account.

BillingAccountStatusReasonCode billingAccountStatusReasonCode()

Get the billingAccountStatusReasonCode property: Reason for the specified billing account status.

AccountSubType billingAccountSubType()

Get the billingAccountSubType property: The tier of the account.

AccountType billingAccountType()

Get the billingAccountType property: The type of customer.

String billingCurrency()

Get the billingCurrency property: The billing currency for the subscription.

String billingProfileDisplayName()

Get the billingProfileDisplayName property: The name of the billing profile.

String billingProfileId()

Get the billingProfileId property: The fully qualified ID that uniquely identifies a billing profile.

PaymentMethodFamily billingProfilePaymentMethodFamily()

Get the billingProfilePaymentMethodFamily property: The payment method family of the primary payment method for the billing profile.

String billingProfilePaymentMethodType()

Get the billingProfilePaymentMethodType property: The payment method type of the primary payment method for the billing profile.

SpendingLimit billingProfileSpendingLimit()

Get the billingProfileSpendingLimit property: The billing profile spending limit.

List<SpendingLimitDetails> billingProfileSpendingLimitDetails()

Get the billingProfileSpendingLimitDetails property: The details of billing profile spending limit.

BillingProfileStatus billingProfileStatus()

Get the billingProfileStatus property: The status of the billing profile.

BillingProfileStatusReasonCode billingProfileStatusReasonCode()

Get the billingProfileStatusReasonCode property: Reason for the specified billing profile status.

String billingTenantId()

Get the billingTenantId property: The Azure AD tenant ID of the billing account for the subscription.

String costCenter()

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

String customerDisplayName()

Get the customerDisplayName property: The name of the customer.

String customerId()

Get the customerId property: The fully qualified ID that uniquely identifies a customer.

CustomerStatus customerStatus()

Get the customerStatus property: Identifies the status of an customer.

BillingPropertyPropertiesEnrollmentDetails enrollmentDetails()

Get the enrollmentDetails property: The enrollment details for the subscription.

static BillingPropertyProperties fromJson(JsonReader jsonReader)

Reads an instance of BillingPropertyProperties from the JsonReader.

String invoiceSectionDisplayName()

Get the invoiceSectionDisplayName property: The name of the invoice section.

String invoiceSectionId()

Get the invoiceSectionId property: The fully qualified ID that uniquely identifies an invoice section.

InvoiceSectionState invoiceSectionStatus()

Get the invoiceSectionStatus property: Identifies the status of an invoice section.

InvoiceSectionStateReasonCode invoiceSectionStatusReasonCode()

Get the invoiceSectionStatusReasonCode property: Reason for the specified invoice section status.

Boolean isAccountAdmin()

Get the isAccountAdmin property: Indicates whether user is the account admin.

Boolean isTransitionedBillingAccount()

Get the isTransitionedBillingAccount property: Specifies if the billing account for the subscription is transitioned from a Microsoft Online Service Program to a Microsoft Customer Agreement (MCA) account.

String productId()

Get the productId property: The ID that uniquely identifies a product.

String productName()

Get the productName property: The ID that uniquely identifies a product.

String skuDescription()

Get the skuDescription property: The sku description.

String skuId()

Get the skuId property: The ID that uniquely identifies a sku.

BillingSubscriptionStatus subscriptionBillingStatus()

Get the subscriptionBillingStatus property: The subscription status.

List<BillingSubscriptionStatusDetails> subscriptionBillingStatusDetails()

Get the subscriptionBillingStatusDetails property: The reason codes for the subscription status.

SubscriptionBillingType subscriptionBillingType()

Get the subscriptionBillingType property: The type of billing subscription.

BillingPropertyPropertiesSubscriptionServiceUsageAddress subscriptionServiceUsageAddress()

Get the subscriptionServiceUsageAddress property: The address of the individual or organization where service subscription is being used.

SubscriptionWorkloadType subscriptionWorkloadType()

Get the subscriptionWorkloadType property: The Azure workload type of the subscription.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BillingPropertyProperties withCostCenter(String costCenter)

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

BillingPropertyProperties withEnrollmentDetails(BillingPropertyPropertiesEnrollmentDetails enrollmentDetails)

Set the enrollmentDetails property: The enrollment details for the subscription.

BillingPropertyProperties withSubscriptionServiceUsageAddress(BillingPropertyPropertiesSubscriptionServiceUsageAddress subscriptionServiceUsageAddress)

Set the subscriptionServiceUsageAddress property: The address of the individual or organization where service subscription is being used.

Methods inherited from java.lang.Object

Constructor Details

BillingPropertyProperties

public BillingPropertyProperties()

Creates an instance of BillingPropertyProperties class.

Method Details

accountAdminNotificationEmailAddress

public String accountAdminNotificationEmailAddress()

Get the accountAdminNotificationEmailAddress property: Notification email address for legacy account. Available for agreement type Microsoft Online Services Program.

Returns:

the accountAdminNotificationEmailAddress value.

billingAccountAgreementType

public AgreementType billingAccountAgreementType()

Get the billingAccountAgreementType property: The type of agreement.

Returns:

the billingAccountAgreementType value.

billingAccountDisplayName

public String billingAccountDisplayName()

Get the billingAccountDisplayName property: The name of the billing account.

Returns:

the billingAccountDisplayName value.

billingAccountId

public String billingAccountId()

Get the billingAccountId property: The fully qualified ID that uniquely identifies a billing account.

Returns:

the billingAccountId value.

billingAccountSoldToCountry

public String billingAccountSoldToCountry()

Get the billingAccountSoldToCountry property: The country of the individual or organization that is responsible for the billing account.

Returns:

the billingAccountSoldToCountry value.

billingAccountStatus

public AccountStatus billingAccountStatus()

Get the billingAccountStatus property: The current status of the billing account.

Returns:

the billingAccountStatus value.

billingAccountStatusReasonCode

public BillingAccountStatusReasonCode billingAccountStatusReasonCode()

Get the billingAccountStatusReasonCode property: Reason for the specified billing account status.

Returns:

the billingAccountStatusReasonCode value.

billingAccountSubType

public AccountSubType billingAccountSubType()

Get the billingAccountSubType property: The tier of the account.

Returns:

the billingAccountSubType value.

billingAccountType

public AccountType billingAccountType()

Get the billingAccountType property: The type of customer.

Returns:

the billingAccountType value.

billingCurrency

public String billingCurrency()

Get the billingCurrency property: The billing currency for the subscription. Available for billing accounts with agreement type Enterprise Agreement.

Returns:

the billingCurrency value.

billingProfileDisplayName

public String billingProfileDisplayName()

Get the billingProfileDisplayName property: The name of the billing profile.

Returns:

the billingProfileDisplayName value.

billingProfileId

public String billingProfileId()

Get the billingProfileId property: The fully qualified ID that uniquely identifies a billing profile.

Returns:

the billingProfileId value.

billingProfilePaymentMethodFamily

public PaymentMethodFamily billingProfilePaymentMethodFamily()

Get the billingProfilePaymentMethodFamily property: The payment method family of the primary payment method for the billing profile.

Returns:

the billingProfilePaymentMethodFamily value.

billingProfilePaymentMethodType

public String billingProfilePaymentMethodType()

Get the billingProfilePaymentMethodType property: The payment method type of the primary payment method for the billing profile.

Returns:

the billingProfilePaymentMethodType value.

billingProfileSpendingLimit

public SpendingLimit billingProfileSpendingLimit()

Get the billingProfileSpendingLimit property: The billing profile spending limit.

Returns:

the billingProfileSpendingLimit value.

billingProfileSpendingLimitDetails

public List<SpendingLimitDetails> billingProfileSpendingLimitDetails()

Get the billingProfileSpendingLimitDetails property: The details of billing profile spending limit.

Returns:

the billingProfileSpendingLimitDetails value.

billingProfileStatus

public BillingProfileStatus billingProfileStatus()

Get the billingProfileStatus property: The status of the billing profile.

Returns:

the billingProfileStatus value.

billingProfileStatusReasonCode

public BillingProfileStatusReasonCode billingProfileStatusReasonCode()

Get the billingProfileStatusReasonCode property: Reason for the specified billing profile status.

Returns:

the billingProfileStatusReasonCode value.

billingTenantId

public String billingTenantId()

Get the billingTenantId property: The Azure AD tenant ID of the billing account for the subscription.

Returns:

the billingTenantId value.

costCenter

public String costCenter()

Get the costCenter property: The cost center applied to the subscription. Available for agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. This property can be updated via patch.

Returns:

the costCenter value.

customerDisplayName

public String customerDisplayName()

Get the customerDisplayName property: The name of the customer.

Returns:

the customerDisplayName value.

customerId

public String customerId()

Get the customerId property: The fully qualified ID that uniquely identifies a customer.

Returns:

the customerId value.

customerStatus

public CustomerStatus customerStatus()

Get the customerStatus property: Identifies the status of an customer. This is an upcoming property that will be populated in the future.

Returns:

the customerStatus value.

enrollmentDetails

public BillingPropertyPropertiesEnrollmentDetails enrollmentDetails()

Get the enrollmentDetails property: The enrollment details for the subscription. Available for billing accounts with agreement type Enterprise Agreement.

Returns:

the enrollmentDetails value.

fromJson

public static BillingPropertyProperties fromJson(JsonReader jsonReader)

Reads an instance of BillingPropertyProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BillingPropertyProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BillingPropertyProperties.

invoiceSectionDisplayName

public String invoiceSectionDisplayName()

Get the invoiceSectionDisplayName property: The name of the invoice section.

Returns:

the invoiceSectionDisplayName value.

invoiceSectionId

public String invoiceSectionId()

Get the invoiceSectionId property: The fully qualified ID that uniquely identifies an invoice section.

Returns:

the invoiceSectionId value.

invoiceSectionStatus

public InvoiceSectionState invoiceSectionStatus()

Get the invoiceSectionStatus property: Identifies the status of an invoice section.

Returns:

the invoiceSectionStatus value.

invoiceSectionStatusReasonCode

public InvoiceSectionStateReasonCode invoiceSectionStatusReasonCode()

Get the invoiceSectionStatusReasonCode property: Reason for the specified invoice section status.

Returns:

the invoiceSectionStatusReasonCode value.

isAccountAdmin

public Boolean isAccountAdmin()

Get the isAccountAdmin property: Indicates whether user is the account admin.

Returns:

the isAccountAdmin value.

isTransitionedBillingAccount

public Boolean isTransitionedBillingAccount()

Get the isTransitionedBillingAccount property: Specifies if the billing account for the subscription is transitioned from a Microsoft Online Service Program to a Microsoft Customer Agreement (MCA) account. Will be present and value will be true if its a transitioned billing account.

Returns:

the isTransitionedBillingAccount value.

productId

public String productId()

Get the productId property: The ID that uniquely identifies a product.

Returns:

the productId value.

productName

public String productName()

Get the productName property: The ID that uniquely identifies a product.

Returns:

the productName value.

skuDescription

public String skuDescription()

Get the skuDescription property: The sku description.

Returns:

the skuDescription value.

skuId

public String skuId()

Get the skuId property: The ID that uniquely identifies a sku.

Returns:

the skuId value.

subscriptionBillingStatus

public BillingSubscriptionStatus subscriptionBillingStatus()

Get the subscriptionBillingStatus property: The subscription status.

Returns:

the subscriptionBillingStatus value.

subscriptionBillingStatusDetails

public List<BillingSubscriptionStatusDetails> subscriptionBillingStatusDetails()

Get the subscriptionBillingStatusDetails property: The reason codes for the subscription status.

Returns:

the subscriptionBillingStatusDetails value.

subscriptionBillingType

public SubscriptionBillingType subscriptionBillingType()

Get the subscriptionBillingType property: The type of billing subscription.

Returns:

the subscriptionBillingType value.

subscriptionServiceUsageAddress

public BillingPropertyPropertiesSubscriptionServiceUsageAddress subscriptionServiceUsageAddress()

Get the subscriptionServiceUsageAddress property: The address of the individual or organization where service subscription is being used. Available for agreement type Microsoft Online Services Program. This property can be updated via patch.

Returns:

the subscriptionServiceUsageAddress value.

subscriptionWorkloadType

public SubscriptionWorkloadType subscriptionWorkloadType()

Get the subscriptionWorkloadType property: The Azure workload type of the subscription.

Returns:

the subscriptionWorkloadType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCostCenter

public BillingPropertyProperties withCostCenter(String costCenter)

Set the costCenter property: The cost center applied to the subscription. Available for agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. This property can be updated via patch.

Parameters:

costCenter - the costCenter value to set.

Returns:

the BillingPropertyProperties object itself.

withEnrollmentDetails

public BillingPropertyProperties withEnrollmentDetails(BillingPropertyPropertiesEnrollmentDetails enrollmentDetails)

Set the enrollmentDetails property: The enrollment details for the subscription. Available for billing accounts with agreement type Enterprise Agreement.

Parameters:

enrollmentDetails - the enrollmentDetails value to set.

Returns:

the BillingPropertyProperties object itself.

withSubscriptionServiceUsageAddress

public BillingPropertyProperties withSubscriptionServiceUsageAddress(BillingPropertyPropertiesSubscriptionServiceUsageAddress subscriptionServiceUsageAddress)

Set the subscriptionServiceUsageAddress property: The address of the individual or organization where service subscription is being used. Available for agreement type Microsoft Online Services Program. This property can be updated via patch.

Parameters:

subscriptionServiceUsageAddress - the subscriptionServiceUsageAddress value to set.

Returns:

the BillingPropertyProperties object itself.

Applies to