java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.billing.Bill.LineItem
Enclosing class:
Bill

public static class Bill.LineItem extends Object
Represents a chargeable line on a bill.
  • Constructor Details

  • Method Details

    • id

      public String id()
      The opaque ID of this
    • description

      public String description()
      The string description of this - used for display purposes
    • amount

      public BigDecimal amount()
      The dollar amount of this
    • plan

      public String plan()
      The plan used to calculate amount of this
    • agent

      public String agent()
      Who created this line item
    • addedAt

      public ZonedDateTime addedAt()
      When was this line item added
    • startedAt

      public Optional<ZonedDateTime> startedAt()
      What time period is this line item for - time start
    • endedAt

      public Optional<ZonedDateTime> endedAt()
      What time period is this line item for - time end
    • applicationId

      public Optional<com.yahoo.config.provision.ApplicationId> applicationId()
      Optionally - what application is this line item about
    • zoneId

      public Optional<com.yahoo.config.provision.zone.ZoneId> zoneId()
      Optionally - what zone deployment is this line item about
    • getCpuHours

      public Optional<BigDecimal> getCpuHours()
    • getMemoryHours

      public Optional<BigDecimal> getMemoryHours()
    • getDiskHours

      public Optional<BigDecimal> getDiskHours()
    • getCpuCost

      public Optional<BigDecimal> getCpuCost()
    • getMemoryCost

      public Optional<BigDecimal> getMemoryCost()
    • getDiskCost

      public Optional<BigDecimal> getDiskCost()
    • getArchitecture

      public Optional<com.yahoo.config.provision.NodeResources.Architecture> getArchitecture()
    • getMajorVersion

      public int getMajorVersion()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object