ReservationOrderBillingPlanInformation Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. ReservationOrderBillingPlanInformation
- com.
Implements
public final class ReservationOrderBillingPlanInformation
implements JsonSerializable<ReservationOrderBillingPlanInformation>
Information describing the type of billing plan for this reservation order.
Constructor Summary
| Constructor | Description |
|---|---|
| ReservationOrderBillingPlanInformation() |
Creates an instance of Reservation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Reservation |
fromJson(JsonReader jsonReader)
Reads an instance of Reservation |
|
Local |
nextPaymentDueDate()
Get the next |
| Price |
pricingCurrencyTotal()
Get the pricing |
|
Local |
startDate()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
|
List<Reservation |
transactions()
Get the transactions property: The transactions property. |
| void |
validate()
Validates the instance. |
|
Reservation |
withNextPaymentDueDate(LocalDate nextPaymentDueDate)
Set the next |
|
Reservation |
withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricing |
|
Reservation |
withStartDate(LocalDate startDate)
Set the start |
|
Reservation |
withTransactions(List<ReservationPaymentDetail> transactions)
Set the transactions property: The transactions property. |
Methods inherited from java.lang.Object
Constructor Details
ReservationOrderBillingPlanInformation
public ReservationOrderBillingPlanInformation()
Creates an instance of ReservationOrderBillingPlanInformation class.
Method Details
fromJson
public static ReservationOrderBillingPlanInformation fromJson(JsonReader jsonReader)
Reads an instance of ReservationOrderBillingPlanInformation 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<ReservationPaymentDetail> transactions()
Get the transactions property: The transactions property.
Returns:
validate
public void validate()
Validates the instance.
withNextPaymentDueDate
public ReservationOrderBillingPlanInformation 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 ReservationOrderBillingPlanInformation withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricingCurrencyTotal property: Amount of money to be paid for the Order. Tax is not included.
Parameters:
Returns:
withStartDate
public ReservationOrderBillingPlanInformation withStartDate(LocalDate startDate)
Set the startDate property: Date when the billing plan has started.
Parameters:
Returns:
withTransactions
public ReservationOrderBillingPlanInformation withTransactions(List<ReservationPaymentDetail> transactions)
Set the transactions property: The transactions property.
Parameters:
Returns: