SubscriptionTerm Class
- java.
lang. Object - com.
azure. resourcemanager. dashboard. models. SubscriptionTerm
- com.
Implements
public final class SubscriptionTerm
implements JsonSerializable<SubscriptionTerm>
The current billing term of the SaaS Subscription.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
endDate()
Get the end |
|
static
Subscription |
fromJson(JsonReader jsonReader)
Reads an instance of Subscription |
|
Offset |
startDate()
Get the start |
| String |
termUnit()
Get the term |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
endDate
public OffsetDateTime endDate()
Get the endDate property: The date and time in UTC of when the billing term ends.
Returns:
fromJson
public static SubscriptionTerm fromJson(JsonReader jsonReader)
Reads an instance of SubscriptionTerm from the JsonReader.
Parameters:
Returns:
Throws:
startDate
public OffsetDateTime startDate()
Get the startDate property: The date and time in UTC of when the billing term starts.
Returns:
termUnit
public String termUnit()
Get the termUnit property: The unit of the billing term.
Returns: