BillingProfileProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. BillingProfileProperties
- com.
Implements
public final class BillingProfileProperties
implements JsonSerializable<BillingProfileProperties>
A billing profile.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingProfileProperties() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Billing |
billingRelationshipType()
Get the billing |
|
Billing |
billTo()
Get the bill |
| String |
currency()
Get the currency property: The currency in which the charges for the billing profile are billed. |
|
Billing |
currentPaymentTerm()
Get the current |
| String |
displayName()
Get the display |
|
List<Azure |
enabledAzurePlans()
Get the enabled |
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
| Boolean |
hasReadAccess()
Get the has |
|
Billing |
indirectRelationshipInfo()
Get the indirect |
| Integer |
invoiceDay()
Get the invoice |
| Boolean |
invoiceEmailOptIn()
Get the invoice |
| List<String> |
invoiceRecipients()
Get the invoice |
|
List<Payment |
otherPaymentTerms()
Get the other |
| String |
poNumber()
Get the po |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Billing |
shipTo()
Get the ship |
|
Billing |
soldTo()
Get the sold |
|
Spending |
spendingLimit()
Get the spending |
|
List<Spending |
spendingLimitDetails()
Get the spending |
|
Billing |
status()
Get the status property: The status of the billing profile. |
|
Billing |
statusReasonCode()
Get the status |
| String |
systemId()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Dictionary of metadata associated with the resource. |
| List<String> |
targetClouds()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Billing |
withBillTo(BillingProfilePropertiesBillTo billTo)
Set the bill |
|
Billing |
withCurrentPaymentTerm(BillingProfilePropertiesCurrentPaymentTerm currentPaymentTerm)
Set the current |
|
Billing |
withDisplayName(String displayName)
Set the display |
|
Billing |
withEnabledAzurePlans(List<AzurePlan> enabledAzurePlans)
Set the enabled |
|
Billing |
withIndirectRelationshipInfo(BillingProfilePropertiesIndirectRelationshipInfo indirectRelationshipInfo)
Set the indirect |
|
Billing |
withInvoiceEmailOptIn(Boolean invoiceEmailOptIn)
Set the invoice |
|
Billing |
withInvoiceRecipients(List<String> invoiceRecipients)
Set the invoice |
|
Billing |
withPoNumber(String poNumber)
Set the po |
|
Billing |
withShipTo(BillingProfilePropertiesShipTo shipTo)
Set the ship |
|
Billing |
withSoldTo(BillingProfilePropertiesSoldTo soldTo)
Set the sold |
|
Billing |
withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. |
Methods inherited from java.lang.Object
Constructor Details
BillingProfileProperties
public BillingProfileProperties()
Creates an instance of BillingProfileProperties class.
Method Details
billingRelationshipType
public BillingRelationshipType billingRelationshipType()
Get the billingRelationshipType property: Identifies the billing relationship represented by the billing profile. The billing relationship may be between Microsoft, the customer, and/or a third-party.
Returns:
billTo
public BillingProfilePropertiesBillTo billTo()
Get the billTo property: Billing address.
Returns:
currency
public String currency()
Get the currency property: The currency in which the charges for the billing profile are billed.
Returns:
currentPaymentTerm
public BillingProfilePropertiesCurrentPaymentTerm currentPaymentTerm()
Get the currentPaymentTerm property: The current payment term of the billing profile.
Returns:
displayName
public String displayName()
Get the displayName property: The name of the billing profile.
Returns:
enabledAzurePlans
public List<AzurePlan> enabledAzurePlans()
Get the enabledAzurePlans property: Information about the enabled azure plans.
Returns:
fromJson
public static BillingProfileProperties fromJson(JsonReader jsonReader)
Reads an instance of BillingProfileProperties from the JsonReader.
Parameters:
Returns:
Throws:
hasReadAccess
public Boolean hasReadAccess()
Get the hasReadAccess property: Indicates whether user has read access to the billing profile.
Returns:
indirectRelationshipInfo
public BillingProfilePropertiesIndirectRelationshipInfo indirectRelationshipInfo()
Get the indirectRelationshipInfo property: Identifies the billing profile that is linked to another billing profile in indirect purchase motion.
Returns:
invoiceDay
public Integer invoiceDay()
Get the invoiceDay property: The day of the month when the invoice for the billing profile is generated.
Returns:
invoiceEmailOptIn
public Boolean invoiceEmailOptIn()
Get the invoiceEmailOptIn property: Flag controlling whether the invoices for the billing profile are sent through email.
Returns:
invoiceRecipients
public List<String> invoiceRecipients()
Get the invoiceRecipients property: The list of email addresses to receive invoices by email for the billing profile.
Returns:
otherPaymentTerms
public List<PaymentTerm> otherPaymentTerms()
Get the otherPaymentTerms property: The other payment terms of the billing profile.
Returns:
poNumber
public String poNumber()
Get the poNumber property: The default purchase order number that will appear on the invoices generated for the billing profile.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource during a long-running operation.
Returns:
shipTo
public BillingProfilePropertiesShipTo shipTo()
Get the shipTo property: The default address where the products are shipped, or the services are being used. If a ship to is not specified for a product or a subscription, then this address will be used.
Returns:
soldTo
public BillingProfilePropertiesSoldTo soldTo()
Get the soldTo property: The address of the individual or organization that is responsible for the billing account.
Returns:
spendingLimit
public SpendingLimit spendingLimit()
Get the spendingLimit property: The billing profile spending limit.
Returns:
spendingLimitDetails
public List<SpendingLimitDetails> spendingLimitDetails()
Get the spendingLimitDetails property: The details of billing profile spending limit.
Returns:
status
public BillingProfileStatus status()
Get the status property: The status of the billing profile.
Returns:
statusReasonCode
public BillingProfileStatusReasonCode statusReasonCode()
Get the statusReasonCode property: Reason for the specified billing profile status.
Returns:
systemId
public String systemId()
Get the systemId property: The system generated unique identifier for a billing profile.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.
Returns:
targetClouds
public List<String> targetClouds()
Get the targetClouds property: Identifies the cloud environments that are associated with a billing profile. This is a system managed optional field and gets updated as the billing profile gets associated with accounts in various clouds.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBillTo
public BillingProfileProperties withBillTo(BillingProfilePropertiesBillTo billTo)
Set the billTo property: Billing address.
Parameters:
Returns:
withCurrentPaymentTerm
public BillingProfileProperties withCurrentPaymentTerm(BillingProfilePropertiesCurrentPaymentTerm currentPaymentTerm)
Set the currentPaymentTerm property: The current payment term of the billing profile.
Parameters:
Returns:
withDisplayName
public BillingProfileProperties withDisplayName(String displayName)
Set the displayName property: The name of the billing profile.
Parameters:
Returns:
withEnabledAzurePlans
public BillingProfileProperties withEnabledAzurePlans(List<AzurePlan> enabledAzurePlans)
Set the enabledAzurePlans property: Information about the enabled azure plans.
Parameters:
Returns:
withIndirectRelationshipInfo
public BillingProfileProperties withIndirectRelationshipInfo(BillingProfilePropertiesIndirectRelationshipInfo indirectRelationshipInfo)
Set the indirectRelationshipInfo property: Identifies the billing profile that is linked to another billing profile in indirect purchase motion.
Parameters:
Returns:
withInvoiceEmailOptIn
public BillingProfileProperties withInvoiceEmailOptIn(Boolean invoiceEmailOptIn)
Set the invoiceEmailOptIn property: Flag controlling whether the invoices for the billing profile are sent through email.
Parameters:
Returns:
withInvoiceRecipients
public BillingProfileProperties withInvoiceRecipients(List<String> invoiceRecipients)
Set the invoiceRecipients property: The list of email addresses to receive invoices by email for the billing profile.
Parameters:
Returns:
withPoNumber
public BillingProfileProperties withPoNumber(String poNumber)
Set the poNumber property: The default purchase order number that will appear on the invoices generated for the billing profile.
Parameters:
Returns:
withShipTo
public BillingProfileProperties withShipTo(BillingProfilePropertiesShipTo shipTo)
Set the shipTo property: The default address where the products are shipped, or the services are being used. If a ship to is not specified for a product or a subscription, then this address will be used.
Parameters:
Returns:
withSoldTo
public BillingProfileProperties withSoldTo(BillingProfilePropertiesSoldTo soldTo)
Set the soldTo property: The address of the individual or organization that is responsible for the billing account.
Parameters:
Returns:
withTags
public BillingProfileProperties withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.
Parameters:
Returns: