PaymentTermsEligibilityDetail Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. PaymentTermsEligibilityDetail
- com.
Implements
public final class PaymentTermsEligibilityDetail
implements JsonSerializable<PaymentTermsEligibilityDetail>
Details of the payment terms eligibility.
Constructor Summary
| Constructor | Description |
|---|---|
| PaymentTermsEligibilityDetail() |
Creates an instance of Payment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Payment |
code()
Get the code property: Indicates the reason for the ineligibility of the payment terms. |
|
static
Payment |
fromJson(JsonReader jsonReader)
Reads an instance of Payment |
| String |
message()
Get the message property: Indicates the message for the ineligibility of the payment terms. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Payment |
withCode(PaymentTermsEligibilityCode code)
Set the code property: Indicates the reason for the ineligibility of the payment terms. |
|
Payment |
withMessage(String message)
Set the message property: Indicates the message for the ineligibility of the payment terms. |
Methods inherited from java.lang.Object
Constructor Details
PaymentTermsEligibilityDetail
public PaymentTermsEligibilityDetail()
Creates an instance of PaymentTermsEligibilityDetail class.
Method Details
code
public PaymentTermsEligibilityCode code()
Get the code property: Indicates the reason for the ineligibility of the payment terms.
Returns:
fromJson
public static PaymentTermsEligibilityDetail fromJson(JsonReader jsonReader)
Reads an instance of PaymentTermsEligibilityDetail from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Indicates the message for the ineligibility of the payment terms.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCode
public PaymentTermsEligibilityDetail withCode(PaymentTermsEligibilityCode code)
Set the code property: Indicates the reason for the ineligibility of the payment terms.
Parameters:
Returns:
withMessage
public PaymentTermsEligibilityDetail withMessage(String message)
Set the message property: Indicates the message for the ineligibility of the payment terms.
Parameters:
Returns: