Record Class EstatePricing.Priced
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.estate.EstatePricing.Priced
- Record Components:
line- the cost line, ornullreason- why it is unpriced, ornull
- Enclosing class:
EstatePricing
-
Constructor Summary
Constructors -
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.booleanisExact()Whether the price is live or contracted (exact), as opposed to reference or estimate.booleanisPriced()Whether a price was found.line()Returns the value of thelinerecord component.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Priced
-
-
Method Details
-
isPriced
public boolean isPriced()Whether a price was found.- Returns:
truewhen priced
-
isExact
public boolean isExact()Whether the price is live or contracted (exact), as opposed to reference or estimate.- Returns:
trueforEQUINIX_LIVE,CUSTOMorPROVIDER_API
-
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). -
line
-
reason
-