Fix typo in query-methods-details.adoc.

Fix a typo: Priced => Product

Closes #3172
This commit is contained in:
Hosam Aly
2024-10-07 19:28:12 +01:00
committed by Mark Paluch
parent deb17c4540
commit 3b53f0e2e7

View File

@@ -171,7 +171,7 @@ class Products implements Streamable<Product> { <2>
public MonetaryAmount getTotal() { <3>
return streamable.stream()
.map(Priced::getPrice)
.map(Product::getPrice)
.reduce(Money.of(0), MonetaryAmount::add);
}