PaymentOnAccount Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. PaymentOnAccount
- com.
Implements
public final class PaymentOnAccount
implements JsonSerializable<PaymentOnAccount>
A Payment on Account.
Constructor Summary
| Constructor | Description |
|---|---|
| PaymentOnAccount() |
Creates an instance of Payment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Payment |
amount()
Get the amount property: Payment on Account amount. |
| String |
billingProfileDisplayName()
Get the billing |
| String |
billingProfileId()
Get the billing |
|
Offset |
date()
Get the date property: The date of the payments on account. |
|
static
Payment |
fromJson(JsonReader jsonReader)
Reads an instance of Payment |
| String |
invoiceId()
Get the invoice |
| String |
invoiceName()
Get the invoice |
|
Payment |
paymentMethodType()
Get the payment |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Payment |
withAmount(PaymentOnAccountAmount amount)
Set the amount property: Payment on Account amount. |
Methods inherited from java.lang.Object
Constructor Details
PaymentOnAccount
public PaymentOnAccount()
Creates an instance of PaymentOnAccount class.
Method Details
amount
public PaymentOnAccountAmount amount()
Get the amount property: Payment on Account amount.
Returns:
billingProfileDisplayName
public String billingProfileDisplayName()
Get the billingProfileDisplayName property: The name of the billing profile for the payments on account.
Returns:
billingProfileId
public String billingProfileId()
Get the billingProfileId property: The ID of the billing profile for the payments on account.
Returns:
date
public OffsetDateTime date()
Get the date property: The date of the payments on account.
Returns:
fromJson
public static PaymentOnAccount fromJson(JsonReader jsonReader)
Reads an instance of PaymentOnAccount from the JsonReader.
Parameters:
Returns:
Throws:
invoiceId
public String invoiceId()
Get the invoiceId property: The ID of the invoice for which the payments on account was generated.
Returns:
invoiceName
public String invoiceName()
Get the invoiceName property: The name of the invoice for the payments on account.
Returns:
paymentMethodType
public PaymentMethodFamily paymentMethodType()
Get the paymentMethodType property: Payment on Account type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAmount
public PaymentOnAccount withAmount(PaymentOnAccountAmount amount)
Set the amount property: Payment on Account amount.
Parameters:
Returns: