AvailableBalanceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. AvailableBalanceProperties
- com.
Implements
public final class AvailableBalanceProperties
implements JsonSerializable<AvailableBalanceProperties>
The Available Credit or Payment on Account Balance. The credit balance can be used to settle due or past due invoices.
Constructor Summary
| Constructor | Description |
|---|---|
| AvailableBalanceProperties() |
Creates an instance of Available |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Available |
amount()
Get the amount property: Credit amount for immediate payment. |
|
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
|
List<Payment |
paymentsOnAccount()
Get the payments |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Available |
totalPaymentsOnAccount()
Get the total |
| void |
validate()
Validates the instance. |
|
Available |
withAmount(AvailableBalancePropertiesAmount amount)
Set the amount property: Credit amount for immediate payment. |
|
Available |
withTotalPaymentsOnAccount(AvailableBalancePropertiesTotalPaymentsOnAccount totalPaymentsOnAccount)
Set the total |
Methods inherited from java.lang.Object
Constructor Details
AvailableBalanceProperties
public AvailableBalanceProperties()
Creates an instance of AvailableBalanceProperties class.
Method Details
amount
public AvailableBalancePropertiesAmount amount()
Get the amount property: Credit amount for immediate payment.
Returns:
fromJson
public static AvailableBalanceProperties fromJson(JsonReader jsonReader)
Reads an instance of AvailableBalanceProperties from the JsonReader.
Parameters:
Returns:
Throws:
paymentsOnAccount
public List<PaymentOnAccount> paymentsOnAccount()
Get the paymentsOnAccount property: The list of payments on accounts.
Returns:
toJson
totalPaymentsOnAccount
public AvailableBalancePropertiesTotalPaymentsOnAccount totalPaymentsOnAccount()
Get the totalPaymentsOnAccount property: Total amount of payments on accounts.
Returns:
validate
public void validate()
Validates the instance.
withAmount
public AvailableBalanceProperties withAmount(AvailableBalancePropertiesAmount amount)
Set the amount property: Credit amount for immediate payment.
Parameters:
Returns:
withTotalPaymentsOnAccount
public AvailableBalanceProperties withTotalPaymentsOnAccount(AvailableBalancePropertiesTotalPaymentsOnAccount totalPaymentsOnAccount)
Set the totalPaymentsOnAccount property: Total amount of payments on accounts.
Parameters:
Returns: