from Discovery Event Response
fun fromDiscoveryEventResponse(body: DiscoveryEventDetailsResponse, marketDomain: TMMarketDomain): DiscoveryEvent
Maps an event details response to a DiscoveryEvent object.
This method delegates to eventMapper to transform a com.ticketmaster.discoveryapi.DiscoveryEventDetailsResponse into a DiscoveryEvent object, incorporating the specified market domain.
Return
A DiscoveryEvent object populated with the mapped data.
Parameters
body
The event details response from the API.
market Domain
The market domain for the event.