Record Class CalculoConsumoAdiantamento.ItemPedido
java.lang.Object
java.lang.Record
systextil.contasareceber.consumoadiantamento.CalculoConsumoAdiantamento.ItemPedido
- Enclosing class:
CalculoConsumoAdiantamento
public static record CalculoConsumoAdiantamento.ItemPedido(int pedido, int situacaoFatuIt, BigDecimal qtdeAFaturar)
extends Record
Item ativo do pedido de venda (
PEDI_110).-
Constructor Summary
ConstructorsConstructorDescriptionItemPedido(int pedido, int situacaoFatuIt, BigDecimal qtdeAFaturar) Creates an instance of aItemPedidorecord 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.intpedido()Returns the value of thepedidorecord component.Returns the value of theqtdeAFaturarrecord component.intReturns the value of thesituacaoFatuItrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ItemPedido
Creates an instance of aItemPedidorecord class.- Parameters:
pedido- the value for thepedidorecord componentsituacaoFatuIt- the value for thesituacaoFatuItrecord componentqtdeAFaturar- the value for theqtdeAFaturarrecord 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 '=='. -
pedido
public int pedido()Returns the value of thepedidorecord component.- Returns:
- the value of the
pedidorecord component
-
situacaoFatuIt
public int situacaoFatuIt()Returns the value of thesituacaoFatuItrecord component.- Returns:
- the value of the
situacaoFatuItrecord component
-
qtdeAFaturar
Returns the value of theqtdeAFaturarrecord component.- Returns:
- the value of the
qtdeAFaturarrecord component
-