Record Class ComparacaoMemoriaFci.Calculo

java.lang.Object
java.lang.Record
systextil.faturamento.memoriafci.ComparacaoMemoriaFci.Calculo
Enclosing class:
ComparacaoMemoriaFci

public static record ComparacaoMemoriaFci.Calculo(int seqItemPedido, systextil.dao.CodProduto produto, BigDecimal percentualFci, BigDecimal percentualNatureza, BigDecimal percentualAplicado, BigDecimal quantidade, BigDecimal valorUnitario, BigDecimal valorFci, String numeroFci) extends Record
Desconto de FCI de uma linha da PEDI_113 do item, na solicitação atual.
  • Constructor Details

    • Calculo

      public Calculo(int seqItemPedido, systextil.dao.CodProduto produto, BigDecimal percentualFci, BigDecimal percentualNatureza, BigDecimal percentualAplicado, BigDecimal quantidade, BigDecimal valorUnitario, BigDecimal valorFci, String numeroFci)
      Creates an instance of a Calculo record class.
      Parameters:
      seqItemPedido - the value for the seqItemPedido record component
      produto - the value for the produto record component
      percentualFci - the value for the percentualFci record component
      percentualNatureza - the value for the percentualNatureza record component
      percentualAplicado - the value for the percentualAplicado record component
      quantidade - the value for the quantidade record component
      valorUnitario - the value for the valorUnitario record component
      valorFci - the value for the valorFci record component
      numeroFci - the value for the numeroFci 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.
    • seqItemPedido

      public int seqItemPedido()
      Returns the value of the seqItemPedido record component.
      Returns:
      the value of the seqItemPedido record component
    • produto

      public systextil.dao.CodProduto produto()
      Returns the value of the produto record component.
      Returns:
      the value of the produto record component
    • percentualFci

      public BigDecimal percentualFci()
      Returns the value of the percentualFci record component.
      Returns:
      the value of the percentualFci record component
    • percentualNatureza

      public BigDecimal percentualNatureza()
      Returns the value of the percentualNatureza record component.
      Returns:
      the value of the percentualNatureza record component
    • percentualAplicado

      public BigDecimal percentualAplicado()
      Returns the value of the percentualAplicado record component.
      Returns:
      the value of the percentualAplicado record component
    • quantidade

      public BigDecimal quantidade()
      Returns the value of the quantidade record component.
      Returns:
      the value of the quantidade record component
    • valorUnitario

      public BigDecimal valorUnitario()
      Returns the value of the valorUnitario record component.
      Returns:
      the value of the valorUnitario record component
    • valorFci

      public BigDecimal valorFci()
      Returns the value of the valorFci record component.
      Returns:
      the value of the valorFci record component
    • numeroFci

      public String numeroFci()
      Returns the value of the numeroFci record component.
      Returns:
      the value of the numeroFci record component