ProductInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. billing. fluent. models. ProductInner
- com.
- com.
public final class ProductInner
extends ProxyResource
A product.
Constructor Summary
Constructor | Description |
---|---|
ProductInner() |
Creates an instance of Product |
Method Summary
Modifier and Type | Method and Description |
---|---|
Auto |
autoRenew()
Get the auto |
String |
availabilityId()
Get the availability |
Billing |
billingFrequency()
Get the billing |
String |
billingProfileDisplayName()
Get the billing |
String |
billingProfileId()
Get the billing |
String |
customerDisplayName()
Get the customer |
String |
customerId()
Get the customer |
String |
displayName()
Get the display |
Offset |
endDate()
Get the end |
String |
invoiceSectionDisplayName()
Get the invoice |
String |
invoiceSectionId()
Get the invoice |
Amount |
lastCharge()
Get the last |
Offset |
lastChargeDate()
Get the last |
String |
productType()
Get the product |
String |
productTypeId()
Get the product |
Offset |
purchaseDate()
Get the purchase |
Float |
quantity()
Get the quantity property: The quantity purchased for the product. |
Reseller |
reseller()
Get the reseller property: Reseller for this product. |
String |
skuDescription()
Get the sku |
String |
skuId()
Get the sku |
Product |
status()
Get the status property: The current status of the product. |
String |
tenantId()
Get the tenant |
void |
validate()
Validates the instance. |
Product |
withAutoRenew(AutoRenew autoRenew)
Set the auto |
Product |
withBillingFrequency(BillingFrequency billingFrequency)
Set the billing |
Product |
withStatus(ProductStatusType status)
Set the status property: The current status of the product. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ProductInner
public ProductInner()
Creates an instance of ProductInner class.
Method Details
autoRenew
public AutoRenew autoRenew()
Get the autoRenew property: Indicates whether auto renewal is turned on or off for a product.
Returns:
availabilityId
public String availabilityId()
Get the availabilityId property: The availability of the product.
Returns:
billingFrequency
public BillingFrequency billingFrequency()
Get the billingFrequency property: The frequency at which the product will be billed.
Returns:
billingProfileDisplayName
public String billingProfileDisplayName()
Get the billingProfileDisplayName property: The name of the billing profile to which the product is billed.
Returns:
billingProfileId
public String billingProfileId()
Get the billingProfileId property: The ID of the billing profile to which the product is billed.
Returns:
customerDisplayName
public String customerDisplayName()
Get the customerDisplayName property: The name of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.
Returns:
customerId
public String customerId()
Get the customerId property: The ID of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the product.
Returns:
endDate
public OffsetDateTime endDate()
Get the endDate property: The date when the product will be renewed or canceled.
Returns:
invoiceSectionDisplayName
public String invoiceSectionDisplayName()
Get the invoiceSectionDisplayName property: The name of the invoice section to which the product is billed.
Returns:
invoiceSectionId
public String invoiceSectionId()
Get the invoiceSectionId property: The ID of the invoice section to which the product is billed.
Returns:
lastCharge
public Amount lastCharge()
Get the lastCharge property: The last month charges.
Returns:
lastChargeDate
public OffsetDateTime lastChargeDate()
Get the lastChargeDate property: The date of the last charge.
Returns:
productType
public String productType()
Get the productType property: The description of the type of product.
Returns:
productTypeId
public String productTypeId()
Get the productTypeId property: The ID of the type of product.
Returns:
purchaseDate
public OffsetDateTime purchaseDate()
Get the purchaseDate property: The date when the product was purchased.
Returns:
quantity
public Float quantity()
Get the quantity property: The quantity purchased for the product.
Returns:
reseller
public Reseller reseller()
Get the reseller property: Reseller for this product.
Returns:
skuDescription
public String skuDescription()
Get the skuDescription property: The sku description of the product.
Returns:
skuId
public String skuId()
Get the skuId property: The sku ID of the product.
Returns:
status
public ProductStatusType status()
Get the status property: The current status of the product.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The id of the tenant in which the product is used.
Returns:
validate
public void validate()
Validates the instance.
withAutoRenew
public ProductInner withAutoRenew(AutoRenew autoRenew)
Set the autoRenew property: Indicates whether auto renewal is turned on or off for a product.
Parameters:
Returns:
withBillingFrequency
public ProductInner withBillingFrequency(BillingFrequency billingFrequency)
Set the billingFrequency property: The frequency at which the product will be billed.
Parameters:
Returns:
withStatus
public ProductInner withStatus(ProductStatusType status)
Set the status property: The current status of the product.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for