BillingPlanInformation Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. BillingPlanInformation
- com.
Implements
public final class BillingPlanInformation
implements JsonSerializable<BillingPlanInformation>
Information describing the type of billing plan for this savings plan.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingPlanInformation() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
|
Local |
nextPaymentDueDate()
Get the next |
| Price |
pricingCurrencyTotal()
Get the pricing |
|
Local |
startDate()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
|
List<Payment |
transactions()
Get the transactions property: The transactions property. |
| void |
validate()
Validates the instance. |
|
Billing |
withNextPaymentDueDate(LocalDate nextPaymentDueDate)
Set the next |
|
Billing |
withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricing |
|
Billing |
withStartDate(LocalDate startDate)
Set the start |
|
Billing |
withTransactions(List<PaymentDetail> transactions)
Set the transactions property: The transactions property. |
Methods inherited from java.lang.Object
Constructor Details
BillingPlanInformation
public BillingPlanInformation()
Creates an instance of BillingPlanInformation class.
Method Details
fromJson
public static BillingPlanInformation fromJson(JsonReader jsonReader)
Reads an instance of BillingPlanInformation from the JsonReader.
Parameters:
Returns:
Throws:
nextPaymentDueDate
public LocalDate nextPaymentDueDate()
Get the nextPaymentDueDate property: For recurring billing plans, indicates the date when next payment will be processed. Null when total is paid off.
Returns:
pricingCurrencyTotal
public Price pricingCurrencyTotal()
Get the pricingCurrencyTotal property: Amount of money to be paid for the Order. Tax is not included.
Returns:
startDate
public LocalDate startDate()
Get the startDate property: Date when the billing plan has started.
Returns:
toJson
transactions
public List<PaymentDetail> transactions()
Get the transactions property: The transactions property.
Returns:
validate
public void validate()
Validates the instance.
withNextPaymentDueDate
public BillingPlanInformation withNextPaymentDueDate(LocalDate nextPaymentDueDate)
Set the nextPaymentDueDate property: For recurring billing plans, indicates the date when next payment will be processed. Null when total is paid off.
Parameters:
Returns:
withPricingCurrencyTotal
public BillingPlanInformation withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricingCurrencyTotal property: Amount of money to be paid for the Order. Tax is not included.
Parameters:
Returns:
withStartDate
public BillingPlanInformation withStartDate(LocalDate startDate)
Set the startDate property: Date when the billing plan has started.
Parameters:
Returns:
withTransactions
public BillingPlanInformation withTransactions(List<PaymentDetail> transactions)
Set the transactions property: The transactions property.
Parameters:
Returns: