Class CreditNoteLineItem


  • public final class CreditNoteLineItem
    extends java.lang.Object
    • Method Detail

      • getId

        public java.util.Optional<java.lang.String> getId()
      • getRemoteId

        public java.util.Optional<java.lang.String> getRemoteId()
        Returns:
        The third-party API ID of the matching object.
      • getCreatedAt

        public java.util.Optional<java.time.OffsetDateTime> getCreatedAt()
        Returns:
        The datetime that this object was created by Merge.
      • getModifiedAt

        public java.util.Optional<java.time.OffsetDateTime> getModifiedAt()
        Returns:
        The datetime that this object was modified by Merge.
      • getName

        public java.util.Optional<java.lang.String> getName()
        Returns:
        The credit note line item's name.
      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        Returns:
        The description of the item that is owed.
      • getQuantity

        public java.util.Optional<java.lang.String> getQuantity()
        Returns:
        The credit note line item's quantity.
      • getMemo

        public java.util.Optional<java.lang.String> getMemo()
        Returns:
        The credit note line item's memo.
      • getUnitPrice

        public java.util.Optional<java.lang.String> getUnitPrice()
        Returns:
        The credit note line item's unit price.
      • getTaxRate

        public java.util.Optional<java.lang.String> getTaxRate()
        Returns:
        The tax rate that applies to this line item.
      • getTotalLineAmount

        public java.util.Optional<java.lang.String> getTotalLineAmount()
        Returns:
        The credit note line item's total.
      • getTrackingCategory

        public java.util.Optional<java.lang.String> getTrackingCategory()
        Returns:
        The credit note line item's associated tracking category.
      • getTrackingCategories

        public java.util.Optional<java.util.List<java.util.Optional<java.lang.String>>> getTrackingCategories()
        Returns:
        The credit note line item's associated tracking categories.
      • getAccount

        public java.util.Optional<java.lang.String> getAccount()
        Returns:
        The credit note line item's account.
      • getCompany

        public java.util.Optional<CreditNoteLineItemCompany> getCompany()
        Returns:
        The company the credit note belongs to.
      • getRemoteWasDeleted

        public java.util.Optional<java.lang.Boolean> getRemoteWasDeleted()
        Returns:
        Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object