Class BillingPlanInformation
java.lang.Object
com.azure.resourcemanager.billingbenefits.models.BillingPlanInformation
Information describing the type of billing plan for this savings plan.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BillingPlanInformation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the nextPaymentDueDate property: For recurring billing plans, indicates the date when next payment will be processed.Get the pricingCurrencyTotal property: Amount of money to be paid for the Order.Get the startDate property: Date when the billing plan has started.Get the transactions property: The transactions property.void
validate()
Validates the instance.withNextPaymentDueDate
(LocalDate nextPaymentDueDate) Set the nextPaymentDueDate property: For recurring billing plans, indicates the date when next payment will be processed.withPricingCurrencyTotal
(Price pricingCurrencyTotal) Set the pricingCurrencyTotal property: Amount of money to be paid for the Order.withStartDate
(LocalDate startDate) Set the startDate property: Date when the billing plan has started.withTransactions
(List<PaymentDetail> transactions) Set the transactions property: The transactions property.
-
Constructor Details
-
BillingPlanInformation
public BillingPlanInformation()Creates an instance of BillingPlanInformation class.
-
-
Method Details
-
pricingCurrencyTotal
Get the pricingCurrencyTotal property: Amount of money to be paid for the Order. Tax is not included.- Returns:
- the pricingCurrencyTotal value.
-
withPricingCurrencyTotal
Set the pricingCurrencyTotal property: Amount of money to be paid for the Order. Tax is not included.- Parameters:
pricingCurrencyTotal
- the pricingCurrencyTotal value to set.- Returns:
- the BillingPlanInformation object itself.
-
startDate
Get the startDate property: Date when the billing plan has started.- Returns:
- the startDate value.
-
withStartDate
Set the startDate property: Date when the billing plan has started.- Parameters:
startDate
- the startDate value to set.- Returns:
- the BillingPlanInformation object itself.
-
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:
- the nextPaymentDueDate value.
-
withNextPaymentDueDate
Set the nextPaymentDueDate property: For recurring billing plans, indicates the date when next payment will be processed. Null when total is paid off.- Parameters:
nextPaymentDueDate
- the nextPaymentDueDate value to set.- Returns:
- the BillingPlanInformation object itself.
-
transactions
Get the transactions property: The transactions property.- Returns:
- the transactions value.
-
withTransactions
Set the transactions property: The transactions property.- Parameters:
transactions
- the transactions value to set.- Returns:
- the BillingPlanInformation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-