Record Class CatalogoApi.ErogatoreCompatibile
java.lang.Object
java.lang.Record
it.unina.picus.catalogo.api.CatalogoApi.ErogatoreCompatibile
- Record Components:
accountId- account organizzativo OPT o personale dell'operatorenomeVisualizzato- nome dell'erogatore mostrato al Bancotipo- tipologia funzionale dell'erogatorecomuneCodice- comune o territorio di riferimento dell'erogatoreambito- relazione territoriale o opzione di erogazione a distanza
- Enclosing interface:
CatalogoApi
public static record CatalogoApi.ErogatoreCompatibile(UUID accountId, String nomeVisualizzato, UtenzeApi.TipoErogatore tipo, String comuneCodice, CatalogoApi.AmbitoErogazione ambito)
extends Record
Opzione di erogazione compatibile con la misura e il territorio.
-
Constructor Summary
ConstructorsConstructorDescriptionErogatoreCompatibile(UUID accountId, String nomeVisualizzato, UtenzeApi.TipoErogatore tipo, String comuneCodice, CatalogoApi.AmbitoErogazione ambito) Creates an instance of aErogatoreCompatibilerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdrecord component.ambito()Returns the value of theambitorecord component.Returns the value of thecomuneCodicerecord 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 thenomeVisualizzatorecord component.tipo()Returns the value of thetiporecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ErogatoreCompatibile
public ErogatoreCompatibile(UUID accountId, String nomeVisualizzato, UtenzeApi.TipoErogatore tipo, String comuneCodice, CatalogoApi.AmbitoErogazione ambito) Creates an instance of aErogatoreCompatibilerecord class.- Parameters:
accountId- the value for theaccountIdrecord componentnomeVisualizzato- the value for thenomeVisualizzatorecord componenttipo- the value for thetiporecord componentcomuneCodice- the value for thecomuneCodicerecord componentambito- the value for theambitorecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
accountId
-
nomeVisualizzato
Returns the value of thenomeVisualizzatorecord component.- Returns:
- the value of the
nomeVisualizzatorecord component
-
tipo
-
comuneCodice
Returns the value of thecomuneCodicerecord component.- Returns:
- the value of the
comuneCodicerecord component
-
ambito
-