Class PaymentDetail
java.lang.Object
com.azure.resourcemanager.billingbenefits.models.PaymentDetail
Information about payment related to a savings plan order.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the billingAccount property: Billing account.Get the billingCurrencyTotal property: Amount charged in Billing currency.dueDate()
Get the dueDate property: Date when the payment needs to be done.Get the extendedStatusInfo property: The extendedStatusInfo property.Get the paymentDate property: Date when the transaction is completed.Get the pricingCurrencyTotal property: Amount in pricing currency.status()
Get the status property: Describes whether the payment is completed, failed, cancelled or scheduled in the future.void
validate()
Validates the instance.withBillingAccount
(String billingAccount) Set the billingAccount property: Billing account.withBillingCurrencyTotal
(Price billingCurrencyTotal) Set the billingCurrencyTotal property: Amount charged in Billing currency.withDueDate
(LocalDate dueDate) Set the dueDate property: Date when the payment needs to be done.withPaymentDate
(LocalDate paymentDate) Set the paymentDate property: Date when the transaction is completed.withPricingCurrencyTotal
(Price pricingCurrencyTotal) Set the pricingCurrencyTotal property: Amount in pricing currency.withStatus
(PaymentStatus status) Set the status property: Describes whether the payment is completed, failed, cancelled or scheduled in the future.
-
Constructor Details
-
PaymentDetail
public PaymentDetail()Creates an instance of PaymentDetail class.
-
-
Method Details
-
dueDate
Get the dueDate property: Date when the payment needs to be done.- Returns:
- the dueDate value.
-
withDueDate
Set the dueDate property: Date when the payment needs to be done.- Parameters:
dueDate
- the dueDate value to set.- Returns:
- the PaymentDetail object itself.
-
paymentDate
Get the paymentDate property: Date when the transaction is completed. Is null when it is scheduled.- Returns:
- the paymentDate value.
-
withPaymentDate
Set the paymentDate property: Date when the transaction is completed. Is null when it is scheduled.- Parameters:
paymentDate
- the paymentDate value to set.- Returns:
- the PaymentDetail object itself.
-
pricingCurrencyTotal
Get the pricingCurrencyTotal property: Amount in pricing currency. Tax not included.- Returns:
- the pricingCurrencyTotal value.
-
withPricingCurrencyTotal
Set the pricingCurrencyTotal property: Amount in pricing currency. Tax not included.- Parameters:
pricingCurrencyTotal
- the pricingCurrencyTotal value to set.- Returns:
- the PaymentDetail object itself.
-
billingCurrencyTotal
Get the billingCurrencyTotal property: Amount charged in Billing currency. Tax not included. Is null for future payments.- Returns:
- the billingCurrencyTotal value.
-
withBillingCurrencyTotal
Set the billingCurrencyTotal property: Amount charged in Billing currency. Tax not included. Is null for future payments.- Parameters:
billingCurrencyTotal
- the billingCurrencyTotal value to set.- Returns:
- the PaymentDetail object itself.
-
status
Get the status property: Describes whether the payment is completed, failed, cancelled or scheduled in the future.- Returns:
- the status value.
-
withStatus
Set the status property: Describes whether the payment is completed, failed, cancelled or scheduled in the future.- Parameters:
status
- the status value to set.- Returns:
- the PaymentDetail object itself.
-
extendedStatusInfo
Get the extendedStatusInfo property: The extendedStatusInfo property.- Returns:
- the extendedStatusInfo value.
-
billingAccount
Get the billingAccount property: Billing account.- Returns:
- the billingAccount value.
-
withBillingAccount
Set the billingAccount property: Billing account.- Parameters:
billingAccount
- the billingAccount value to set.- Returns:
- the PaymentDetail object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-