Record Class PriceHistory.Result
java.lang.Object
java.lang.Record
ai.redouble.demo.pricing.PriceHistory.Result
- Enclosing class:
PriceHistory
public static record PriceHistory.Result(List<ProductPricing> products, List<PricePoint> ignored)
extends Record
What the reconciliation produced: the products, and the mentions it could not use.
- Since:
- 0.1 (2026-09-15)
- Author:
- Andrey Santrosyan
-
Constructor Summary
ConstructorsConstructorDescriptionResult(List<ProductPricing> products, List<PricePoint> ignored) Creates an instance of aResultrecord 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.ignored()Returns the value of theignoredrecord component.products()Returns the value of theproductsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
Creates an instance of aResultrecord class.- Parameters:
products- the value for theproductsrecord componentignored- the value for theignoredrecord 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). -
products
Returns the value of theproductsrecord component.- Returns:
- the value of the
productsrecord component
-
ignored
Returns the value of theignoredrecord component.- Returns:
- the value of the
ignoredrecord component
-