Class Invoice


  • public class Invoice
    extends java.lang.Object
    An Invoice is an identifier with a status (with history) and line items. A line item is the meat and potatoes of the content of the invoice, and are a history of items. Most line items are connected to a given deployment in Vespa Cloud, but they can also be manually added to e.g. give a discount or represent support.

    All line items have a Plan associated with them - which was used to map from utilization to an actual price.

    The invoice has a status history, but only the latest status is exposed through this API.

    Author:
    ogronnesby
    • Method Detail

      • status

        public java.lang.String status()
      • getStartTime

        public java.time.ZonedDateTime getStartTime()
      • getEndTime

        public java.time.ZonedDateTime getEndTime()
      • sum

        public java.math.BigDecimal sum()