Record Class MInvoice.MatchingRecord

java.lang.Object
java.lang.Record
org.compiere.model.MInvoice.MatchingRecord
Enclosing class:
MInvoice

public static record MInvoice.MatchingRecord(int C_Invoice_ID, String documentNo, Timestamp documentDate, String businessPartnerName, int C_BPartner_ID, int line, int C_InvoiceLine_ID, String productName, int M_Product_ID, BigDecimal qtyInvoiced, BigDecimal matchedQty, String organizationName, int AD_Org_ID) extends Record
record for matchings
  • Constructor Summary

    Constructors
    Constructor
    Description
    MatchingRecord(int C_Invoice_ID, String documentNo, Timestamp documentDate, String businessPartnerName, int C_BPartner_ID, int line, int C_InvoiceLine_ID, String productName, int M_Product_ID, BigDecimal qtyInvoiced, BigDecimal matchedQty, String organizationName, int AD_Org_ID)
    Creates an instance of a MatchingRecord record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the AD_Org_ID record component.
    Returns the value of the businessPartnerName record component.
    int
    Returns the value of the C_BPartner_ID record component.
    int
    Returns the value of the C_Invoice_ID record component.
    int
    Returns the value of the C_InvoiceLine_ID record component.
    Returns the value of the documentDate record component.
    Returns the value of the documentNo record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    int
    Returns the value of the line record component.
    int
    Returns the value of the M_Product_ID record component.
    Returns the value of the matchedQty record component.
    Returns the value of the organizationName record component.
    Returns the value of the productName record component.
    Returns the value of the qtyInvoiced record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MatchingRecord

      public MatchingRecord(int C_Invoice_ID, String documentNo, Timestamp documentDate, String businessPartnerName, int C_BPartner_ID, int line, int C_InvoiceLine_ID, String productName, int M_Product_ID, BigDecimal qtyInvoiced, BigDecimal matchedQty, String organizationName, int AD_Org_ID)
      Creates an instance of a MatchingRecord record class.
      Parameters:
      C_Invoice_ID - the value for the C_Invoice_ID record component
      documentNo - the value for the documentNo record component
      documentDate - the value for the documentDate record component
      businessPartnerName - the value for the businessPartnerName record component
      C_BPartner_ID - the value for the C_BPartner_ID record component
      line - the value for the line record component
      C_InvoiceLine_ID - the value for the C_InvoiceLine_ID record component
      productName - the value for the productName record component
      M_Product_ID - the value for the M_Product_ID record component
      qtyInvoiced - the value for the qtyInvoiced record component
      matchedQty - the value for the matchedQty record component
      organizationName - the value for the organizationName record component
      AD_Org_ID - the value for the AD_Org_ID record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • C_Invoice_ID

      public int C_Invoice_ID()
      Returns the value of the C_Invoice_ID record component.
      Returns:
      the value of the C_Invoice_ID record component
    • documentNo

      public String documentNo()
      Returns the value of the documentNo record component.
      Returns:
      the value of the documentNo record component
    • documentDate

      public Timestamp documentDate()
      Returns the value of the documentDate record component.
      Returns:
      the value of the documentDate record component
    • businessPartnerName

      public String businessPartnerName()
      Returns the value of the businessPartnerName record component.
      Returns:
      the value of the businessPartnerName record component
    • C_BPartner_ID

      public int C_BPartner_ID()
      Returns the value of the C_BPartner_ID record component.
      Returns:
      the value of the C_BPartner_ID record component
    • line

      public int line()
      Returns the value of the line record component.
      Returns:
      the value of the line record component
    • C_InvoiceLine_ID

      public int C_InvoiceLine_ID()
      Returns the value of the C_InvoiceLine_ID record component.
      Returns:
      the value of the C_InvoiceLine_ID record component
    • productName

      public String productName()
      Returns the value of the productName record component.
      Returns:
      the value of the productName record component
    • M_Product_ID

      public int M_Product_ID()
      Returns the value of the M_Product_ID record component.
      Returns:
      the value of the M_Product_ID record component
    • qtyInvoiced

      public BigDecimal qtyInvoiced()
      Returns the value of the qtyInvoiced record component.
      Returns:
      the value of the qtyInvoiced record component
    • matchedQty

      public BigDecimal matchedQty()
      Returns the value of the matchedQty record component.
      Returns:
      the value of the matchedQty record component
    • organizationName

      public String organizationName()
      Returns the value of the organizationName record component.
      Returns:
      the value of the organizationName record component
    • AD_Org_ID

      public int AD_Org_ID()
      Returns the value of the AD_Org_ID record component.
      Returns:
      the value of the AD_Org_ID record component