BillingPropertyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. BillingPropertyProperties
- com.
Implements
public final class BillingPropertyProperties
implements JsonSerializable<BillingPropertyProperties>
A billing property.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingPropertyProperties() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountAdminNotificationEmailAddress()
Get the account |
|
Agreement |
billingAccountAgreementType()
Get the billing |
| String |
billingAccountDisplayName()
Get the billing |
| String |
billingAccountId()
Get the billing |
| String |
billingAccountSoldToCountry()
Get the billing |
|
Account |
billingAccountStatus()
Get the billing |
|
Billing |
billingAccountStatusReasonCode()
Get the billing |
|
Account |
billingAccountSubType()
Get the billing |
|
Account |
billingAccountType()
Get the billing |
| String |
billingCurrency()
Get the billing |
| String |
billingProfileDisplayName()
Get the billing |
| String |
billingProfileId()
Get the billing |
|
Payment |
billingProfilePaymentMethodFamily()
Get the billing |
| String |
billingProfilePaymentMethodType()
Get the billing |
|
Spending |
billingProfileSpendingLimit()
Get the billing |
|
List<Spending |
billingProfileSpendingLimitDetails()
Get the billing |
|
Billing |
billingProfileStatus()
Get the billing |
|
Billing |
billingProfileStatusReasonCode()
Get the billing |
| String |
billingTenantId()
Get the billing |
| String |
costCenter()
Get the cost |
| String |
customerDisplayName()
Get the customer |
| String |
customerId()
Get the customer |
|
Customer |
customerStatus()
Get the customer |
|
Billing |
enrollmentDetails()
Get the enrollment |
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
| String |
invoiceSectionDisplayName()
Get the invoice |
| String |
invoiceSectionId()
Get the invoice |
|
Invoice |
invoiceSectionStatus()
Get the invoice |
|
Invoice |
invoiceSectionStatusReasonCode()
Get the invoice |
| Boolean |
isAccountAdmin()
Get the is |
| Boolean |
isTransitionedBillingAccount()
Get the is |
| String |
productId()
Get the product |
| String |
productName()
Get the product |
| String |
skuDescription()
Get the sku |
| String |
skuId()
Get the sku |
|
Billing |
subscriptionBillingStatus()
Get the subscription |
|
List<Billing |
subscriptionBillingStatusDetails()
Get the subscription |
|
Subscription |
subscriptionBillingType()
Get the subscription |
|
Billing |
subscriptionServiceUsageAddress()
Get the subscription |
|
Subscription |
subscriptionWorkloadType()
Get the subscription |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Billing |
withCostCenter(String costCenter)
Set the cost |
|
Billing |
withEnrollmentDetails(BillingPropertyPropertiesEnrollmentDetails enrollmentDetails)
Set the enrollment |
|
Billing |
withSubscriptionServiceUsageAddress(BillingPropertyPropertiesSubscriptionServiceUsageAddress subscriptionServiceUsageAddress)
Set the subscription |
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:
billingAccountAgreementType
public AgreementType billingAccountAgreementType()
Get the billingAccountAgreementType property: The type of agreement.
Returns:
billingAccountDisplayName
public String billingAccountDisplayName()
Get the billingAccountDisplayName property: The name of the billing account.
Returns:
billingAccountId
public String billingAccountId()
Get the billingAccountId property: The fully qualified ID that uniquely identifies a billing account.
Returns:
billingAccountSoldToCountry
public String billingAccountSoldToCountry()
Get the billingAccountSoldToCountry property: The country of the individual or organization that is responsible for the billing account.
Returns:
billingAccountStatus
public AccountStatus billingAccountStatus()
Get the billingAccountStatus property: The current status of the billing account.
Returns:
billingAccountStatusReasonCode
public BillingAccountStatusReasonCode billingAccountStatusReasonCode()
Get the billingAccountStatusReasonCode property: Reason for the specified billing account status.
Returns:
billingAccountSubType
public AccountSubType billingAccountSubType()
Get the billingAccountSubType property: The tier of the account.
Returns:
billingAccountType
public AccountType billingAccountType()
Get the billingAccountType property: The type of customer.
Returns:
billingCurrency
public String billingCurrency()
Get the billingCurrency property: The billing currency for the subscription. Available for billing accounts with agreement type Enterprise Agreement.
Returns:
billingProfileDisplayName
public String billingProfileDisplayName()
Get the billingProfileDisplayName property: The name of the billing profile.
Returns:
billingProfileId
public String billingProfileId()
Get the billingProfileId property: The fully qualified ID that uniquely identifies a billing profile.
Returns:
billingProfilePaymentMethodFamily
public PaymentMethodFamily billingProfilePaymentMethodFamily()
Get the billingProfilePaymentMethodFamily property: The payment method family of the primary payment method for the billing profile.
Returns:
billingProfilePaymentMethodType
public String billingProfilePaymentMethodType()
Get the billingProfilePaymentMethodType property: The payment method type of the primary payment method for the billing profile.
Returns:
billingProfileSpendingLimit
public SpendingLimit billingProfileSpendingLimit()
Get the billingProfileSpendingLimit property: The billing profile spending limit.
Returns:
billingProfileSpendingLimitDetails
public List<SpendingLimitDetails> billingProfileSpendingLimitDetails()
Get the billingProfileSpendingLimitDetails property: The details of billing profile spending limit.
Returns:
billingProfileStatus
public BillingProfileStatus billingProfileStatus()
Get the billingProfileStatus property: The status of the billing profile.
Returns:
billingProfileStatusReasonCode
public BillingProfileStatusReasonCode billingProfileStatusReasonCode()
Get the billingProfileStatusReasonCode property: Reason for the specified billing profile status.
Returns:
billingTenantId
public String billingTenantId()
Get the billingTenantId property: The Azure AD tenant ID of the billing account for the subscription.
Returns:
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:
customerDisplayName
public String customerDisplayName()
Get the customerDisplayName property: The name of the customer.
Returns:
customerId
public String customerId()
Get the customerId property: The fully qualified ID that uniquely identifies a customer.
Returns:
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:
enrollmentDetails
public BillingPropertyPropertiesEnrollmentDetails enrollmentDetails()
Get the enrollmentDetails property: The enrollment details for the subscription. Available for billing accounts with agreement type Enterprise Agreement.
Returns:
fromJson
public static BillingPropertyProperties fromJson(JsonReader jsonReader)
Reads an instance of BillingPropertyProperties from the JsonReader.
Parameters:
Returns:
Throws:
invoiceSectionDisplayName
public String invoiceSectionDisplayName()
Get the invoiceSectionDisplayName property: The name of the invoice section.
Returns:
invoiceSectionId
public String invoiceSectionId()
Get the invoiceSectionId property: The fully qualified ID that uniquely identifies an invoice section.
Returns:
invoiceSectionStatus
public InvoiceSectionState invoiceSectionStatus()
Get the invoiceSectionStatus property: Identifies the status of an invoice section.
Returns:
invoiceSectionStatusReasonCode
public InvoiceSectionStateReasonCode invoiceSectionStatusReasonCode()
Get the invoiceSectionStatusReasonCode property: Reason for the specified invoice section status.
Returns:
isAccountAdmin
public Boolean isAccountAdmin()
Get the isAccountAdmin property: Indicates whether user is the account admin.
Returns:
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:
productId
public String productId()
Get the productId property: The ID that uniquely identifies a product.
Returns:
productName
public String productName()
Get the productName property: The ID that uniquely identifies a product.
Returns:
skuDescription
public String skuDescription()
Get the skuDescription property: The sku description.
Returns:
skuId
public String skuId()
Get the skuId property: The ID that uniquely identifies a sku.
Returns:
subscriptionBillingStatus
public BillingSubscriptionStatus subscriptionBillingStatus()
Get the subscriptionBillingStatus property: The subscription status.
Returns:
subscriptionBillingStatusDetails
public List<BillingSubscriptionStatusDetails> subscriptionBillingStatusDetails()
Get the subscriptionBillingStatusDetails property: The reason codes for the subscription status.
Returns:
subscriptionBillingType
public SubscriptionBillingType subscriptionBillingType()
Get the subscriptionBillingType property: The type of billing subscription.
Returns:
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:
subscriptionWorkloadType
public SubscriptionWorkloadType subscriptionWorkloadType()
Get the subscriptionWorkloadType property: The Azure workload type of the subscription.
Returns:
toJson
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:
Returns:
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:
Returns:
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:
Returns: