Record Class AcceptedCountries.TaxType
java.lang.Object
java.lang.Record
com.yahoo.vespa.hosted.controller.api.integration.billing.AcceptedCountries.TaxType
- Enclosing class:
- AcceptedCountries
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.example()Returns the value of theexamplerecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.pattern()Returns the value of thepatternrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TaxType
Creates an instance of aTaxTyperecord class.- Parameters:
id- the value for theidrecord componentdescription- the value for thedescriptionrecord componentpattern- the value for thepatternrecord componentexample- the value for theexamplerecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord component
-
example
Returns the value of theexamplerecord component.- Returns:
- the value of the
examplerecord component
-