Class PricingReport
java.lang.Object
ai.redouble.demo.pricing.PricingReport
What the pricing run found: every product with its current price per audience and
currency and the history behind it, the costs the documents state, the mentions the
arithmetic could not use, one row per document read, and what the run spent.
- Since:
- 0.1 (2026-09-15)
- Author:
- Andrey Santrosyan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classOne document's row: what reading it produced and cost.static enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAsOf()intlongintgetSpend()voidvoidsetCanonicalizationNote(String canonicalizationNote) voidsetDocuments(List<PricingReport.DocumentOutcome> documents) voidsetDocumentsRead(int documentsRead) voidsetElapsedMs(long elapsedMs) voidsetGeneratedAt(String generatedAt) voidsetIgnored(List<PricePoint> ignored) voidsetMentionsFound(int mentionsFound) voidsetProducts(List<ProductPricing> products) voidvoidsetWorkflowId(String workflowId)
-
Constructor Details
-
PricingReport
public PricingReport()
-
-
Method Details
-
getWorkflowId
-
setWorkflowId
-
getGeneratedAt
-
setGeneratedAt
-
getAsOf
-
setAsOf
-
getElapsedMs
public long getElapsedMs() -
setElapsedMs
public void setElapsedMs(long elapsedMs) -
getDocumentsRead
public int getDocumentsRead() -
setDocumentsRead
public void setDocumentsRead(int documentsRead) -
getMentionsFound
public int getMentionsFound() -
setMentionsFound
public void setMentionsFound(int mentionsFound) -
getCanonicalizationNote
-
setCanonicalizationNote
-
getProducts
-
setProducts
-
getIgnored
-
setIgnored
-
getDocuments
-
setDocuments
-
getSpend
-
setSpend
-