Interface InvoiceItem

    • Method Detail

      • getInvoiceId

        UUID getInvoiceId()
      • getAccountId

        UUID getAccountId()
      • getChildAccountId

        UUID getChildAccountId()
        Returns:
        the child account id if this item is part of a parent invoice
      • getStartDate

        org.joda.time.LocalDate getStartDate()
        Returns:
        the service period start date for that item, in the account timezone
      • getEndDate

        org.joda.time.LocalDate getEndDate()
        The end date of an item can be null (e.g. for fixed price items).
        Returns:
        the service period end date for that item (if available), in the account timezone
      • getDescription

        String getDescription()
      • getBundleId

        UUID getBundleId()
      • getSubscriptionId

        UUID getSubscriptionId()
      • getProductName

        String getProductName()
      • getPrettyProductName

        String getPrettyProductName()
      • getPlanName

        String getPlanName()
      • getPrettyPlanName

        String getPrettyPlanName()
      • getPhaseName

        String getPhaseName()
      • getPrettyPhaseName

        String getPrettyPhaseName()
      • getUsageName

        String getUsageName()
      • getPrettyUsageName

        String getPrettyUsageName()
      • getLinkedItemId

        UUID getLinkedItemId()
      • getItemDetails

        String getItemDetails()
      • getCatalogEffectiveDate

        org.joda.time.DateTime getCatalogEffectiveDate()
      • matches

        boolean matches​(Object other)
        Items match if they correspond to the same subscription for the same catalog plan and same start / end dates
        Returns:
        true if current and other items match