RenewalTermDetails Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. RenewalTermDetails
- com.
Implements
public final class RenewalTermDetails
implements JsonSerializable<RenewalTermDetails>
Details for the next renewal term of a subscription.
Constructor Summary
| Constructor | Description |
|---|---|
| RenewalTermDetails() |
Creates an instance of Renewal |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
billingFrequency()
Get the billing |
|
static
Renewal |
fromJson(JsonReader jsonReader)
Reads an instance of Renewal |
| String |
productId()
Get the product |
| String |
productTypeId()
Get the product |
| Long |
quantity()
Get the quantity property: The quantity of licenses or fulfillment units for the subscription. |
| String |
skuId()
Get the sku |
| String |
termDuration()
Get the term |
|
Offset |
termEndDate()
Get the term |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Renewal |
withQuantity(Long quantity)
Set the quantity property: The quantity of licenses or fulfillment units for the subscription. |
Methods inherited from java.lang.Object
Constructor Details
RenewalTermDetails
public RenewalTermDetails()
Creates an instance of RenewalTermDetails class.
Method Details
billingFrequency
public String billingFrequency()
Get the billingFrequency property: The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y.
Returns:
fromJson
public static RenewalTermDetails fromJson(JsonReader jsonReader)
Reads an instance of RenewalTermDetails from the JsonReader.
Parameters:
Returns:
Throws:
productId
public String productId()
Get the productId property: Id of the product for which the subscription is purchased.
Returns:
productTypeId
public String productTypeId()
Get the productTypeId property: Type Id of the product for which the subscription is purchased.
Returns:
quantity
public Long quantity()
Get the quantity property: The quantity of licenses or fulfillment units for the subscription.
Returns:
skuId
public String skuId()
Get the skuId property: The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts.
Returns:
termDuration
public String termDuration()
Get the termDuration property: The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y.
Returns:
termEndDate
public OffsetDateTime termEndDate()
Get the termEndDate property: End date of the term in UTC time.
Returns:
toJson
validate
public void validate()
Validates the instance.
withQuantity
public RenewalTermDetails withQuantity(Long quantity)
Set the quantity property: The quantity of licenses or fulfillment units for the subscription.
Parameters:
Returns: