BillingAccountProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. BillingAccountProperties
- com.
Implements
public final class BillingAccountProperties
implements JsonSerializable<BillingAccountProperties>
A billing account.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingAccountProperties() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Account |
accountStatus()
Get the account |
|
Billing |
accountStatusReasonCode()
Get the account |
|
Account |
accountSubType()
Get the account |
|
Account |
accountType()
Get the account |
|
Agreement |
agreementType()
Get the agreement |
|
List<Billing |
billingRelationshipTypes()
Get the billing |
| String |
displayName()
Get the display |
|
Billing |
enrollmentDetails()
Get the enrollment |
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
| Boolean |
hasNoBillingProfiles()
Get the has |
| Boolean |
hasReadAccess()
Get the has |
| String |
notificationEmailAddress()
Get the notification |
| String |
primaryBillingTenantId()
Get the primary |
|
Provisioning |
provisioningState()
Get the provisioning |
| List<String> |
qualifications()
Get the qualifications property: Qualifications for pricing on a billing account. |
|
Billing |
registrationNumber()
Get the registration |
|
Billing |
soldTo()
Get the sold |
|
List<Tax |
taxIds()
Get the tax |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Billing |
withDisplayName(String displayName)
Set the display |
|
Billing |
withEnrollmentDetails(BillingAccountPropertiesEnrollmentDetails enrollmentDetails)
Set the enrollment |
|
Billing |
withHasNoBillingProfiles(Boolean hasNoBillingProfiles)
Set the has |
|
Billing |
withHasReadAccess(Boolean hasReadAccess)
Set the has |
|
Billing |
withNotificationEmailAddress(String notificationEmailAddress)
Set the notification |
|
Billing |
withPrimaryBillingTenantId(String primaryBillingTenantId)
Set the primary |
|
Billing |
withRegistrationNumber(BillingAccountPropertiesRegistrationNumber registrationNumber)
Set the registration |
|
Billing |
withSoldTo(BillingAccountPropertiesSoldTo soldTo)
Set the sold |
|
Billing |
withTaxIds(List<TaxIdentifier> taxIds)
Set the tax |
Methods inherited from java.lang.Object
Constructor Details
BillingAccountProperties
public BillingAccountProperties()
Creates an instance of BillingAccountProperties class.
Method Details
accountStatus
public AccountStatus accountStatus()
Get the accountStatus property: The current status of the billing account.
Returns:
accountStatusReasonCode
public BillingAccountStatusReasonCode accountStatusReasonCode()
Get the accountStatusReasonCode property: Reason for the specified billing account status.
Returns:
accountSubType
public AccountSubType accountSubType()
Get the accountSubType property: The tier of the account.
Returns:
accountType
public AccountType accountType()
Get the accountType property: The type of customer.
Returns:
agreementType
public AgreementType agreementType()
Get the agreementType property: The type of agreement.
Returns:
billingRelationshipTypes
public List<BillingRelationshipType> billingRelationshipTypes()
Get the billingRelationshipTypes property: Identifies the billing relationships represented by a billing account. The billing relationship may be between Microsoft, the customer, and/or a third-party.
Returns:
displayName
public String displayName()
Get the displayName property: The billing account name.
Returns:
enrollmentDetails
public BillingAccountPropertiesEnrollmentDetails enrollmentDetails()
Get the enrollmentDetails property: The properties of an enrollment.
Returns:
fromJson
public static BillingAccountProperties fromJson(JsonReader jsonReader)
Reads an instance of BillingAccountProperties from the JsonReader.
Parameters:
Returns:
Throws:
hasNoBillingProfiles
public Boolean hasNoBillingProfiles()
Get the hasNoBillingProfiles property: Indicates whether or not the billing account has any billing profiles.
Returns:
hasReadAccess
public Boolean hasReadAccess()
Get the hasReadAccess property: Indicates whether user has read access to the billing account.
Returns:
notificationEmailAddress
public String notificationEmailAddress()
Get the notificationEmailAddress property: Notification email address for legacy account. Available for agreement type Microsoft Online Services Program.
Returns:
primaryBillingTenantId
public String primaryBillingTenantId()
Get the primaryBillingTenantId property: The tenant that was used to set up the billing account. By default, only users from this tenant can get role assignments on the billing account and all purchases are provisioned in this tenant.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource during a long-running operation.
Returns:
qualifications
public List<String> qualifications()
Get the qualifications property: Qualifications for pricing on a billing account. Values may be Commercial, Education, Charity or Government.
Returns:
registrationNumber
public BillingAccountPropertiesRegistrationNumber registrationNumber()
Get the registrationNumber property: Describes the registration number of the organization linked with the billing account.
Returns:
soldTo
public BillingAccountPropertiesSoldTo soldTo()
Get the soldTo property: The address of the individual or organization that is responsible for the billing account.
Returns:
taxIds
public List<TaxIdentifier> taxIds()
Get the taxIds property: A list of tax identifiers for the billing account.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplayName
public BillingAccountProperties withDisplayName(String displayName)
Set the displayName property: The billing account name.
Parameters:
Returns:
withEnrollmentDetails
public BillingAccountProperties withEnrollmentDetails(BillingAccountPropertiesEnrollmentDetails enrollmentDetails)
Set the enrollmentDetails property: The properties of an enrollment.
Parameters:
Returns:
withHasNoBillingProfiles
public BillingAccountProperties withHasNoBillingProfiles(Boolean hasNoBillingProfiles)
Set the hasNoBillingProfiles property: Indicates whether or not the billing account has any billing profiles.
Parameters:
Returns:
withHasReadAccess
public BillingAccountProperties withHasReadAccess(Boolean hasReadAccess)
Set the hasReadAccess property: Indicates whether user has read access to the billing account.
Parameters:
Returns:
withNotificationEmailAddress
public BillingAccountProperties withNotificationEmailAddress(String notificationEmailAddress)
Set the notificationEmailAddress property: Notification email address for legacy account. Available for agreement type Microsoft Online Services Program.
Parameters:
Returns:
withPrimaryBillingTenantId
public BillingAccountProperties withPrimaryBillingTenantId(String primaryBillingTenantId)
Set the primaryBillingTenantId property: The tenant that was used to set up the billing account. By default, only users from this tenant can get role assignments on the billing account and all purchases are provisioned in this tenant.
Parameters:
Returns:
withRegistrationNumber
public BillingAccountProperties withRegistrationNumber(BillingAccountPropertiesRegistrationNumber registrationNumber)
Set the registrationNumber property: Describes the registration number of the organization linked with the billing account.
Parameters:
Returns:
withSoldTo
public BillingAccountProperties withSoldTo(BillingAccountPropertiesSoldTo soldTo)
Set the soldTo property: The address of the individual or organization that is responsible for the billing account.
Parameters:
Returns:
withTaxIds
public BillingAccountProperties withTaxIds(List<TaxIdentifier> taxIds)
Set the taxIds property: A list of tax identifiers for the billing account.
Parameters:
Returns: