AgreementProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. AgreementProperties
- com.
Implements
public final class AgreementProperties
implements JsonSerializable<AgreementProperties>
An agreement.
Constructor Summary
| Constructor | Description |
|---|---|
| AgreementProperties() |
Creates an instance of Agreement |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Acceptance |
acceptanceMode()
Get the acceptance |
| String |
agreementLink()
Get the agreement |
|
List<Billing |
billingProfileInfo()
Get the billing |
| Category |
category()
Get the category property: The category of the agreement. |
| String |
displayName()
Get the display |
|
Offset |
effectiveDate()
Get the effective |
|
Offset |
expirationDate()
Get the expiration |
|
static
Agreement |
fromJson(JsonReader jsonReader)
Reads an instance of Agreement |
| String |
leadBillingAccountName()
Get the lead |
| List<Participant> |
participants()
Get the participants property: The list of participants that participates in acceptance of an agreement. |
| String |
status()
Get the status property: The current status of the agreement. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
AgreementProperties
public AgreementProperties()
Creates an instance of AgreementProperties class.
Method Details
acceptanceMode
public AcceptanceMode acceptanceMode()
Get the acceptanceMode property: The mode of acceptance for an agreement.
Returns:
agreementLink
public String agreementLink()
Get the agreementLink property: The URL to download the agreement.
Returns:
billingProfileInfo
public List<BillingProfileInfo> billingProfileInfo()
Get the billingProfileInfo property: The list of billing profiles associated with agreement and present only for specific agreements.
Returns:
category
public Category category()
Get the category property: The category of the agreement.
Returns:
displayName
public String displayName()
Get the displayName property: The name of the agreement signed by a customer.
Returns:
effectiveDate
public OffsetDateTime effectiveDate()
Get the effectiveDate property: The date from which the agreement is effective.
Returns:
expirationDate
public OffsetDateTime expirationDate()
Get the expirationDate property: The date when the agreement expires.
Returns:
fromJson
public static AgreementProperties fromJson(JsonReader jsonReader)
Reads an instance of AgreementProperties from the JsonReader.
Parameters:
Returns:
Throws:
leadBillingAccountName
public String leadBillingAccountName()
Get the leadBillingAccountName property: The ID of the lead billing account if this agreement is part of the Customer Affiliate Purchase Terms.
Returns:
participants
public List<Participant> participants()
Get the participants property: The list of participants that participates in acceptance of an agreement.
Returns:
status
public String status()
Get the status property: The current status of the agreement.
Returns:
toJson
validate
public void validate()
Validates the instance.