ProductProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. ProductProperties
- com.
Implements
public final class ProductProperties
implements JsonSerializable<ProductProperties>
A product.
Constructor Summary
| Constructor | Description |
|---|---|
| ProductProperties() |
Creates an instance of Product |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Auto |
autoRenew()
Get the auto |
| String |
availabilityId()
Get the availability |
| String |
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 |
| String |
endDate()
Get the end |
|
static
Product |
fromJson(JsonReader jsonReader)
Reads an instance of Product |
| String |
invoiceSectionDisplayName()
Get the invoice |
| String |
invoiceSectionId()
Get the invoice |
|
Product |
lastCharge()
Get the last |
| String |
lastChargeDate()
Get the last |
| String |
productType()
Get the product |
| String |
productTypeId()
Get the product |
| String |
purchaseDate()
Get the purchase |
| Long |
quantity()
Get the quantity property: The quantity purchased for the product. |
|
Product |
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 status of the product. |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Product |
withAutoRenew(AutoRenew autoRenew)
Set the auto |
|
Product |
withLastCharge(ProductPropertiesLastCharge lastCharge)
Set the last |
|
Product |
withReseller(ProductPropertiesReseller reseller)
Set the reseller property: Reseller for this product. |
Methods inherited from java.lang.Object
Constructor Details
ProductProperties
public ProductProperties()
Creates an instance of ProductProperties 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 String 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 String endDate()
Get the endDate property: The date when the product will be renewed or canceled.
Returns:
fromJson
public static ProductProperties fromJson(JsonReader jsonReader)
Reads an instance of ProductProperties from the JsonReader.
Parameters:
Returns:
Throws:
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 ProductPropertiesLastCharge lastCharge()
Get the lastCharge property: The last month charges.
Returns:
lastChargeDate
public String 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 String purchaseDate()
Get the purchaseDate property: The date when the product was purchased.
Returns:
quantity
public Long quantity()
Get the quantity property: The quantity purchased for the product.
Returns:
reseller
public ProductPropertiesReseller reseller()
Get the reseller property: Reseller for this product. The fields is not available for Microsoft Partner Agreement products.
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 ProductStatus status()
Get the status property: The 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:
toJson
validate
public void validate()
Validates the instance.
withAutoRenew
public ProductProperties withAutoRenew(AutoRenew autoRenew)
Set the autoRenew property: Indicates whether auto renewal is turned on or off for a product.
Parameters:
Returns:
withLastCharge
public ProductProperties withLastCharge(ProductPropertiesLastCharge lastCharge)
Set the lastCharge property: The last month charges.
Parameters:
Returns:
withReseller
public ProductProperties withReseller(ProductPropertiesReseller reseller)
Set the reseller property: Reseller for this product. The fields is not available for Microsoft Partner Agreement products.
Parameters:
Returns: