java.lang.Object
com.azure.resourcemanager.billingbenefits.models.PaymentDetail

public final class PaymentDetail extends Object
Information about payment related to a savings plan order.
  • Constructor Details

    • PaymentDetail

      public PaymentDetail()
      Creates an instance of PaymentDetail class.
  • Method Details

    • dueDate

      public LocalDate dueDate()
      Get the dueDate property: Date when the payment needs to be done.
      Returns:
      the dueDate value.
    • withDueDate

      public PaymentDetail withDueDate(LocalDate dueDate)
      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

      public LocalDate paymentDate()
      Get the paymentDate property: Date when the transaction is completed. Is null when it is scheduled.
      Returns:
      the paymentDate value.
    • withPaymentDate

      public PaymentDetail withPaymentDate(LocalDate paymentDate)
      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

      public Price pricingCurrencyTotal()
      Get the pricingCurrencyTotal property: Amount in pricing currency. Tax not included.
      Returns:
      the pricingCurrencyTotal value.
    • withPricingCurrencyTotal

      public PaymentDetail withPricingCurrencyTotal(Price pricingCurrencyTotal)
      Set the pricingCurrencyTotal property: Amount in pricing currency. Tax not included.
      Parameters:
      pricingCurrencyTotal - the pricingCurrencyTotal value to set.
      Returns:
      the PaymentDetail object itself.
    • billingCurrencyTotal

      public Price billingCurrencyTotal()
      Get the billingCurrencyTotal property: Amount charged in Billing currency. Tax not included. Is null for future payments.
      Returns:
      the billingCurrencyTotal value.
    • withBillingCurrencyTotal

      public PaymentDetail withBillingCurrencyTotal(Price billingCurrencyTotal)
      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

      public PaymentStatus status()
      Get the status property: Describes whether the payment is completed, failed, cancelled or scheduled in the future.
      Returns:
      the status value.
    • withStatus

      public PaymentDetail withStatus(PaymentStatus status)
      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

      public ExtendedStatusInfo extendedStatusInfo()
      Get the extendedStatusInfo property: The extendedStatusInfo property.
      Returns:
      the extendedStatusInfo value.
    • billingAccount

      public String billingAccount()
      Get the billingAccount property: Billing account.
      Returns:
      the billingAccount value.
    • withBillingAccount

      public PaymentDetail withBillingAccount(String billingAccount)
      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.