Package com.eqixiac.equinix.design.value.ratecard
RateCard, whose lookups (connection,
Cloud Router, cloud egress, colocation) return Optional — an empty result
means "this card cannot price that item", which is deliberately distinct from a zero
price, so callers fall back to another source instead of treating unknown as free.
Cards are composed into a precedence chain with
RateCard.layered(...) — the first card that can price an item wins. The
conventional ordering is most-trusted first:
CustomRateCard (caller-supplied,
e.g. negotiated contract rates), then
EquinixRateCard (live Fabric
Pricing API, term-aware with labelled substitutions), then
ReferenceRateCard (bundled, dated
indicative figures). RateCard.standardChain(fabric) builds the default
live-then-reference chain the value models use when no card is supplied. Every
PriceQuote and
EgressRate carries its
PriceSource provenance and an
optional note flagging substitutions and extrapolations.
Two invariants hold across all cards: an unpriceable item yields empty, never a
fabricated $0; and quotes in different currencies are never combined — no FX rate is
ever invented (PriceQuote.plus throws on a currency mismatch, and the engines
route cross-card sums through CurrencyReconciler).
- See Also:
-
ClassDescriptionAn Equinix colocation cost primitive that a
RateCardcan price — alongside the interconnection rates (connection / cloud router / egress).ARateCardwhose prices are supplied by the caller — e.g.Fluent builder for aCustomRateCard.The network path data egress takes when leaving a cloud provider.A usage-based data-egress price expressed per gigabyte, tagged with itsPriceSource.ARateCardbacked by the live Equinix Fabric Pricing API (fabric.prices()); the authoritative source of Equinix-side connection and Cloud Router prices for the cost, savings, and TCO models.An immutable price for a single resource, split into its monthly-recurring (MRC) and non-recurring (one-time setup, NRC) components, tagged with thePriceSourceit was resolved from.Identifies where aPriceQuotecame from, so every number in a cost estimate or savings calculation is traceable to its origin and disclaimed appropriately.A source of unit prices for the design-time cost, savings, and TCO models.ARateCardbacked by a bundled, dated table of indicative reference figures — published cloud-provider egress rates, interconnect port fees, and on-prem/colocation midpoints — compiled so the value-realization models work out of the box without a live connection or caller-supplied rates.Commitment term for a priced resource.