Package systextil.faturamento.memoriafci
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 Summary
ConstructorsConstructorDescriptionCalculo(int seqItemPedido, systextil.dao.CodProduto produto, BigDecimal percentualFci, BigDecimal percentualNatureza, BigDecimal percentualAplicado, BigDecimal quantidade, BigDecimal valorUnitario, BigDecimal valorFci, String numeroFci) Creates an instance of aCalculorecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenumeroFcirecord component.Returns the value of thepercentualAplicadorecord component.Returns the value of thepercentualFcirecord component.Returns the value of thepercentualNaturezarecord component.systextil.dao.CodProdutoproduto()Returns the value of theprodutorecord component.Returns the value of thequantidaderecord component.intReturns the value of theseqItemPedidorecord component.final StringtoString()Returns a string representation of this record class.valorFci()Returns the value of thevalorFcirecord component.Returns the value of thevalorUnitariorecord component.
-
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 aCalculorecord class.- Parameters:
seqItemPedido- the value for theseqItemPedidorecord componentproduto- the value for theprodutorecord componentpercentualFci- the value for thepercentualFcirecord componentpercentualNatureza- the value for thepercentualNaturezarecord componentpercentualAplicado- the value for thepercentualAplicadorecord componentquantidade- the value for thequantidaderecord componentvalorUnitario- the value for thevalorUnitariorecord componentvalorFci- the value for thevalorFcirecord componentnumeroFci- the value for thenumeroFcirecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
seqItemPedido
public int seqItemPedido()Returns the value of theseqItemPedidorecord component.- Returns:
- the value of the
seqItemPedidorecord component
-
produto
public systextil.dao.CodProduto produto()Returns the value of theprodutorecord component.- Returns:
- the value of the
produtorecord component
-
percentualFci
Returns the value of thepercentualFcirecord component.- Returns:
- the value of the
percentualFcirecord component
-
percentualNatureza
Returns the value of thepercentualNaturezarecord component.- Returns:
- the value of the
percentualNaturezarecord component
-
percentualAplicado
Returns the value of thepercentualAplicadorecord component.- Returns:
- the value of the
percentualAplicadorecord component
-
quantidade
Returns the value of thequantidaderecord component.- Returns:
- the value of the
quantidaderecord component
-
valorUnitario
Returns the value of thevalorUnitariorecord component.- Returns:
- the value of the
valorUnitariorecord component
-
valorFci
Returns the value of thevalorFcirecord component.- Returns:
- the value of the
valorFcirecord component
-
numeroFci
Returns the value of thenumeroFcirecord component.- Returns:
- the value of the
numeroFcirecord component
-