Package 

Class DaroAdRequest


  • 
    public final class DaroAdRequest
    
                        

    The built, transport-ready value (contract §6.4, D-D / req2).

    Carries the canonical OrtbRequest (internal semantics), the canonical OpenRTB JsonValue tree, and ONE selected internal DaroWireAdRequest whose body was computed exactly once at build time. The network service sends wire.body AS-IS — it never inspects canonical to choose an encoding and never re-runs canonical→compat serialization.

    req3 / D-E: this type is part of the public cross-module seam (default Kotlin visibility = public). canonical and wire stay internal because external callers should not inspect or assemble outbound payloads. The primary constructor is internal (it takes the internal OrtbRequest) so the builder is the only constructor — external code only receives a DaroAdRequest produced by build(...).