Package systextil.services.sph
Record Class SendDiscountInstructionPayload
java.lang.Object
java.lang.Record
systextil.services.sph.SendDiscountInstructionPayload
-
Constructor Summary
ConstructorsConstructorDescriptionSendDiscountInstructionPayload(String componentName, Integer empresa, String empresaCNPJ, String numeroReferencia, br.com.intersys.systextil.connection.Amount discountValue) Creates an instance of aSendDiscountInstructionPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomponentNamerecord component.br.com.intersys.systextil.connection.AmountReturns the value of thediscountValuerecord component.empresa()Returns the value of theempresarecord component.Returns the value of theempresaCNPJrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenumeroReferenciarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SendDiscountInstructionPayload
public SendDiscountInstructionPayload(String componentName, Integer empresa, String empresaCNPJ, String numeroReferencia, br.com.intersys.systextil.connection.Amount discountValue) Creates an instance of aSendDiscountInstructionPayloadrecord class.- Parameters:
componentName- the value for thecomponentNamerecord componentempresa- the value for theempresarecord componentempresaCNPJ- the value for theempresaCNPJrecord componentnumeroReferencia- the value for thenumeroReferenciarecord componentdiscountValue- the value for thediscountValuerecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
componentName
Returns the value of thecomponentNamerecord component.- Returns:
- the value of the
componentNamerecord component
-
empresa
Returns the value of theempresarecord component.- Returns:
- the value of the
empresarecord component
-
empresaCNPJ
Returns the value of theempresaCNPJrecord component.- Returns:
- the value of the
empresaCNPJrecord component
-
numeroReferencia
Returns the value of thenumeroReferenciarecord component.- Returns:
- the value of the
numeroReferenciarecord component
-
discountValue
public br.com.intersys.systextil.connection.Amount discountValue()Returns the value of thediscountValuerecord component.- Returns:
- the value of the
discountValuerecord component
-